mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Tracker: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing
This commit is contained in:
parent
6331efcc12
commit
ff7ef21456
@ -71,7 +71,7 @@ MAV_STATE GCS_MAVLINK_Tracker::system_status() const
|
||||
return MAV_STATE_ACTIVE;
|
||||
}
|
||||
|
||||
void GCS_MAVLINK_Tracker::get_sensor_status_flags(uint32_t &present,
|
||||
void GCS_Tracker::get_sensor_status_flags(uint32_t &present,
|
||||
uint32_t &enabled,
|
||||
uint32_t &health)
|
||||
{
|
||||
|
@ -46,6 +46,5 @@ private:
|
||||
MAV_MODE base_mode() const override;
|
||||
uint32_t custom_mode() const override;
|
||||
MAV_STATE system_status() const override;
|
||||
void get_sensor_status_flags(uint32_t &present, uint32_t &enabled, uint32_t &health);
|
||||
|
||||
};
|
||||
|
@ -17,6 +17,8 @@ public:
|
||||
GCS_MAVLINK_Tracker &chan(const uint8_t ofs) override { return _chan[ofs]; };
|
||||
const GCS_MAVLINK_Tracker &chan(const uint8_t ofs) const override { return _chan[ofs]; };
|
||||
|
||||
void get_sensor_status_flags(uint32_t &present, uint32_t &enabled, uint32_t &health);
|
||||
|
||||
private:
|
||||
|
||||
void request_datastream_position(uint8_t sysid, uint8_t compid);
|
||||
|
Loading…
Reference in New Issue
Block a user