mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
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
ea3570ded0
commit
709b56f477
@ -32,6 +32,10 @@ public:
|
||||
void print_accel_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 ay(const int v) { _adc_offset[4] = v; }
|
||||
void az(const int v) { _adc_offset[5] = v; }
|
||||
|
Loading…
Reference in New Issue
Block a user