Commit Graph

1 Commits

Author SHA1 Message Date
Peter Barker 934a125875 Tools: add script which tells you how Copter.ap changes over time
This is a global state object which we really want to get rid of - but
while we have it it does contain some useful state.

pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$ ./Tools/scripts/du32_change.py ~/rc/log32.bin
1648874490: Creating connection
Original armed_with_airmode_switch: 0
Original auto_armed: 0
Original compass_mot: 0
Original gps_glitching: 0
Original in_arming_delay: 1
Original initialised: 1
Original initialised_params: 1
Original land_complete: 1
Original land_complete_maybe: 1
Original land_repo_active: 0
Original logging_started: 1
Original motor_interlock_switch: 0
Original motor_test: 0
Original new_radio_frame: 1
Original pre_arm_check: 1
Original pre_arm_rc_check: 1
Original prec_land_active: 0
Original rc_receiver_present: 1
Original system_time_set_unused: 0
Original throttle_zero: 1
Original unused1: 0
Original unused2: 0
Original unused3: 0
Original unused_was_simple_mode bit1: 0
Original unused_was_simple_mode bit2: 0
Original usb_connected_unused: 0
Original using_interlock: 0
2022-04-01 08:19:27.03:  -in_arming_delay
2022-04-01 08:19:31.04:  +auto_armed -throttle_zero
2022-04-01 08:19:38.04:  -land_complete -land_complete_maybe
2022-04-01 08:20:34.29:  +throttle_zero
2022-04-01 08:20:35.29:  -auto_armed +land_complete +land_complete_maybe
pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$
2022-04-05 17:56:37 +10:00