PX4 / jMAVSim

Simple multirotor simulator with MAVLink protocol support
BSD 3-Clause "New" or "Revised" License
82 stars 207 forks source link

display only for simulation-in-hardware #101

Closed romain-chiap closed 5 years ago

romain-chiap commented 5 years ago

This pull request allows the states of the quadrotor from simulation-in-hardware to be displayed in jMAVSim.

By starting with the flag -displayonly, jMAVSim enters a mode where the simulation engine is disabled. I created a class MAVLinkDisplayOnly that extends MAVLinkHILSystem. It sends nothing to the autopilot and passes states from autopilot to simulator. The readed states from HIL_STATE_QUATERNION are the position and attitude.

The documentation is also updated, by starting with the flag -h.

romain-chiap commented 5 years ago

@bkueng I would like to do a followup on this pull request. Does that look good to you?

I will update the Devguide soon.