Browse Source

AP_IMU_INS: added gx(), gy() and gz() methods to return gyro offsets

mission-4.1.18
rmackay9 13 years ago
parent
commit
7b9782c5ac
  1. 3
      libraries/AP_IMU/AP_IMU_INS.h

3
libraries/AP_IMU/AP_IMU_INS.h

@ -63,6 +63,9 @@ public: @@ -63,6 +63,9 @@ public:
virtual float ay() { return _sensor_cal[4]; }
virtual float az() { return _sensor_cal[5]; }
virtual void gx(const float v) { _sensor_cal[0] = v; }
virtual void gy(const float v) { _sensor_cal[1] = v; }
virtual void gz(const float v) { _sensor_cal[2] = v; }
virtual void ax(const float v) { _sensor_cal[3] = v; }
virtual void ay(const float v) { _sensor_cal[4] = v; }
virtual void az(const float v) { _sensor_cal[5] = v; }

Loading…
Cancel
Save