mirror of https://github.com/ArduPilot/ardupilot
Added getter functions to accels
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1503 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
96d2dc33fe
commit
80689920af
|
@ -32,6 +32,10 @@ public:
|
||||||
void print_accel_offsets(void); ///< XXX debug hack
|
void print_accel_offsets(void); ///< XXX debug hack
|
||||||
void print_gyro_offsets(void); ///< XXX debug hack
|
void print_gyro_offsets(void); ///< XXX debug hack
|
||||||
|
|
||||||
|
int ax() { return _adc_offset[3]; }
|
||||||
|
int ay() { return _adc_offset[4]; }
|
||||||
|
int az() { return _adc_offset[5]; }
|
||||||
|
|
||||||
void ax(const int v) { _adc_offset[3] = v; }
|
void ax(const int v) { _adc_offset[3] = v; }
|
||||||
void ay(const int v) { _adc_offset[4] = v; }
|
void ay(const int v) { _adc_offset[4] = v; }
|
||||||
void az(const int v) { _adc_offset[5] = v; }
|
void az(const int v) { _adc_offset[5] = v; }
|
||||||
|
|
Loading…
Reference in New Issue