Browse Source

AP_NavEKF2: remove unused ext nav elements

c415-sdk
Randy Mackay 5 years ago
parent
commit
3b20623a31
  1. 2
      libraries/AP_NavEKF2/AP_NavEKF2.h
  2. 4
      libraries/AP_NavEKF2/AP_NavEKF2_core.h

2
libraries/AP_NavEKF2/AP_NavEKF2.h

@ -330,7 +330,7 @@ public:
/* /*
* Write position and quaternion data from an external navigation system * Write position and quaternion data from an external navigation system
* *
* pos : position in the RH navigation frame. Frame is assumed to be NED if frameIsNED is true. (m) * pos : position in the RH navigation frame. Frame is assumed to be NED (m)
* quat : quaternion desribing the rotation from navigation frame to body frame * quat : quaternion desribing the rotation from navigation frame to body frame
* posErr : 1-sigma spherical position error (m) * posErr : 1-sigma spherical position error (m)
* angErr : 1-sigma spherical angle error (rad) * angErr : 1-sigma spherical angle error (rad)

4
libraries/AP_NavEKF2/AP_NavEKF2_core.h

@ -321,7 +321,7 @@ public:
/* /*
* Write position and quaternion data from an external navigation system * Write position and quaternion data from an external navigation system
* *
* pos : position in the RH navigation frame. Frame is assumed to be NED if frameIsNED is true. (m) * pos : position in the RH navigation frame. Frame is assumed to be NED (m)
* quat : quaternion desribing the rotation from navigation frame to body frame * quat : quaternion desribing the rotation from navigation frame to body frame
* posErr : 1-sigma spherical position error (m) * posErr : 1-sigma spherical position error (m)
* angErr : 1-sigma spherical angle error (rad) * angErr : 1-sigma spherical angle error (rad)
@ -489,8 +489,6 @@ private:
}; };
struct ext_nav_elements { struct ext_nav_elements {
bool frameIsNED; // true if the data is in a NED navigation frame
bool unitsAreSI; // true if the data length units are scaled in metres
Vector3f pos; // XYZ position measured in a RH navigation frame (m) Vector3f pos; // XYZ position measured in a RH navigation frame (m)
Quaternion quat; // quaternion describing the rotation from navigation to body frame Quaternion quat; // quaternion describing the rotation from navigation to body frame
float posErr; // spherical poition measurement error 1-std (m) float posErr; // spherical poition measurement error 1-std (m)

Loading…
Cancel
Save