fields_updated is always 0 for HIL_SENSOR message
sytelus opened this issue · comments
Shital Shah commented
It seems that all HIL_SENSOR sent by jMavSim has fields_updated set to 0. According to MavLink specs, this should mean that all fields other than linear acceleration should be ignored. Is this correct interpretation and behaviour? If so then gyro fields in HIL_SENSOR should not be having any effect...
Shital Shah commented
Update: @lovettchris looked at the firmware code and found that it simply ignored fields_updated (see MavlinkReceiver::handle_message_hil_sensor function). So we have two issues:
- jMavSim doesn't set the correct value
- Firmware ignore all values
Julian Oes commented
Probably outdated, closing.