diff options
author | Anton Babushkin <rk3dov@gmail.com> | 2013-04-28 18:04:54 +0400 |
---|---|---|
committer | Anton Babushkin <rk3dov@gmail.com> | 2013-04-28 18:04:54 +0400 |
commit | 4109874fc84339e3ee8a794b17d8bdd131313c51 (patch) | |
tree | d7611e85e7970e4a8a14330d0278631529a06468 /apps/commander/accelerometer_calibration.h | |
parent | 29057cb3bd88dae8a2cf313888609e5f7467449e (diff) | |
download | px4-firmware-4109874fc84339e3ee8a794b17d8bdd131313c51.tar.gz px4-firmware-4109874fc84339e3ee8a794b17d8bdd131313c51.tar.bz2 px4-firmware-4109874fc84339e3ee8a794b17d8bdd131313c51.zip |
Reset offsets/scales before calibration and use prescaled values in m/s^2 instead of raw values.
Diffstat (limited to 'apps/commander/accelerometer_calibration.h')
-rw-r--r-- | apps/commander/accelerometer_calibration.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/commander/accelerometer_calibration.h b/apps/commander/accelerometer_calibration.h index acf45b6b6..c0169c2a1 100644 --- a/apps/commander/accelerometer_calibration.h +++ b/apps/commander/accelerometer_calibration.h @@ -12,8 +12,5 @@ #include <uORB/topics/vehicle_status.h> void do_accel_calibration(int status_pub, struct vehicle_status_s *status, int mavlink_fd); -int detect_orientation(int mavlink_fd, int sub_sensor_combined); -int mat_invert3(float src[3][3], float dst[3][3]); -int calculate_calibration_values(int16_t accel_raw_ref[6][3], float accel_T[3][3], int16_t accel_offs[3], float g); #endif /* ACCELEROMETER_CALIBRATION_H_ */ |