Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move calibration from commander to event framework #8706

Closed
wants to merge 8 commits into from
1 change: 1 addition & 0 deletions msg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ set(msg_files
att_pos_mocap.msg
battery_status.msg
camera_capture.msg
calibration_status.msg
camera_trigger.msg
collision_report.msg
commander_state.msg
Expand Down
7 changes: 7 additions & 0 deletions msg/calibration_status.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

int8 result # calibration result

uint8 CALIBRATION_OK = 0
uint8 CALIBRATION_ACTIVE = 2
uint8 CALIBRATION_CANCELLED = 3
uint8 CALIBRATION_FAILED = 4
7 changes: 0 additions & 7 deletions src/modules/commander/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,7 @@ px4_add_module(
commander.cpp
state_machine_helper.cpp
commander_helper.cpp
calibration_routines.cpp
accelerometer_calibration.cpp
gyro_calibration.cpp
mag_calibration.cpp
baro_calibration.cpp
rc_calibration.cpp
airspeed_calibration.cpp
esc_calibration.cpp
PreflightCheck.cpp
arm_auth.cpp
DEPENDS
Expand Down
Loading