diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-06-29 14:10:04 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-06-29 14:10:04 +0200 |
commit | 8a442c2125502ef4b8c33bea85ac4a5d0c82906e (patch) | |
tree | 4cdeffcbf1d86d1b93d3a1d74533621d19b1ab90 /src/modules/sensors/sensor_params.c | |
parent | 0bf9c2a9b262a4c8569031f0f7e9ded432d2d4b3 (diff) | |
parent | 5db51bd704a4493fe3a53010b84bede19c980dfc (diff) | |
download | px4-firmware-8a442c2125502ef4b8c33bea85ac4a5d0c82906e.tar.gz px4-firmware-8a442c2125502ef4b8c33bea85ac4a5d0c82906e.tar.bz2 px4-firmware-8a442c2125502ef4b8c33bea85ac4a5d0c82906e.zip |
Merge branch 'navigator_rewrite' into navigator_rewrite_drton
Diffstat (limited to 'src/modules/sensors/sensor_params.c')
-rw-r--r-- | src/modules/sensors/sensor_params.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/modules/sensors/sensor_params.c b/src/modules/sensors/sensor_params.c index 999cf8bb3..c8a3ec8f0 100644 --- a/src/modules/sensors/sensor_params.c +++ b/src/modules/sensors/sensor_params.c @@ -243,6 +243,36 @@ PARAM_DEFINE_INT32(SENS_DPRES_ANA, 0); PARAM_DEFINE_INT32(SENS_BOARD_ROT, 0); /** + * Board rotation Y (Pitch) offset + * + * This parameter defines a rotational offset in degrees around the Y (Pitch) axis. It allows the user + * to fine tune the board offset in the event of misalignment. + * + * @group Sensor Calibration + */ + PARAM_DEFINE_FLOAT(SENS_BOARD_Y_OFF, 0.0f); + +/** + * Board rotation X (Roll) offset + * + * This parameter defines a rotational offset in degrees around the X (Roll) axis It allows the user + * to fine tune the board offset in the event of misalignment. + * + * @group Sensor Calibration + */ +PARAM_DEFINE_FLOAT(SENS_BOARD_X_OFF, 0.0f); + +/** + * Board rotation Z (YAW) offset + * + * This parameter defines a rotational offset in degrees around the Z (Yaw) axis. It allows the user + * to fine tune the board offset in the event of misalignment. + * + * @group Sensor Calibration + */ +PARAM_DEFINE_FLOAT(SENS_BOARD_Z_OFF, 0.0f); + +/** * External magnetometer rotation * * This parameter defines the rotation of the external magnetometer relative |