Commit Graph

315 Commits

Author SHA1 Message Date
Andrew Tridgell 3ccac6736d Copter: rename TELEM2_PROTOCOL to SERIAL2_PROTOCOL
this matches SERIAL2_BAUD
2014-07-30 14:49:10 +10:00
Matthias Badaire 147e91877e Copter: Add SERIAL2_PROTOCOL for GCS and FRsky telemtry
this allows selection of protocol type on telem2. The default is
MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:19 -07:00
Randy Mackay df4bc3d617 Copter: pass motor_mask to ServoRelayEvents 2014-07-26 16:33:26 +09:00
Randy Mackay 7bda6cbadf Copter: integrate EKF check
Check runs at 10hz
Log ekf check failures and ekd failsafes
2014-07-22 23:13:25 +09:00
Andrew Tridgell 49954a3a61 Copter: use sensors from board subtypes 2014-07-14 09:44:35 +10:00
Randy Mackay 7f9cd20377 Copter: set UARTs non-blocking at end of initialisation
Previously we were setting to non-block after arming but this reduce the
chance of bumping into a NuttX USB driver issue that can cause the uart
to become unresponsive and also makes Copter consistent with Plane
2014-07-11 15:27:29 +09:00
Andrew Tridgell a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10: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
Andrew Tridgell a55c511f63 Copter: updates for new GCS_MAVLink API 2014-05-21 12:45:25 +10:00
Andrew Tridgell 836b365bc8 Copter: use setup_uart() 2014-05-16 11:45:11 +10:00
Andrew Tridgell e07b70de4e Copter: set AHRS vehicle class 2014-04-21 18:13:13 +10:00
TeamOSEOLA 7dda8afd60 Copter: Fixed GPS_ok() status checking
Fixed the GPS_ok() so that TRUE is returned in the cases of DGPS and Assisted GPS fixes, not just 3D fix.
2014-04-11 09:01:35 +10:00
Andrew Tridgell 640b64f5e4 Copter: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell 11e5b95878 Copter: updates for GPS changes 2014-03-24 12:04:46 +11:00
Randy Mackay b718b9070a Copter: call mission.init during startup 2014-03-19 12:11:47 +09:00
Randy Mackay 9f03e21f81 Copter: remove low-level handling of mission cmds
Now handled by AP_Mission
2014-03-19 12:10:04 +09:00
Andrew Tridgell 43d009e3a5 Copter: set 2nd GPS as secondary 2014-03-08 21:48:18 +11:00
Andrew Tridgell 37394b30ee Copter: added support for 2nd GPS 2014-02-26 09:40:29 +11:00
Andrew Tridgell 86afd13f12 Copter: use GPS AIRBORNE_4G 2014-02-15 05:48:17 +11:00
Andrew Tridgell 24f2ac20de Copter: removed HIL_MODE_ATTITUDE
this really can't work any more, as AHRS can't support it
2014-02-15 05:29:46 +11:00
Randy Mackay b0673d693b Copter: move set_mode, to flight_mode.pde 2014-02-15 05:27:47 +11:00
Randy Mackay 0e0d02cd6d Copter: remove unused init from sport mode 2014-02-15 05:27:46 +11:00
Randy Mackay aec67cd3df Copter: integrate control_autotune 2014-02-15 05:27:44 +11:00
Randy Mackay d90d3d8dca Copter: integrate control_flip 2014-02-15 05:27:44 +11:00
Randy Mackay ec989c720c Copter: integrate heli_control_acro 2014-02-15 05:27:43 +11:00
Randy Mackay 922dff0514 Copter: integrate heli_control_stabilize 2014-02-15 05:27:43 +11:00
Randy Mackay ef666c73ab Copter: remove Position mode 2014-02-15 05:27:42 +11:00
Randy Mackay 37bde3406d Copter: remove comments 2014-02-15 05:27:41 +11:00
Randy Mackay 3b003ea3e6 Copter: remove setting of nav mode 2014-02-15 05:27:38 +11:00
Randy Mackay f3bcbb2ce4 Copter: remove setting roll, pitch yaw modes in set_mode 2014-02-15 05:27:37 +11:00
Randy Mackay 65f7bf92f4 Copter: replace yaw_mode with auto_yaw_mode 2014-02-15 05:27:37 +11:00
Randy Mackay 4540fb3fef Copter: remove set roll-pitch, yaw, thr modes for ACRO, LOITER 2014-02-15 05:27:36 +11:00
Randy Mackay a52e220724 Copter: add loiter controller to onion
Also add ignore_checks to flight mode initialisation
2014-02-15 05:27:35 +11:00
Randy Mackay abb42bcb41 Copter: remove unused run_rate_controllers 2014-02-15 05:27:34 +11:00
Randy Mackay 2c03a3a3c6 Copter: set pos_control.set_dt 2014-02-15 05:27:34 +11:00
Randy Mackay 2253cf9769 Copter: run main loop at 400hz for pixhawk 2014-02-15 05:27:33 +11:00
Randy Mackay 3a78263921 Copter: skeleton init call for all flight modes 2014-02-15 05:27:33 +11:00
Andrew Tridgell 0a3476bbf1 Copter: change to new board_voltage() API 2014-02-14 21:50:59 +11:00
Andrew Tridgell e8b8cc1a5d Copter: converted to AP_ServoRelayEvents 2014-01-20 17:06:29 +11:00
Andrew Tridgell 50a90a1043 Copter: enable AP_BoardConfig 2014-01-20 17:06:28 +11:00
Randy Mackay 8a29d63d89 Copter: faster baro calibration when arming
using update_calibration() instead of the full calibrate() cuts
1.5seconds of the arming time
2014-01-15 23:28:24 +09:00
Randy Mackay b3d20bb8aa TradHeli: Drift mode to use heli manual throttle 2014-01-10 11:06:06 +09:00
Andrew Tridgell 97df2f64c9 Copter: use common available_memory() 2013-12-28 16:02:32 +11:00
Randy Mackay d362bb45fd Copter: move sensor init from setup(to init_ardupilot
This fixes a bug in which the external led was not being disabled if the
EPM was enabled (they share pins).  The cause of the problem was the EPM
was being initialised before it's parameters had been loaded
2013-12-19 14:12:19 +09:00
Andrew Tridgell edda76623f Copter: updates for DataFlash API changes 2013-12-17 11:51:36 +11:00
Randy Mackay 59cea4b88c Copter: remove CopterLED from main code 2013-11-30 18:20:55 +09:00
Randy Mackay 7ef04bb73b Copter: rename nav_yaw to control_yaw 2013-11-27 22:48:20 +09:00
Andrew Tridgell 9c812d5028 Copter: added SERIAL2_BAUD and rename SERIAL3_BAUD to SERIAL1_BAUD 2013-11-26 13:05:32 +11:00