Commit Graph

5801 Commits

Author SHA1 Message Date
Peter Barker 332340135f Copter: leave AHRS to log and notify home changes 2018-10-16 10:55:13 +11:00
Peter Barker a90cfc7db7 Copter: clarify prearm failure messages 2018-10-16 10:31:10 +11:00
Peter Barker 7af119b497 Copter: factor out loc_from_cmd from three functions 2018-10-16 10:17:12 +11:00
Peter Barker 5f552a6ce3 Copter: stop shadowing members of Copter
These references were taken to make the breaking out of Modes in Copter.

A lot of other code has already caused these sorts of things to go away,
but these particular ones seem reasonable to fix by pointing the users
at the copter object directly.
2018-10-16 10:17:12 +11:00
Peter Barker 1a660cefae Copter: remove unused STREAM_RAW_CONTROLLER_msgs variable 2018-10-16 10:17:12 +11:00
Peter Barker e02a645354 Copter: use fabsf() instead of labs()
wrap_180_cd returns a float

substracting a float from an int32 returns a float
2018-10-16 10:17:12 +11:00
Leonard Hall d29a47d605 Copter: Add thrust check, counter reset and comments 2018-10-16 00:44:50 +09:00
Leonard Hall 1a3d181756 Copter: Fix feedback in crash check 2018-10-16 00:44:50 +09:00
Randy Mackay 0cf2850593 Copter: fix thrust_loss check angle check
angle deviation corrected to 15deg and based on total lean angle instead of roll and pitch separately
fixed compile error on send_text
2018-10-16 00:44:50 +09:00
Randy Mackay 7a43a21784 Copter: formatting fixes to thrust loss check 2018-10-16 00:44:50 +09:00
Leonard Hall 54a59f581f Copter: add motor thrust lost check 2018-10-16 00:44:50 +09:00
Sam Bristow 823d09b212 Copter: Fix confusing indentation
Commit d94663d5 introducted a minor whitespace issue which made the
indentation of the nested if statements slightly confusing. We may as
well clean it up sooner rather than later :-)
2018-10-15 16:32:15 +11:00
chobitsfan d94663d5af Copter: support changing vertical speed in DO_CHANGE_SPEED 2018-10-13 13:16:26 +09:00
Peter Barker c70c946651 Copter: correct mode_zigzag compilation for ekf scalar change 2018-10-08 19:23:57 -07:00
Peter Barker 26ca75efae Copter: make libraries get EKF control limits themselves 2018-10-09 10:47:38 +11: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 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
Raouf 46b669a056 Copter: send obstacle_distance messages to proximity lib 2018-10-02 10:37:13 +09:00
Randy Mackay 19e0fa5214 Copter: 3.6.0-rc11 release notes 2018-10-01 14:51: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
Randy Mackay 4fa0cc4bd3 Copter: pass update rate to precland init 2018-09-21 16:38:35 +09:00
Randy Mackay eef839703f Copter: remove unnecessary copter prefix from precland update 2018-09-21 16:38:35 +09:00
Michael du Breuil 7e1ed948f5 Copter: Cope with AC_PosControl renaming 2018-09-20 15:15:45 -07:00
Leonard Hall 1b5b46dab5 Copter: Missing Loiter Init on accel 2018-09-19 17:29:55 +09:00
Leonard Hall 17b61f72a3 Copter: Initialise desired acceleration before loiter init 2018-09-19 08:34:08 +09:00
Randy Mackay e78dab1d10 Copter: remove OSD comments 2018-09-15 14:34:20 +09:00
yaapu 5e46b97894 Copter: fix OSD wp_distance and wp_xtrack_error
need conversion from centimeters to meters as expected by OSD code
2018-09-15 14:11:57 +10:00
Randy Mackay cdcf26e97b Copter: 3.6.0-rc10 release notes 2018-09-15 11:42:42 +09:00
Randy Mackay 71334a18c5 Copter: rename rudder_arming to get_rudder_arming_type 2018-09-11 19:34:39 +10:00
Randy Mackay 72234e5db6 Copter: arming check formatting fixes 2018-09-11 19:34:39 +10:00
Randy Mackay ede27b23d9 Copter: support disabling rudder arming 2018-09-11 19:34:39 +10:00
Michael du Breuil 470548a100 Copter: Allow starting mission commands to fail 2018-09-11 06:42:00 +10:00
Randy Mackay b5d722245a Copter: minor comment fix 2018-09-10 13:50:31 +09:00
Randy Mackay 314ce5695a Copter: 3.6.0-rc9 release notes 2018-09-09 15:49:53 +09:00
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