Commit Graph

34258 Commits

Author SHA1 Message Date
Michael du Breuil 3aed07a83a Plane: Create a scripting object 2018-10-09 10:08:52 +11:00
Michael du Breuil a7d94ff6c7 AP_HAL_PX4: Handle scripting priority 2018-10-09 10:08:52 +11:00
Michael du Breuil f506a96b7f AP_HAL_Linux: Handle scripting priority 2018-10-09 10:08:52 +11:00
Michael du Breuil 11ab6c59e1 AP_HAL_ChibiOS: Handle scripting priority 2018-10-09 10:08:52 +11:00
Michael du Breuil 73901274b0 AP_HAL: Define a scripting base priority 2018-10-09 10:08:52 +11:00
Michael du Breuil 82dad7b732 wscript: Add enable-scripting option 2018-10-09 10:08:52 +11:00
Michael du Breuil 580c9d6ad9 Tools: Add waf scripting configure option 2018-10-09 10:08:52 +11:00
Michael du Breuil 17103623eb Tools: Pass ENABLE_SCRIPTING into the system 2018-10-09 10:08:52 +11:00
Michael du Breuil f2a31866aa AP_Scripting: Initial scripting framework 2018-10-09 10:08:52 +11:00
Peter Barker 27657bfd40 Tools: param_metadata: flake8 compliance 2018-10-08 14:56:24 +11:00
Hamish Willee 329b972845 Tools: param_metadata: Add parser code to include uniq ref from path 2018-10-08 14:56:09 +11:00
Randy Mackay 3e7cd5a721 Rover: fix typo on call to AP_WindVane 2018-10-07 15:46:57 +09:00
Randy Mackay cb03a35737 AP_WindVane: fix typo on record_home_heading 2018-10-07 15:46:48 +09:00
Randy Mackay 9cd62e81b3 Copter: 3.6.0-rc12 release notes 2018-10-05 14:19:31 +09:00
Randy Mackay 042e7b473b Copter: minor comment fix to throw 2018-10-05 10:05:45 +09:00
Randy Mackay f0181be9c9 AC_Loiter: init_target only inits pos controller if inactive
this reduces a twitch found during the development of zig-zag mode
2018-10-05 10:05:45 +09:00
Randy Mackay d3f7214bcf Copter: revamp zigzag mode
more accurately stops on target
uses current z target when moving to edge
loses unnecessary auto_yaw.set_mode
ensure A and B are different
2018-10-05 10:05:45 +09:00
CAO MUQING 71beab7502 Copter: create and update Zigzag flight mode 2018-10-05 10:05:45 +09:00
CAO MUQING 09030b1b13 RC_Channel: add aux switch options for ZigZag mode and ZigZag SaveWP 2018-10-05 10:05:45 +09:00
Pierre Kancir a6322279d4 Tools: scripts: buid_ci.sh: Double quote to prevent globbing and word splitting. 2018-10-04 20:01:59 +10:00
Pierre Kancir a5ef99bcf9 Tools: scripts: build_ci.sh: correct syntax 2018-10-04 20:01:59 +10:00
Randy Mackay c1ab3afb6c AP_HAL_ChibiOS: fix safety switch option handling 2018-10-04 16:13:24 +10:00
Peter Barker b68a91d171 AP_NavEKF3: remove default clause in setAidingMode
All aiding modes should be covered in the switch statement; adding the
default clause squelches a potentially useful compiler warning
2018-10-03 17:49:43 +01:00
Peter Barker 3774aa6619 AP_NavEKF2: remove default clause in setAidingMode
All values from the enumeration should be handled in this switch; adding
a default will hide a compiler warning which may be useful.
2018-10-03 17:49:43 +01:00
Pierre Kancir 53e36931fb Tools: correct channel configuration for gripper test 2018-10-03 20:10:13 +10:00
Pierre Kancir 3a29379d9e Tools: run test_arm_feature for heli 2018-10-03 20:10:13 +10:00
Pierre Kancir e087b03dd0 Tools: disable autodisarm test (broken) 2018-10-03 10:11:13 +02:00
Pierre Kancir 15e291aac9 Tools: don't set zero_throttle on arm/disarm 2018-10-03 10:10:25 +02:00
Pierre Kancir 0785706a94 Tools: test that heli interlock output cannot be high when disarmed
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir 752f78c80e Tools: test ARMING_RUDDER restrictions
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir 31d4f1b065 Tools: test that copter cannot arm with throttle too high
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:30 +02:00
Pierre Kancir 553874f14a Tools: add arm/disarm with switch tests
Co-authored-by: bnsgeyer <bnsgeyer@aol.com>
2018-10-03 10:09:28 +02:00
Pierre Kancir f441ab9f2a Tools: autotest: validate RTL if disarmed close to home 2018-10-03 17:45:54 +10:00
Pierre Kancir 598b487fef Tools: autotest: adjust start alt for throttle failsafe 2018-10-03 17:45:54 +10:00
Peter Barker e4738192dd Tools: autotest: clear mission before toggling it in with ch7 2018-10-03 17:45:54 +10:00
Peter Barker 38ae0765ff Tools: autotest: increase throttle in stabilize mode to account for pitching 2018-10-03 17:45:54 +10:00
Pierre Kancir b35cb4d814 Tools: update quadplane tests to use safer functions 2018-10-03 17:24:52 +10:00
Pierre Kancir d37a74f46a Tools: fix arm_motors_with_rc_input and disarm_motors_with_rc_input 2018-10-03 17:24:52 +10:00
Pierre Kancir 9b7e406a55 Tools: fix use of unassign variable 2018-10-03 17:19:38 +10:00
Pierre Kancir 55f4be0515 Tools: make do_set_mode function more generic 2018-10-03 16:57:01 +10:00
Pierre Kancir b80937cbd4 Tools: add timout to arm/disarm functions 2018-10-03 16:57:01 +10:00
Andrew Tridgell 8c391291a3 HAL_ChibiOS: fixed a race in DShot code
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
2018-10-03 15:28:07 +10:00
Peter Barker d858569544 Tools: scripts: build_ci.sh: factor out run_autotest function 2018-10-03 15:20:17 +10:00
Patrick José Pereira a543023e1b Tools: Build CI with clang
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:56:37 +10:00
Patrick José Pereira 8b2ccc87aa Tools: Move from clang3.7 to clang7
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:34:59 +10:00
Peter Barker 55377b424e Tools: autotest: add extra-configure-args option to autotest.py 2018-10-03 13:34:59 +10:00
Patrick José Pereira c8f726151b travis: Add clang tests
Move from clang3.7 to 7

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-10-03 13:34:30 +10:00
Michael du Breuil 9a48a0835e AP_HAL_ChibiOS: Don't redefine errno 2018-10-03 08:01:13 +10:00
Jochen Anglett 1c60417d03 AP_Frsky_Telem: add IMU temperature reporting 2018-10-02 12:02:04 +01:00
Raouf fc5ce7b273 Rover: send obstacle_distance messages to proximity lib 2018-10-02 10:37:13 +09:00