PX4-Autopilot/msg/AutoTrimStatus.msg
bresch ab4ceee341 Add new auto-trim feature for fixed-wings
Estimates the torque trim values while flying
2024-09-17 14:31:26 +02:00

19 lines
683 B
Plaintext

# Auto trimming state and current estimate
uint64 timestamp # Time since system start (microseconds)
uint64 timestamp_sample
float32[3] trim_estimate # Roll/pitch/yaw trim value obtained from torque setpoints averaged over several seconds
float32[3] trim_estimate_var
float32[3] trim_test # Same as trim_estimate but done on a shorter period. Used to validate the trim estimate.
float32[3] trim_test_var
float32[3] trim_validated # Final roll/pitch/yaw trim estimate, verified by trim_test
uint8 STATE_IDLE = 0
uint8 STATE_SAMPLING = 1
uint8 STATE_SAMPLING_TEST = 2
uint8 STATE_VERIFICATION = 3
uint8 STATE_COMPLETE = 4
uint8 STATE_FAIL = 5
uint8 state