AUTOTEST: # AUTOTEST: ########## Button (Test Buttons) ########## AUTOTEST: # AUTOTEST: chan=12 needs resetting is=1000 want=1500 rc 12 1500 AUTOTEST: m: RC_CHANNELS {time_boot_ms : 6134, chancount : 16, chan1_raw : 1500, chan2_raw : 1500, chan3_raw : 1000, chan4_raw : 1500, chan5_raw : 1500, chan6_raw : 1500, chan7_raw : 1500, chan8_raw : 1800, chan9_raw : 1500, chan10_raw : 1500, chan11_raw : 1500, chan12_raw : 1000, chan13_raw : 1500, chan14_raw : 1500, chan15_raw : 1500, chan16_raw : 1500, chan17_raw : 0, chan18_raw : 0, rssi : 0} rc 12 1500 rc 12 1500AUTOTEST: m: RC_CHANNELS {time_boot_ms : 6234, chancount : 16, chan1_raw : 1500, chan2_raw : 1500, chan3_raw : 1000, chan4_raw : 1500, chan5_raw : 1500, chan6_raw : 1500, chan7_raw : 1500, chan8_raw : 1800, chan9_raw : 1500, chan10_raw : 1500, chan11_raw : 1500, chan12_raw : 1000, chan13_raw : 1500, chan14_raw : 1500, chan15_raw : 1500, chan16_raw : 1500, chan17_raw : 0, chan18_raw : 0, rssi : 0} rc 12 1500 MANUAL> rc 12 1500 MANUAL> AUTOTEST: m: RC_CHANNELS {time_boot_ms : 6334, chancount : 16, chan1_raw : 1500, chan2_raw : 1500, chan3_raw : 1000, chan4_raw : 1500, chan5_raw : 1500, chan6_raw : 1500, chan7_raw : 1500, chan8_raw : 1800, chan9_raw : 1500, chan10_raw : 1500, chan11_raw : 1500, chan12_raw : 1000, chan13_raw : 1500, chan14_raw : 1500, chan15_raw : 1500, chan16_raw : 1500, chan17_raw : 0, chan18_raw : 0, rssi : 0} rc 12 1500 rc 12 1500AUTOTEST: m: RC_CHANNELS {time_boot_ms : 6434, chancount : 16, chan1_raw : 1500, chan2_raw : 1500, chan3_raw : 1000, chan4_raw : 1500, chan5_raw : 1500, chan6_raw : 1500, chan7_raw : 1500, chan8_raw : 1800, chan9_raw : 1500, chan10_raw : 1500, chan11_raw : 1500, chan12_raw : 1000, chan13_raw : 1500, chan14_raw : 1500, chan15_raw : 1500, chan16_raw : 1500, chan17_raw : 0, chan18_raw : 0, rssi : 0} rc 12 1500 MANUAL> rc 12 1500AUTOTEST: m: RC_CHANNELS {time_boot_ms : 6534, chancount : 16, chan1_raw : 1500, chan2_raw : 1500, chan3_raw : 1000, chan4_raw : 1500, chan5_raw : 1500, chan6_raw : 1500, chan7_raw : 1500, chan8_raw : 1800, chan9_raw : 1500, chan10_raw : 1500, chan11_raw : 1500, chan12_raw : 1000, chan13_raw : 1500, chan14_raw : 1500, chan15_raw : 1500, chan16_raw : 1500, chan17_raw : 0, chan18_raw : 0, rssi : 0} rc 12 1500 AUTOTEST: m: RC_CHANNELS {time_boot_ms : 6634, chancount : 16, chan1_raw : 1500, chan2_raw : 1500, chan3_raw : 1000, chan4_raw : 1500, chan5_raw : 1500, chan6_raw : 1500, chan7_raw : 1500, chan8_raw : 1800, chan9_raw : 1500, chan10_raw : 1500, chan11_raw : 1500, chan12_raw : 1500, chan13_raw : 1500, chan14_raw : 1500, chan15_raw : 1500, chan16_raw : 1500, chan17_raw : 0, chan18_raw : 0, rssi : 0} AUTOTEST: Changing mode to MANUAL mode MANUAL AUTOTEST: Drained 116 messages from mav (1304.307390/s) MANUAL> rc 12 1500 MANUAL> rc 12 1500 MANUAL> mode MANUAL MANUAL> Got MAVLink msg: COMMAND_ACK {command : 11, result : 0} AUTOTEST: Got mode MANUAL AUTOTEST: Drained 26 messages from mav (5197.898189/s) AUTOTEST: Setting SIM_PIN_MASK to 0.000000 param fetch SIM_PIN_MASK param fetch SIM_PIN_MASK MANUAL> APM: EKF2 IMU0 tilt alignment complete APM: EKF2 IMU1 tilt alignment complete Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 0.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 0.0000000 AUTOTEST: Setting BTN_ENABLE to 1.000000 param fetch BTN_ENABLE param fetch BTN_ENABLE MANUAL> Requested parameter BTN_ENABLE BTN_ENABLE = 0.0000000 param set BTN_ENABLE 1 param fetch BTN_ENABLE param set BTN_ENABLE 1 MANUAL> param fetch BTN_ENABLE MANUAL> Mode MANUAL Requested parameter BTN_ENABLE BTN_ENABLE = 1.0000000 param fetch param fetch MANUAL> Requested parameter list APM: ArduPlane V4.1.0dev (cdbc5f16) APM: 17-04-2014-MEDI STAT_BOOTCNT = 18.0000000 Received 1233 parameters Saved 1636 parameters to test.ArduPlane/logs/2020-04-06/flight1/mav.parm APM: EKF2 IMU0 origin set APM: EKF2 IMU1 origin set AUTOTEST: Drained 3553 messages from mav (4321.001905/s) AUTOTEST: Setting BTN_PIN2 to 3.000000 param fetch BTN_PIN2 param fetch BTN_PIN2 MANUAL> Requested parameter BTN_PIN2 BTN_PIN2 = -1.0000000 param set BTN_PIN2 3 param fetch BTN_PIN2 param set BTN_PIN2 3 MANUAL> param fetch BTN_PIN2 MANUAL> Requested parameter BTN_PIN2 BTN_PIN2 = 3.0000000 AUTOTEST: m: BUTTON_CHANGE {time_boot_ms : 18313, last_change_ms : 18114, state : 2} AUTOTEST: m2: BUTTON_CHANGE {time_boot_ms : 19513, last_change_ms : 18114, state : 2} AUTOTEST: Drained 53 messages from mav (5208.362316/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 11 messages from mav (5029.689742/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 9 messages from mav (5810.179467/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 11 messages from mav (5672.856756/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 7 messages from mav (5794.380896/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 11 messages from mav (5726.367631/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 6 messages from mav (5703.949229/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 0 messages from mav (0.000000/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 0 messages from mav (0.000000/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 1 messages from mav (5071.709794/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 2 messages from mav (3876.436229/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 1 messages from mav (5127.511002/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 8 messages from mav (5797.241189/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 3 messages from mav (5485.140366/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 8 messages from mav (5818.351309/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 11 messages from mav (5777.278237/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 1 messages from mav (5152.707617/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 6 messages from mav (5638.768541/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 5 messages from mav (5669.510679/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 3 messages from mav (5482.750327/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 3 messages from mav (5504.335958/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 9 messages from mav (5817.342580/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 11 messages from mav (5740.617643/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Drained 3 messages from mav (5416.664658/s) AUTOTEST: Delaying 0.500000 seconds AUTOTEST: Setting SIM_PIN_MASK to 0.000000 param fetch SIM_PIN_MASK param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK APM: EKF2 IMU0 is using GPS APM: EKF2 IMU1 is using GPS param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 AUTOTEST: Exception caught: Traceback (most recent call last): File "/cygdrive/c/users/willy/documents/github/ardupilot/Tools/autotest/common.py", line 3233, in run_one_test test_function() File "/cygdrive/c/users/willy/documents/github/ardupilot/Tools/autotest/common.py", line 4998, in test_button self.set_parameter("SIM_PIN_MASK", 0) File "/cygdrive/c/users/willy/documents/github/ardupilot/Tools/autotest/common.py", line 2264, in set_parameter % (returned_value, value)) ValueError: Param fetch returned incorrect value (8.0) vs (0) AUTOTEST: Setting BTN_PIN2 to -1.000000 param fetch BTN_PIN2 param fetch BTN_PIN2 MANUAL> Requested parameter BTN_PIN2 BTN_PIN2 = 3.0000000 param set BTN_PIN2 -1.0 param fetch BTN_PIN2 param set BTN_PIN2 -1.0 MANUAL> param fetch BTN_PIN2 MANUAL> Requested parameter BTN_PIN2 BTN_PIN2 = -1.0000000 AUTOTEST: Setting BTN_ENABLE to 0.000000 param fetch BTN_ENABLE param fetch BTN_ENABLE MANUAL> Requested parameter BTN_ENABLE BTN_ENABLE = 1.0000000 param set BTN_ENABLE 0.0 param fetch BTN_ENABLE param set BTN_ENABLE 0.0 MANUAL> param fetch BTN_ENABLE MANUAL> Requested parameter BTN_ENABLE BTN_ENABLE = 0.0000000 AUTOTEST: Setting SIM_PIN_MASK to 0.000000 param fetch SIM_PIN_MASK param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 8.0000000 param set SIM_PIN_MASK 0.0 param fetch SIM_PIN_MASK param set SIM_PIN_MASK 0.0 MANUAL> param fetch SIM_PIN_MASK MANUAL> Requested parameter SIM_PIN_MASK SIM_PIN_MASK = 0.0000000 AUTOTEST: Drained 6239 messages from mav (5044.930753/s) AUTOTEST: FAILED: "Button (Test Buttons)": ValueError('Param fetch returned incorrect value (8.0) vs (0)',) (see /cygdrive/c/users/willy/documents/github/buildlogs/ArduPlane-Button.txt) wp clear wp list wp clear MANUAL> wp list MANUAL> Got MAVLink msg: MISSION_ACK {target_system : 255, target_component : 0, type : 0, mission_type : 0} Requesting 0 waypoints t=Mon Apr 6 13:42:08 2020 now=Mon Apr 6 13:42:08 2020