Commit Graph

3198 Commits

Author SHA1 Message Date
Andrew Tridgell 9f5eb3b464 Copter: remove log CLI code when CLI disabled 2014-07-08 14:28:19 +10:00
Jonathan Challinger 09a01a4668 Copter: Wait 4 seconds before beginning to land during failsafes 2014-07-06 20:25:04 +09:00
Jonathan Challinger cd08ec5a5f Copter: allow auto-disarm in autotune mode 2014-07-06 19:27:27 +09:00
Jonathan Challinger ff1f54b390 Copter: allow disarm in autotune mode 2014-07-06 19:27:23 +09:00
Jonathan Challinger 5b36e65cb9 Copter: Add parameter LAND_REPOSITION to enable/disable user input during auto-mode landings and descents 2014-07-06 19:20:25 +09:00
Randy Mackay 2dfef17caf Copter: guided reset yaw only when initialised 2014-07-06 17:02:13 +09:00
Randy Mackay 81355d1adf Copter: DO_SET_ROI accepted outside missions
Moved ROI logic to new set_auto_yaw_roi function.
2014-07-06 17:02:06 +09:00
MousS ae8fb3f1c5 Copter: MAV_CMD_CONDITION_YAW accepted outside missions 2014-07-06 17:01:15 +09:00
Randy Mackay 46badc05bc Copter: guided mode sets desired velocity instead of target velocity 2014-07-06 17:01:12 +09:00
Randy Mackay f5640dadbf Copter: guided mode velocity controller 2014-07-06 17:01:08 +09:00
Randy Mackay b027c71491 Copter: restore pv_get_horizontal_distance_cm function 2014-07-06 17:01:05 +09:00
Randy Mackay 12720bbbe1 Copter: accept condition-yaw commands in guided 2014-07-06 17:00:46 +09:00
Randy Mackay 279926e386 Copter: accept guided pos updates when doing NAV_GUIDED cmd 2014-07-06 17:00:35 +09:00
Randy Mackay fdc0ec837b Copter: add nav_guided suport to Auto mode 2014-07-06 17:00:31 +09:00
Randy Mackay af4490a3d5 Copter: remove mode from guided_set_dest
This duplicate check stopped us from reusing guided
guided_set_destination as part of Auto's nav_guided command
2014-07-06 17:00:29 +09:00
Andrew Tridgell 21b0b3bc15 Copter: log up to 3 mags 2014-07-04 12:07:59 +10:00
Niels Joubert 10b4757706 ArduCopter: Move MAVLink size check into library 2014-06-30 10:30:17 +10:00
Niels Joubert 4abbda616f ArduCopter: GPS Callback for calculating base position 2014-06-30 10:29:56 +10:00
Andrew Tridgell edafe7100b Copter: update for AP_Mount change 2014-06-18 12:04:48 +10:00
Randy Mackay e0f4a570c6 Copter: loiter turns radius from command's p1 field 2014-06-17 20:53:56 +10:00
Randy Mackay 01da4e29fb Copter: use relative_alt flag when decoding change_alt command 2014-06-17 20:53:41 +10:00
Randy Mackay 50e024fe8f Copter: flag current alt as relative
This is required so common Log_Write_Camera can calculate relative and
abs altitudes provided by either copter or plane

pair programmed with Craig Elder
2014-06-17 14:11:42 +10:00
Randy Mackay 8c488ebd87 Copter: use common Log_Write_Camera
pair programmed with Craig Elder
2014-06-17 14:11:39 +10:00
Randy Mackay 8c48b65175 Copter: bug fix to remove home variable
pair programmed with Craig Elder
2014-06-11 12:01:48 +09:00
Randy Mackay d0194b7a9d Copter: remove home variable
home has moved to ahrs
saves 15 bytes of RAM
2014-06-11 11:05:15 +09:00
Randy Mackay 5c305989b9 Copter: set home alt to absolute alt 2014-06-11 11:04:52 +09:00
Randy Mackay 09fc777ab9 Copter: slow motors after landing in AUTO
This resolves an issue in which the vehicle could tip over if the pilot
did not reduce the throttle to zero soon after landing in AUTO mode
2014-06-10 22:56:53 +09:00
Jason Short a873942f73 Fix to restore Gimbal control after Mission with ROI 2014-06-10 20:03:05 +09:00
Randy Mackay 810c87969c Copter: Ch7/8 switch to enable/disable feed forward and accel limiting 2014-06-10 20:03:04 +09:00
Randy Mackay 91b1d20b70 Heli: integrate AttControl's set_yaw_target_to_current_heading 2014-06-10 20:02:52 +09:00
Randy Mackay 08801eebf2 Copter: integrate AttControl's set_yaw_target_to_current_heading 2014-06-10 20:02:51 +09:00
lthall babe655b8f Copter: Remove acro acceleration slew todo
It has already been done :)
2014-06-10 20:02:37 +09:00
Randy Mackay 4221833028 Copter: flip records starting attitude
Previously flip relied on the attitude controller not updating the earth
frame target during the flip which can't be guaranteed.  Safer for flip
to maintain it's own copy of the original attitude .
2014-06-10 20:02:32 +09:00
Randy Mackay 75c328a752 TradHeli: integrate init_targets rename to relax_bf_rate_controller 2014-06-10 20:02:30 +09:00
Randy Mackay 77d5d682c1 Copter: integrate init_targets rename to relax_bf_rate_controller
Also remove unnecessary init_targets from flight mode init functions.
2014-06-10 20:02:29 +09:00
Randy Mackay 083f2898a9 Copter: use fast_atan2 for bearings to home and next WP 2014-06-06 18:51:06 +09:00
Randy Mackay f5f206b055 Copter: set inav alt to zero when arming 2014-06-06 18:42:45 +09:00
Ju1ien abd1370b2c Copter: flag stays landed unless pilot raises throttle 2014-06-06 18:42:30 +09:00
Valentin Brossard 9fcfea5404 Copter: accept DO_CHANGE_SPEED outside of missions
https://github.com/diydrones/ardupilot/issues/1095
2014-06-06 16:13:22 +09:00
Ju1ien fd9502d3fa Copter: Improve surface tracking dynamics
This little fix will allow much higher sonar_gain without the
oscillating effect it used to bring.
2014-06-06 15:32:49 +09:00
Randy Mackay db000f2287 Copter: remove setting rate and thr D term filters 2014-05-29 17:40:24 +09:00
Robert Lefebvre 5eb206e6bb Copter: Add 'handle' to allow #define updating of AC_PID filter rate for Throttle Accel. 2014-05-29 17:39:16 +09:00
Robert Lefebvre df1de4260d Copter: Set Rate PID D-term filter rates on initialization. 2014-05-29 17:39:12 +09:00
Robert Lefebvre 5ee87f7561 Copter: Change TradHeli to use new AC_HELI_PID class. 2014-05-29 17:39:04 +09:00
Randy Mackay 6496872885 Copter: release notes for AC3.1.5 2014-05-28 11:23:58 +09:00
Andrew Tridgell 1dbbdde8ef Copter: use new GCS_Common.cpp functions 2014-05-28 09:35:57 +10:00
Randy Mackay 0b5ff80b3e Copter: remove unused pos vector functions
removed pv_latlon_to_vector, pv_get_lat, pv_get_lon.
it would probably be best if these were moved into the Math library
2014-05-27 16:30:32 +09:00
Randy Mackay d4a892c650 Copter: AC3.2-rc2 release notes and version 2014-05-27 14:44:15 +09:00
Randy Mackay 20719e23fd Copter: enable PARACHUTE and RALLY for all but APM 2014-05-27 14:43:33 +09:00
Randy Mackay af10a6817c Copter: remove command_description.txt
Description in this file were out of date or incomplete and it is better
for people to refer to the MAVLink documentation or the
/libraries/GCS_MAVLink/message_definitions/common.xml and
ardupilotmega.xml files
2014-05-27 10:58:42 +09:00