Skip to content

Commit

Permalink
commander: level calibration delete unused SENS_BOARD_ROT param access
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura authored May 1, 2023
1 parent 521abec commit 4bb4bc1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/modules/commander/level_calibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4bb4bc1

Please sign in to comment.