AP_NMEA_Output: rename for AHRS restructuring
This commit is contained in:
parent
ee069a081b
commit
48e9fa7ebd
@ -93,7 +93,7 @@ void AP_NMEA_Output::update()
|
||||
char dstring[7];
|
||||
snprintf(dstring, sizeof(dstring), "%02u%02u%02u", tm->tm_mday, tm->tm_mon+1, tm->tm_year % 100);
|
||||
|
||||
AP_AHRS_NavEKF& ahrs = AP::ahrs_navekf();
|
||||
auto &ahrs = AP::ahrs();
|
||||
|
||||
// get location (note: get_position from AHRS always returns true after having GPS position once)
|
||||
Location loc;
|
||||
|
@ -48,7 +48,7 @@ static AP_Logger logger{logger_bitmask};
|
||||
|
||||
class DummyVehicle : public AP_Vehicle {
|
||||
public:
|
||||
AP_AHRS_NavEKF ahrs{AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
||||
AP_AHRS ahrs{AP_AHRS::FLAG_ALWAYS_USE_EKF};
|
||||
bool set_mode(const uint8_t new_mode, const ModeReason reason) override { return true; };
|
||||
uint8_t get_mode() const override { return 1; };
|
||||
void get_scheduler_tasks(const AP_Scheduler::Task *&tasks, uint8_t &task_count, uint32_t &log_bit) override {};
|
||||
|
Loading…
Reference in New Issue
Block a user