Base class for dataflash message handlers.
Extend this based on the type of the DataFlash message you wish to take data from
Subclassed by LA_MsgHandler_ACC, LA_MsgHandler_AHR2, LA_MsgHandler_ATT, LA_MsgHandler_BARO, LA_MsgHandler_EKF1, LA_MsgHandler_EKF4, LA_MsgHandler_ERR, LA_MsgHandler_EV, LA_MsgHandler_GPA, LA_MsgHandler_GPS, LA_MsgHandler_GYR, LA_MsgHandler_IMU, LA_MsgHandler_MAG, LA_MsgHandler_MODE, LA_MsgHandler_MSG, LA_MsgHandler_NKF1, LA_MsgHandler_NKF4, LA_MsgHandler_ORGN, LA_MsgHandler_PARM, LA_MsgHandler_PM, LA_MsgHandler_POS, LA_MsgHandler_POWR, LA_MsgHandler_RATE, LA_MsgHandler_RCOU, LA_MsgHandler_STAT, LA_MsgHandler_UBX3, LA_MsgHandler_VIBE, LA_MsgHandler_XKF1, LA_MsgHandler_XKF4
Public Functions
construct a DataFlash Message Handler
Note
evaluate_all is called on “analyze” after the vehicle state has been updated
name – Name by which this message handler is known; e.g. GPS2
f – DataFlash log format corresponding to the DataFlash message type
analyze – Object which is responsible for coordinating analysis of vehicle state
vehicle – a vehicle whose state should be updated by the message handler
process a DataFlash message, update state, run analysis on new vehicle state
msg – a DataFlash message
return the name of this Message Handler (e.g. GPS2)
Protected Functions
Try to find a timestamp given a message.
msg – a dataflash message
T – [out] a timestamp value to fill in
true if a timestamp was found
Try to set vehicle model timestamp from a given message.
true if timestamp was set
return the current vehicle timestamp
process a DataFlash message, update vehicle model appropriately
convenience function producing an estimate to be used for state
convenience function producing an estimate to be used for state
convenience function producing an estimate to be used for state
convenience function producing an estimate to be used for state
Class to take data from decoded MAVLink messages, update the vehicle model and call the analyzers.
Add methods to this class to handle more MAVLink message types
Public Functions