mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 18:47:34 +08:00
added function to return accelerometer bias
This commit is contained in:
@@ -209,6 +209,11 @@ public:
|
||||
*val = _mag_declination_to_save_deg;
|
||||
}
|
||||
|
||||
void copy_accel_bias(float *bias)
|
||||
{
|
||||
*bias = _state[15];
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
parameters _params; // filter parameters
|
||||
|
||||
Reference in New Issue
Block a user