Commit Graph

322 Commits

Author SHA1 Message Date
Andrew Tridgell 14a90ea001 Copter: removed NOINLINE define 2015-05-21 09:35:51 +10:00
Randy Mackay 09a98b89b7 Copter: add RTL to front of RTLState enum values
This removes the confusing Land enum value which also appears in the
flight mode enum
2015-05-19 13:55:50 +09:00
Randy Mackay 8d05eaae16 Copter: add aux switch for Brake flight mode 2015-05-17 14:44:35 +09:00
Randy Mackay 7acdcd8905 Copter: rename stop to brake 2015-05-17 14:44:34 +09:00
Randy Mackay 41077be4ad Copter: parachute failure message if landed 2015-05-12 22:03:58 +09:00
Andrew Tridgell 6dc3cff000 Copter: added LOG_BITMASK 1<<19 for logging raw accel/gyro data
useful for checking vibration handling
2015-05-07 12:09:00 +10:00
Randy Mackay 0812e16008 Copter: explicitly define flight modes enum
Thanks to Luis Vale for spotting this
2015-05-02 13:24:33 +09:00
Robert Lefebvre 41a6cc64ff Copter: Log Emergency Stop and Motor Interlock status 2015-05-01 14:30:43 +09:00
Robert Lefebvre d8a0952b5a Copter: Explicitly define aux_switch enum. 2015-05-01 14:30:42 +09:00
Robert Lefebvre da2854403e Copter: Explicitly define tuning_func enum value 2015-05-01 14:30:42 +09:00
Robert Lefebvre fab8604f16 Copter: Change Auto Yaw #define table into Enum. 2015-05-01 14:30:39 +09:00
Robert Lefebvre 32b4e70cb7 Copter: Deprecate Aux Switch Multi-Mode 2015-05-01 14:30:38 +09:00
Robert Lefebvre 22a7fba289 Copter: Change autopilot modes into Enum 2015-05-01 14:30:37 +09:00
Robert Lefebvre 39d23519b1 Copter: Change CH6_Tuning #defines into Enum 2015-05-01 14:30:36 +09:00
Robert Lefebvre 2010410c44 Copter: Add numbers to Aux Switch Enum comments 2015-05-01 14:30:28 +09:00
Robert Lefebvre 7349827eb1 Copter: Add Aux Switch E-Stop Function 2015-05-01 14:30:26 +09:00
Robert Lefebvre e4c5915330 Copter: initial creation of motor_interlock 2015-05-01 14:30:21 +09:00
Jonathan Challinger 73d961cebc Copter: mavlink initiated takeoff in alt-hold modes
adds PILOT_TKOFF_ALT for target altitude above home in cm for pilot initiated takeoff
2015-05-01 12:56:18 +09:00
Andrew Chapman 4311cd4e7a Copter: add logging for CH6 parameter tuning
Logs CH6 tuning values to a new PTUN log struct, specific to
APM::Copter at this point
2015-04-28 14:14:01 +09:00
Andrew Tridgell cb2427ef9e Copter: removed special cases for DCM gain changes on arm/disarm
copter no longer uses DCM, so it doesn't need these special cases
2015-04-28 14:07:39 +10:00
Robert Lefebvre 1aa696bc10 Copter: Implement Stop Mode 2015-04-26 16:11:47 +09:00
Randy Mackay dfb720bab6 Copter: rename FULL_IMU logging to IMU_FAST
This naming is consistent with the earlier ATTITUDE_FAST option and
clarifies that it's the rate that's increased rather than the content.
2015-04-20 13:49:04 +09:00
Peter Barker 5a45de5e00 Copter: IMU full-rate logging LOG_BITMASK flag 2015-04-20 13:48:58 +09:00
Jaime Machuca 3c00b0a0a8 Copter: ch7/ch8 for lost copter sound 2015-04-13 17:44:39 +09:00
Randy Mackay 11576a0f1e Copter: fix bitmask for use with SET_POSITION_TARGET
Thanks to vooon for spotting this
2015-04-11 11:57:41 +09:00
Randy Mackay 74b98b89d0 Copter: remove dcm check 2015-03-27 00:04:37 -07:00
Randy Mackay 522ef8f91f Copter: rename MOT df msg to MOTB
This will slightly reduce confusion with the MOT message from AC3.1.5
that eventually became RCOUT
2015-03-18 21:25:45 +09:00
Randy Mackay b679fd0be0 Copter: log RATE with ATT 2015-03-18 21:25:42 +09:00
Randy Mackay e6c3f4f97b Copter: move aux switch enum to defines.h 2015-03-17 21:18:49 +09:00
Robert Lefebvre 97cd3614eb Copter: Change Aux Switch function list to enum. 2015-03-17 21:18:46 +09:00
Robert Lefebvre a5af151a91 Copter: Initial expansion of Aux Switch to Ch7-12 2015-03-17 21:18:41 +09:00
Randy Mackay fbfc94cf69 Copter: remove GPS glitch and failsafe
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
2015-03-13 16:40:46 +09:00
Randy Mackay 0476558049 Copter: remove USE_EKF from ch7/ch8 switch 2015-03-13 16:40:20 +09:00
Leonard Hall c78480e14f Copter: rename loiter_pos to pos_xy
Also renamed throttle_rate to vel_z, throttle_accel to accel_z
2015-03-06 14:02:17 +09:00
Leonard Hall e232867661 Copter: move LOITER_RATE to 2-axis PI controller
Also rename LOITER_RATE to VEL_XY for parameters, definitions, variables
2015-03-06 14:02:15 +09:00
Leonard Hall 1ec5eedd23 Copter: ch6 tuning of yaw rate filter 2015-03-06 14:02:13 +09:00
Leonard Hall 8ba195a3a2 Copter: add Mot and Rate dataflash logging 2015-03-06 14:02:07 +09:00
Leonard Hall 3e8563dd8b Copter: ch6 tuning definition for yaw min headroom 2015-03-03 15:48:17 +09:00
Andrew Tridgell 74ef1b8d2f Copter: removed HomeState from defines.h
now in AP_Common.h
2015-02-21 10:14:32 +11:00
Randy Mackay e081b9d1c7 Copter: home is set becomes three state 2015-02-12 15:00:50 +09:00
Randy Mackay 34503de18e Copter: integrate SerialManager
Remove serial0, serial1 baud and protocol parameters
Pass serial_manager to GCS, GPS, mount, FrSky_telem objects during init
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
2015-01-29 14:05:14 +11:00
Robert Lefebvre 4b86a4aeec Arducopter: Change mode logging to use common-vehicle DataFlash library. 2015-01-21 14:37:20 +09:00
Robert Lefebvre 422970a1b1 Arducopter: Change compass logging to use common-vehicle DataFlash library. 2015-01-21 14:37:16 +09:00
Robert Lefebvre 1b152cf2bf ArduCopter: Change Current logging to use common-vehicle logging in DataFlash library. 2015-01-21 14:37:04 +09:00
Robert Lefebvre c9d5b6aa7f Arducopter: Change Attitude logging to use common-vehicle logging in DataFlash library. 2015-01-21 14:36:59 +09:00
Randy Mackay 80f59694d0 Copter: remove deprecated Guided-Spline
Guided-Spline has been replaced by Guided-PosVel
2015-01-07 14:03:50 +09:00
Jonathan Challinger bc29008233 Copter: add guided_posvel 2015-01-07 14:02:21 +09:00
Robert Lefebvre e10e020062 Copter: Add Landing Gear functionality to main code 2015-01-07 11:58:16 +09:00
Randy Mackay 67fdfffc2a Copter: remove OF_Loiter PIDs and tuning 2014-12-08 14:58:18 +09:00
Jonathan Challinger 387f3276cb Copter: handle SET_POSITION_TARGET mavlink messages 2014-11-17 14:38:55 -08:00