mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
commander: level calibration delete unused SENS_BOARD_ROT param access
This commit is contained in:
committed by
GitHub
parent
521abecbbf
commit
4bb4bc185b
@@ -71,9 +71,6 @@ int do_level_calibration(orb_advert_t *mavlink_log_pub)
|
||||
param_get(roll_offset_handle, &roll_offset_current);
|
||||
param_get(pitch_offset_handle, &pitch_offset_current);
|
||||
|
||||
int32_t board_rot_current = 0;
|
||||
param_get(param_find("SENS_BOARD_ROT"), &board_rot_current);
|
||||
|
||||
const Dcmf board_rotation_offset{Eulerf{radians(roll_offset_current), radians(pitch_offset_current), 0.f}};
|
||||
|
||||
float roll_mean = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user