mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: Publish the number of instances
This commit is contained in:
parent
46e4c45537
commit
6c2dc3ccf8
|
@ -43,9 +43,9 @@ public:
|
||||||
|
|
||||||
NavEKF2(const AP_AHRS *ahrs, AP_Baro &baro, const RangeFinder &rng);
|
NavEKF2(const AP_AHRS *ahrs, AP_Baro &baro, const RangeFinder &rng);
|
||||||
|
|
||||||
// allow logging to determine if enabled
|
// allow logging to determine the number of active cores
|
||||||
bool enabled(void) const {
|
uint8_t activeCores(void) const {
|
||||||
return _enable != 0;
|
return num_cores;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialise the filter
|
// Initialise the filter
|
||||||
|
|
Loading…
Reference in New Issue