Commit Graph

335 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa 4d4b856735 ArduCopter: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-11 16:28:40 +10:00
Randy Mackay 764fa36716 Copter: log ERR when compass, baro unhealthy 2015-07-12 22:11:35 +09:00
Randy Mackay cfe046c9d1 Copter: log EKF height reset 2015-07-06 12:11:54 +09:00
Robert Lefebvre 01ae84dda6 Copter: Create Loiter state machine. 2015-06-29 13:49:55 +09:00
Randy Mackay 2b35fbc81f Copter: remove redundant ToRad definition 2015-06-27 19:20:50 +09:00
Robert Lefebvre a642c88e34 Copter: AltHold state machine 2015-06-22 13:23:53 +09:00
Robert Lefebvre ee6508d5a7 Copter: Event Log rotor speed going below critical 2015-06-19 15:10:54 +09:00
Robert Lefebvre 62079226ff Copter: add Heli Dataflash message 2015-06-19 15:10:52 +09:00
Robert Lefebvre c6281c772d Copter: add rotor_runup_complete Event Logging 2015-06-19 15:10:48 +09:00
Leonard Hall b336ab4de7 Copter: Autotune remove logging of BAD_GAINS event
This should never happen so no need to log
2015-06-18 23:06:48 +09:00
Randy Mackay e3183babde Copter: remove unused GPS failsafe definitions 2015-06-10 12:06:10 +09:00
Randy Mackay aa05325b54 Copter: add althold as ekf failsafe action 2015-06-10 12:06:08 +09:00
Andrew Tridgell 1792710f41 Copter: added a bit in LOG_BITMASK for PID logging 2015-05-27 15:09:47 +10:00
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