Commit Graph

34191 Commits

Author SHA1 Message Date
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
Raouf
46b669a056 Copter: send obstacle_distance messages to proximity lib 2018-10-02 10:37:13 +09:00
Raouf
8bfb1d2445 AP_Proximity: add support for OBSTACLE_DISTANCE message 2018-10-02 10:37:13 +09:00
Michael du Breuil
02d37d43d2 Plane: Disallow climbs during TRANSITION_AIRSPEED_WAIT 2018-10-02 09:35:47 +10:00
Michael du Breuil
f51d757844 AP_InertialSensor: Remove unused (and conflicting in some builds) include 2018-10-02 07:09:41 +10:00
Michael du Breuil
88aa20d691 AP_Airspeed: Make user facing messages clearer, improve handling of bad tube order 2018-10-02 06:28:47 +10:00
Michael du Breuil
f810b7b9f6 AP_HAL_ChibiOS: Make getcwd() take size_t as per the standard 2018-10-02 06:04:40 +10:00
Randy Mackay
19e0fa5214 Copter: 3.6.0-rc11 release notes 2018-10-01 14:51:56 +09:00
Andrew Tridgell
2f2be6afda AP_Compass: use rotation_equal() from AP_Compass 2018-10-01 14:26:56 +09:00
Andrew Tridgell
d4eaf09baf AP_Math: added rotation_equal() 2018-10-01 14:26:56 +09:00
Andrew Tridgell
803f255c73 AP_Compass: fixed handling of duplication rotations
we have some rotations that are duplicated, such as ROLL_180_YAW_90
and PITCH_180_YAW_270. This copes with those in the auto-orientation
code
2018-10-01 14:26:56 +09:00
Peter Barker
ac0e126099 Copter: correct AFS terminate-via-land for Copter
In the case we're terminating via land it's a good idea to continue to
constantly adjust our motor outputs for stabilization and the like....
2018-10-01 11:23:46 +09:00
Peter Barker
254ef4f0ae AP_WheelEncder: remove dead code 2018-10-01 09:34:52 +09:00
Randy Mackay
8d3b093bbf AP_OSD: resolve compiler warning 2018-09-28 15:17:40 +09:00
Randy Mackay
925d4035a4 Rover: fix loiter comment 2018-09-28 10:40:12 +09:00
Randy Mackay
7519a28e8c AP_WindVane: remove destructor 2018-09-28 10:40:12 +09:00
Randy Mackay
743ef9dfe6 AP_WindVane: correct parameter descriptions 2018-09-28 10:40:12 +09:00
Randy Mackay
c3f3ee03d0 Rover: windvane calibration can be started with preflight-calibration msg
send COMMAND_LONG with MAV_CMD_PREFLIGHT_CALIBRATION command and set param6 field to 3
2018-09-28 10:40:12 +09:00