57 return "HIGH_LATENCY2";
62 return MAVLINK_MSG_ID_HIGH_LATENCY2;
77 return MAVLINK_MSG_ID_HIGH_LATENCY2_LEN + MAVLINK_NUM_NON_PAYLOAD_BYTES;
bool write_battery_status(mavlink_high_latency2_t *msg)
hrt_abstime _last_reset_time
bool write_global_position(mavlink_high_latency2_t *msg)
void update_tecs_status()
void update_battery_status()
MavlinkOrbSubscription * _airspeed_sub
MAVLink 1.0 message formatters definition.
bool write_vehicle_status(mavlink_high_latency2_t *msg)
bool write_mission_result(mavlink_high_latency2_t *msg)
void update_wind_estimate()
MavlinkOrbSubscription * _wind_sub
uint64_t _actuator_time_0
const char * get_name() const
MavlinkStreamHighLatency2(MavlinkStreamHighLatency2 &)
MavlinkOrbSubscription * _global_pos_sub
MAVLink 2.0 protocol interface definition.
uint64_t _pos_ctrl_status_time
uint64_t _mission_result_time
SimpleAnalyzer _windspeed
bool write_tecs_status(mavlink_high_latency2_t *msg)
void update_global_position()
bool write_airspeed(mavlink_high_latency2_t *msg)
PerBatteryData _batteries[ORB_MULTI_MAX_INSTANCES]
static uint16_t get_id_static()
static char msg[NUM_MSG][CONFIG_USART1_TXBUFSIZE]
static const char * get_name_static()
MavlinkOrbSubscription * _actuator_sub_0
SimpleAnalyzer _groundspeed
MavlinkOrbSubscription * _gps_sub
Mavlink messages stream definition.
SimpleAnalyzer _airspeed_sp
unsigned get_size()
Get maximal total messages size on update.
uint64_t _actuator_time_1
MavlinkOrbSubscription * _estimator_status_sub
MavlinkOrbSubscription * _attitude_sp_sub
MavlinkOrbSubscription * _pos_ctrl_status_sub
MavlinkStreamHighLatency2 & operator=(const MavlinkStreamHighLatency2 &)
MavlinkOrbSubscription * _actuator_sub_1
__BEGIN_DECLS typedef uint64_t hrt_abstime
Absolute time, in microsecond units.
hrt_abstime _last_update_time
void update_vehicle_status()
bool write_fw_ctrl_status(mavlink_high_latency2_t *msg)
bool write_attitude_sp(mavlink_high_latency2_t *msg)
bool write_vehicle_status_flags(mavlink_high_latency2_t *msg)
MavlinkOrbSubscription * _status_sub
MavlinkOrbSubscription * _tecs_status_sub
uint64_t _estimator_status_time
float _update_rate_filtered
void update_data()
Function to collect/update data for the streams at a high rate independant of actual stream rate...
static MavlinkStream * new_instance(Mavlink *mavlink)
MavlinkOrbSubscription * _geofence_sub
SimpleAnalyzer _temperature
bool write_estimator_status(mavlink_high_latency2_t *msg)
#define ORB_MULTI_MAX_INSTANCES
Maximum number of multi topic instances.
MavlinkOrbSubscription * _mission_result_sub
MavlinkOrbSubscription * subscription
SimpleAnalyzer _climb_rate
bool write_geofence_result(mavlink_high_latency2_t *msg)
void reset_analysers(const hrt_abstime t)
uint64_t _attitude_sp_time
MavlinkOrbSubscription * _status_flags_sub
uint64_t _global_pos_time
void set_default_values(mavlink_high_latency2_t &msg) const
bool send(const hrt_abstime t)
uint64_t _status_flags_time
bool write_wind_estimate(mavlink_high_latency2_t *msg)