Commit Graph

298 Commits

Author SHA1 Message Date
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
Andrew Tridgell a49710f20e Copter: added uartD support
this also brings GCS_Mavlink.pde closer to the plane implementation
2013-11-26 13:05:32 +11:00
Randy Mackay a812ef4660 Copter: minor comment update for set_mode 2013-11-16 13:56:15 +09:00
Randy Mackay 8c9ab50ba2 TradHeli: restore CC_COMP and PIRO_COMP 2013-11-15 22:58:43 +09:00
Randy Mackay 527f05ddec Copter: remove unused init_rate_controllers 2013-11-15 22:58:22 +09:00
Randy Mackay 633e91b7d4 Copter: initialise roll, pitch, yaw modes to stabilize
This fixes a bug in which the stabilize throttle controller would be
non-tilt compensated until the user switched to another flight mode and
back again
2013-11-15 22:57:56 +09:00
Randy Mackay ae87759e6d TradHeli: add THROTTLE_MANUAL_HELI
Move check_dynamic_flight to run as scheduled task
2013-11-15 22:57:53 +09:00
Randy Mackay 46118b59d7 TradHeli: integrate motor lib changes 2013-11-15 22:57:43 +09:00
Robert Lefebvre c5b119288d TradHeli: Add Motor Runup check to the auto_arming check. 2013-11-15 22:57:31 +09:00
Jason Short 371dc8c616 Copter: Drift Mode
Changes Toy mode declarations to Drift mode.
Requires GPS, Mode 2 transmitter
Drift mode mixes Roll, Pitch and Yaw into a single stick on mode two transmitters.
2013-11-14 14:43:15 +09:00
Randy Mackay 03831cdd28 Copter: GPS ok only when not glitching
Removed redundant checks to GPS_ok before setting flight mode to RTL
(this check is already performed inside the set_mode function)
Removed reset of home distance and bearing when GPS lock is lost, it now
remains at the last known value
2013-11-11 22:24:18 +09:00
Randy Mackay e4d8c673f3 Copter: force gyro calibration on start-up 2013-11-10 21:51:54 +09:00
Andrew Tridgell 6b1f59372c Copter: show git and firmware version in tlog 2013-11-09 10:09:20 +11:00
Jason Short 520a535c21 Copter: TOY mode updates 2013-11-02 21:34:48 +09:00
Andrew Tridgell f6f6caafc8 Copter: int gyros on arm, not on first boot
this makes first boot much faster
2013-11-02 21:41:11 +11:00
Randy Mackay 7c7f235a97 Copter: ignore flight mode change requests if we're already in the desired mode 2013-10-15 11:53:56 +09:00
Andrew Tridgell b69f08c03e Copter: reduce timer speed to 500 on APM2
this reduces the cost of timer interrupts
2013-10-13 11:03:41 +09:00
Andrew Tridgell 64d34dc125 Copter: give UARTA 512 bytes
this reduces load by allowing more contiguous writes to the serial
buffers
2013-10-13 11:02:55 +09:00