Giter Club home page Giter Club logo

Comments (7)

bkueng avatar bkueng commented on August 16, 2024

#44 should at least solve your first issue. Can you test it?

from jmavsim.

sytelus avatar sytelus commented on August 16, 2024

Looks like @lovettchris already tried this change #41. BTW, the reason GPS is 0,0 because lat and lon fields of HIL_STATE_QATERNION are not set. Also alt is set wrongly to z instead of projected value of z.

from jmavsim.

sytelus avatar sytelus commented on August 16, 2024

@kd0aij, @bkueng I think I now understand the purpose of HIL_STATE_QUATERNION . So basically, HIL can be used in two modes: (1) "state-level" mode (2) "sensor-level" mode. In Mode 1, pose estimation is disabled. This mode is useful for high throughput simulation where you don't care about errors from sensors. Mode 2 is normal simulation mode where pose estimation is enabled. Mode 2 should be the default and should be used majority of the times. So basically jMavSim should provide a command line switch to select one of these two modes instead of always sending HIL_STATE_QUATERNION all the time as it is doing now and thus always enforcing Mode 1.

Reference: https://pixhawk.org/dev/hil/start

from jmavsim.

bkueng avatar bkueng commented on August 16, 2024

The reference is outdated and I don't think we support state-level HIL anymore. As I wrote in #41 (comment), HIL_STATE_QUATERNION is only used for logging.

from jmavsim.

julianoes avatar julianoes commented on August 16, 2024

@bkueng do we still need this for logging? #82 would not be needed then.

from jmavsim.

bkueng avatar bkueng commented on August 16, 2024

Yes it is, as it provides the ground-truth.

from jmavsim.

julianoes avatar julianoes commented on August 16, 2024

Ah ok.

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.