Commit Graph

5765 Commits

Author SHA1 Message Date
Peter Barker 450052aa80 Copter: rewrite read_radio for clarity 2018-09-05 11:54:32 +10:00
Peter Barker a30cdf6806 Copter: eliminate failsafe.rc_override_active
Use RC_Channels::has_active_overrides() instead
2018-09-05 11:54:32 +10:00
Peter Barker ec6c59faa3 Copter: move handling of disable-gcs-rc-overrides-channel-option up 2018-09-05 11:54:32 +10:00
Leonard Hall 8faa1cce39 Copter: loiter glitch fix 2018-09-04 13:37:28 +09:00
Peter Barker 0be5e65b4a Copter: correct compilation for missing define
Bad interaction between two PRs that were merged.
2018-09-03 19:47:15 +09:00
Peter Barker 0f4c68aadb Copter: move rc-channel option for lost-vehicle sound up to base class 2018-09-03 16:57:25 +09:00
Pierre Kancir e7c000875e Copter: complet rc option init list 2018-09-03 16:55:43 +09:00
Peter Barker f005ee4a4c Copter: use camera singleton to get camera rather than callback 2018-08-31 15:48:56 +10:00
Peter Barker ec52c22c7c Copter: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Randy Mackay e44f7dc3e1 Copter: minor fix to user parameters 2018-08-31 09:25:37 +09:00
SergeyBokhantsev af6303c82b Copter: User parameters implementation 2018-08-31 08:42:03 +09:00
Arjun Vinod 78be026d83 Copter: fixed typo 2018-08-29 09:36:58 +09:00
Randy Mackay 9d4ce91406 Copter: 3.6.0-rc8 release notes 2018-08-28 11:05:34 +09:00
Randy Mackay 920300899e Copter: rename gcs_check_input to gcs_update
this makes the names consistent with Rover and Plane
2018-08-24 15:30:50 +09:00
Michael du Breuil 433f01ddf0 Copter: Remove unneeded ServoRelayEvent mask set 2018-08-20 21:31:06 -07:00
Peter Barker 214adc121f Copter: mode_autotune: factor out common filter reset code 2018-08-21 08:45:59 +09:00
Pierre Kancir 17c12dab2a Copter: correct payload_place flytolocation 2018-08-17 21:14:57 +09:00
Peter Barker 09d8a33aaf Copter: stop passing ahrs to PrecLand constructor 2018-08-17 21:14:57 +09:00
Peter Barker dd33fce3b1 Copter: remove AC_Sprayer from make.inc 2018-08-17 15:33:35 +09:00
Peter Barker 7a065db2bb Copter: move sprayer update function into scheduler table 2018-08-17 15:33:35 +09:00
Peter Barker 6e0b5e307a Copter: move handling of sprayer and gripper up 2018-08-17 15:33:35 +09:00
Alexander Malishev f5c540a127 Copter: publish navigation info to OSD 2018-08-16 10:26:34 +10:00
Peter Barker bf6e137c87 Copter: bump version on master to 3.7.0 2018-08-13 10:11:37 +09:00
fnoop cbde39c844 Copter: integrate precland logging changes 2018-08-08 10:31:19 +09:00
Peter Barker 62d0bc986a Copter: toymode: correct static-vs-singleton compilation error 2018-08-08 09:00:11 +10:00
Randy Mackay 9fff6d1e71 Copter: restore CHx_OPT param descriptions
This will help users who are using beta mission planner (which gets param descriptions from master) with Copter-3.6 which still has these parameters.
2018-08-07 09:47:39 +09:00
Randy Mackay 346e9e36db Copter: remove compass accumulate 2018-08-06 11:05:34 +10:00
Peter Barker f2b1387c1c RC_Channel: add AUTOTUNE to init_aux_function routine
Also, cark it in SITL if we fail to initialise an aux function
2018-08-05 07:52:28 +10:00
Andrew Tridgell 59cd468444 Copter: fixed RC_Channels parameter docs 2018-08-04 12:28:38 +10:00
Matt 15823d9e97 AP_LANDING_GEAR: Remove deploy lock
Since the RC switches only respond to changes, there is no longer a need
for this lock state. The gear can be retracted or deployed by RC switch,
flight mode, or mavlink command freely without convoluted unlocking
methods.  Also removed use of this in the associated Copter code.
2018-08-03 10:59:15 +09:00
Matt fd332287b2 COPTER: Add mavlink landing gear control
Add MAV_CMD_AIRFRAME_CONFIGURATION (# 2520), which is for landing gear
control.
Param 1 is not used in ArduPilot
Param 2 is deploy/retract. 0 is deploy, 1 is Retract
2018-08-03 10:59:15 +09:00
Randy Mackay 66525ab0f9 Copter: release notes for 3.6.0-rc7 2018-08-02 13:49:14 +09:00
Randy Mackay f30d999e0b Copter: remove compassmot's compass init and accumulate
when compass mot is started, the main loop has been running so the compass will already have been initialised and have good readings
Also remove unnecessary call to get_primary compass
2018-08-02 12:26:14 +09:00
Randy Mackay 6b50a810f6 Copter: compassmot format fixes 2018-08-02 12:26:14 +09:00
Peter Barker b19c03a3c6 Copter: rename switches.cpp to RC_Channel.cpp 2018-08-02 09:52:29 +09:00
Peter Barker e7e56dde7a Copter: move handling of RC switches into RC_Channel 2018-08-01 12:11:30 +09:00
Peter Barker 9b7b480688 Copter: force log-disarmed on crash check triggering 2018-08-01 11:28:52 +09:00
Michael du Breuil 858b51c927 Copter: Update notify initilization 2018-08-01 09:22:09 +10:00
Michael du Breuil 5825222818 Copter: Remove redundant throttle channel setting 2018-08-01 09:19:20 +10:00
Peter Barker 9c72a8ecc7 Copter: simplify autotune's filter value determination 2018-07-31 13:37:43 +09:00
Pierre Kancir 84ff9c6928 Copter: switch to pos control when takeoff finish 2018-07-31 10:40:57 +10:00
Randy Mackay e7bc255e02 Copter: disable Guided_NoGPS on v2 boards to save flash space 2018-07-30 10:14:04 +09:00
Randy Mackay e239ac985d Copter: disable RPM meter on v2 boards to save flash space 2018-07-30 10:14:04 +09:00
Peter Barker 87f8e523de Copter: clarify takeoff comments 2018-07-27 13:08:27 +10:00
Peter Barker 22f7f29045 Copter: move all of waypoint-takeoff into Mode namespace 2018-07-27 13:08:27 +10:00
Peter Barker 11aeec6dd1 Copter: factor out auto_takeoff_run from auto and guided
This code was identical.
2018-07-27 13:08:27 +10:00
SergeyBokhantsev ea3de59107 Copter: implement user auxswitch functions 2018-07-26 20:27:49 +09:00
Pierre Kancir 1aeb9446c0 Copter: simplify home distance and bearing calculation 2018-07-26 10:37:25 +09:00
Raouf f78ffefd66 Copter: Handle always land mode 2018-07-26 10:11:12 +09:00
Peter Barker 9e6810933e Copter: don't compile AP_Menu library 2018-07-23 14:20:22 +09:00