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.
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 classMAVLinkDisplayOnly
that extendsMAVLinkHILSystem
. It sends nothing to the autopilot and passes states from autopilot to simulator. The readed states fromHIL_STATE_QUATERNION
are the position and attitude.The documentation is also updated, by starting with the flag
-h
.