mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
commander: accel calibration reduce status length
- this keeps the string within a single Mavlink STATUSTEXT - fixes #14829
This commit is contained in:
@@ -246,7 +246,7 @@ static calibrate_return accel_calibration_worker(detect_orientation_return orien
|
|||||||
|
|
||||||
read_accelerometer_avg(worker_data->accel_ref, orientation, samples_num);
|
read_accelerometer_avg(worker_data->accel_ref, orientation, samples_num);
|
||||||
|
|
||||||
calibration_log_info(worker_data->mavlink_log_pub, "[cal] %s side result: [%8.4f %8.4f %8.4f]",
|
calibration_log_info(worker_data->mavlink_log_pub, "[cal] %s side result: [%.3f %.3f %.3f]",
|
||||||
detect_orientation_str(orientation),
|
detect_orientation_str(orientation),
|
||||||
(double)worker_data->accel_ref[0][orientation][0],
|
(double)worker_data->accel_ref[0][orientation][0],
|
||||||
(double)worker_data->accel_ref[0][orientation][1],
|
(double)worker_data->accel_ref[0][orientation][1],
|
||||||
|
|||||||
Reference in New Issue
Block a user