AP_AHRS: remove handling of beacon
This commit is contained in:
parent
04ebb9de0b
commit
2bcaaf5aaf
@ -165,18 +165,10 @@ public:
|
|||||||
_airspeed = airspeed;
|
_airspeed = airspeed;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_beacon(AP_Beacon *beacon) {
|
|
||||||
_beacon = beacon;
|
|
||||||
}
|
|
||||||
|
|
||||||
const AP_Airspeed *get_airspeed(void) const {
|
const AP_Airspeed *get_airspeed(void) const {
|
||||||
return _airspeed;
|
return _airspeed;
|
||||||
}
|
}
|
||||||
|
|
||||||
const AP_Beacon *get_beacon(void) const {
|
|
||||||
return _beacon;
|
|
||||||
}
|
|
||||||
|
|
||||||
// get the index of the current primary accelerometer sensor
|
// get the index of the current primary accelerometer sensor
|
||||||
virtual uint8_t get_primary_accel_index(void) const {
|
virtual uint8_t get_primary_accel_index(void) const {
|
||||||
return AP::ins().get_primary_accel();
|
return AP::ins().get_primary_accel();
|
||||||
@ -645,9 +637,6 @@ protected:
|
|||||||
// pointer to airspeed object, if available
|
// pointer to airspeed object, if available
|
||||||
AP_Airspeed * _airspeed;
|
AP_Airspeed * _airspeed;
|
||||||
|
|
||||||
// pointer to beacon object, if available
|
|
||||||
AP_Beacon * _beacon;
|
|
||||||
|
|
||||||
// time in microseconds of last compass update
|
// time in microseconds of last compass update
|
||||||
uint32_t _compass_last_update;
|
uint32_t _compass_last_update;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user