Giter Club home page Giter Club logo

Comments (12)

kd0aij avatar kd0aij commented on July 17, 2024

Can you provide a log generated by sdlog2 or the new logger?
Do you see the same problems in SITL?

from jmavsim.

bkueng avatar bkueng commented on July 17, 2024

I was able to reproduce, it climbes with HITL, but not with SITL.
But I'm not sure if changing the mass is the right solution. @kd0aij can you reproduce?

from jmavsim.

kd0aij avatar kd0aij commented on July 17, 2024

Do you get no flight log with HIL? It would be less work for me to analyze a log than to set up a HIL run.

from jmavsim.

bkueng avatar bkueng commented on July 17, 2024

I thought you had this working. Here's a log: http://logs.uaventure.com/view/ZXXowDSpCugMJXjoLfHN4X

from jmavsim.

kd0aij avatar kd0aij commented on July 17, 2024

Wow, that log has no data on thrust, RC inputs or actuator outputs. As far as I can tell nothing should be happening at all.

from jmavsim.

kd0aij avatar kd0aij commented on July 17, 2024

@sytelus I don't know how you're commanding the thrust level in your HIL setup, but the mavlink log shows that the only non-zero actuator_control_target is 0.68. If that's the thrust level, then it's no wonder that the quad is taking off.

from jmavsim.

sytelus avatar sytelus commented on July 17, 2024

I'm not doing anything about commanding the thrust level. My setup is everything with its defaults. After launching jMavLink, I just go to qGroundControl and arm the vehicle. That's all I do. The problem is reproducible even if you don't connect RC to pixhawk board.

One thing that is different in HIL and SITL is airframe. For HIL, I set the Airframe to Simulation > HIL Quadcopter X. For SITL, I think the default airframe is something else.

from jmavsim.

kd0aij avatar kd0aij commented on July 17, 2024

Then neither one of us knows what thrust level has been commanded. Why do you expect it to stay on the ground then?

from jmavsim.

sytelus avatar sytelus commented on July 17, 2024

As I'd mentioned, I'm using qGroundControl to arm the vehicle by sliding the switch. There is nothing else I'm doing to send any thrust commands. My setup is simple HIL with everything default. The only additional thing is setting airframe to Simulation > HIL Quadrotor X as per the readme instructions. It is clear that problem is not occurring without your change and is occurring with your change. I would suggest to test your changes with HIL first and then push your changes.

from jmavsim.

mhkabir avatar mhkabir commented on July 17, 2024

The the difference here is that @sytelus and the others having issues don't have an RC unit or other input. @kd0aij has an RC connected.

@kd0aij could you check the behaviour without any RC input?

from jmavsim.

julianoes avatar julianoes commented on July 17, 2024

This is nothing about a wrong mass but the issue is that the actuator scaling is wrong (or at least different for SITL vs. HITL right now.

A fix is coming up: #45, PX4/PX4-Autopilot#5716.

from jmavsim.

LorenzMeier avatar LorenzMeier commented on July 17, 2024

Fixed.

from jmavsim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.