Commit Graph

919 Commits

Author SHA1 Message Date
Randy Mackay
b587d0d597 Copter: pass eeprom start to Mission constructor 2014-03-19 12:11:56 +09:00
Randy Mackay
67a4b47f6b Copter: pass ahrs into mission constructor 2014-03-19 12:10:15 +09:00
Randy Mackay
5d568502a0 Copter: instantiate AP_Mission object 2014-03-19 12:10:03 +09:00
Randy Mackay
c56f521897 Copter: ch6 tuning of RC_FEEL_RP 2014-03-04 22:23:53 +09:00
Andrew Tridgell
37394b30ee Copter: added support for 2nd GPS 2014-02-26 09:40:29 +11:00
Randy Mackay
2457dbf0cd Copter: more checks before starting compassmot
additional checks that copter is landed and that compassmot calibration
isn't already being performed.
Returns ACK to ground station as process begins
2014-02-19 16:04:03 +11:00
Andrew Tridgell
76b60a1a52 Copter: added compassmot over MAVLink
use the MAVLink interact code to allow for compassmot over MAVLink

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-02-19 16:04:00 +11:00
Randy Mackay
fdae812814 Copter: DO_SET_ROI persists across waypoints
Users should add a DO_SET_ROI command with zero lat, lon and alt to
restore the yaw control to the default control (which is normally
look-at-next-wp)
2014-02-18 21:36:02 +09:00
Randy Mackay
bf68edd01c Copter: bug fix to 50hz logging rate
Caught by Emile Castelnuovo
2014-02-17 22:25:02 +09:00
Andrew Tridgell
ce66314f40 Copter: fixed HIL build on PX4 2014-02-17 12:34:34 +11:00
Randy Mackay
00913ffe1b Copter: throttle rate to simple P controller
Saves at least 15bytes of RAM
2014-02-16 13:35:40 +11:00
Andrew Tridgell
9c66dd0d2c Copter: change to Compass::learn_offsets 2014-02-16 13:22:13 +11:00
Randy Mackay
aab9b30bf6 Copter: replace APM_PI with AC_P
Saves about 90bytes of RAM
2014-02-15 06:09:08 +11:00
Andrew Tridgell
ebf6d47830 Copter: disable direct tuning, we need accessors for this 2014-02-15 05:48:24 +11:00
Andrew Tridgell
2fbdf7f718 Copter: fixed build for AHRS API changes 2014-02-15 05:48:22 +11:00
Andrew Tridgell
a8dc1be4de Copter: fixed non-EKF copter build 2014-02-15 05:48:21 +11:00
Randy Mackay
20989fd5e9 Copter: allow ch6 tuning of EKF 2014-02-15 05:48:20 +11:00
Andrew Tridgell
99b3517a47 Copter: use AP_InertialNav_NavEKF when available 2014-02-15 05:48:15 +11:00
Andrew Tridgell
c6e25483b4 Copter: use a common home with AHRS 2014-02-15 05:48:15 +11:00
Andrew Tridgell
79a29d12f2 Copter: fixed build for new AHRS API 2014-02-15 05:29:47 +11:00
Andrew Tridgell
af5a3dff93 Copter: enable use of AHRS_NavEKF 2014-02-15 05:29:47 +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
Andrew Tridgell
644bf71f56 Copter: fixed build for InertialNav change 2014-02-15 05:29:46 +11:00
Randy Mackay
0df1dc267b Copter: integrate WPNav constructor change 2014-02-15 05:27:50 +11:00
Randy Mackay
1b8055aed9 Copter: remove unused t7 const
Saves 4 bytes
2014-02-15 05:27:49 +11:00
Randy Mackay
2b3995ccb5 Copter: integrate refs for RC_Channels in motor defs 2014-02-15 05:27:49 +11:00
Randy Mackay
6380a39d3a Copter: remote update_trig from main code 2014-02-15 05:27:48 +11:00
Randy Mackay
12a4ce70fd Copter: remove control_roll, pitch, yaw variables 2014-02-15 05:27:47 +11:00
Randy Mackay
b0673d693b Copter: move set_mode, to flight_mode.pde 2014-02-15 05:27:47 +11:00
Randy Mackay
7afa0a767c Copter: correct circle rate tuning to use circle_nav 2014-02-15 05:27:46 +11:00
Randy Mackay
989a03a643 Copter: remove unused flags and variables 2014-02-15 05:27:45 +11:00
Randy Mackay
223c6fd4de Copter: remove deadwood, update_thr_cruise always runs 2014-02-15 05:27:45 +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
bca309eb1e Copter: replace takeoff_complete with landed_complete 2014-02-15 05:27:43 +11:00
Randy Mackay
3b0de0d23d Copter: integrate trad heli AttControl 2014-02-15 05:27:43 +11:00
Randy Mackay
1457a9d31a Copter: auto_mode to global scope 2014-02-15 05:27:41 +11:00
Randy Mackay
af890e0f8d Copter: add AC_Circle include 2014-02-15 05:27:40 +11:00
Randy Mackay
8b9eb7ab2b Copter: WPNav constructor change 2014-02-15 05:27:39 +11:00
Randy Mackay
055ce4e53e Copter: integrate control_rtl 2014-02-15 05:27:39 +11:00
Randy Mackay
011de6683e Copter: land_detector moved to control_land 2014-02-15 05:27:38 +11:00
Randy Mackay
d92e894af6 Copter: get_throttle_surface_tracking returns climb rate 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
dc6f622d48 Copter: move NTUN logging to 10hz loop 2014-02-15 05:27:36 +11:00
Randy Mackay
0a2adbac1b Copter: renaming functions after moving xy control 2014-02-15 05:27:36 +11:00
Randy Mackay
5fd9410ff5 Copter: much renaming as xy pos controller moves 2014-02-15 05:27:36 +11:00
Randy Mackay
d380e6b4d3 Copter: integrate add ref to AC_Pos_Control from WP_Nav 2014-02-15 05:27:35 +11:00
Randy Mackay
49367c5a30 Copter: GCS.h include fix 2014-02-15 05:27:35 +11:00
Randy Mackay
7e37b16ccb Copter: move update_flight_mode to fast loop 2014-02-15 05:27:35 +11:00
Randy Mackay
b34664ea07 Copter: remove unused altitude error 2014-02-15 05:27:34 +11:00
Randy Mackay
5649b7f4d9 Copter: integrate AC_PosControl constructor changes 2014-02-15 05:27:33 +11:00
Randy Mackay
33552b63d8 Copter: early integration of AC_PosControl 2014-02-15 05:27:33 +11:00
Randy Mackay
7f56b28767 Copter: move thr control to control_stabilize 2014-02-15 05:27:33 +11:00
Randy Mackay
2253cf9769 Copter: run main loop at 400hz for pixhawk 2014-02-15 05:27:33 +11:00
Randy Mackay
cbe56bba25 Copter: integrate AC_AttitudeControl 2014-02-15 05:27:32 +11:00
Randy Mackay
7b9a48107e Copter: move angle_max parameter to AP_Vehicle 2014-02-15 05:27:32 +11:00
Andrew Tridgell
0a3476bbf1 Copter: change to new board_voltage() API 2014-02-14 21:50:59 +11:00
Randy Mackay
2219f21744 Copter: add RC_FEEL_RP parameter
Values from 0 ~ 100 control amount of filtering on roll and pitch input.
100 = no filter so crisp feel, 0 = a lot of filtering so very sluggish
response
2014-02-12 16:28:41 +09:00
Randy Mackay
89b222f1cf Copter: only report gps glitch when usb disconnected 2014-02-11 11:43:24 +09:00
Randy Mackay
8f5585423c Copter: use ahrs trig values 2014-02-08 18:16:49 +09:00
Randy Mackay
5bcc2f5ca5 Copter: version to AC3.2-dev 2014-02-08 11:32:59 +09:00
Randy Mackay
5d929351ca Copter: removed unused servo3, servo4 from coax 2014-02-07 12:36:17 +09:00
Dneault
f48e106271 Copter: add coax heli support
Motors should be attached to RCOutputs 1 and 2, Flaps should be connected
to RC outputs 3 and 4
2014-02-07 12:36:04 +09:00
Andrew Tridgell
5a3a7f1cec Copter: use new RC_Channels API 2014-02-06 10:17:16 +11:00
Randy Mackay
a078d00e6a Copter: firmware to AC3.1.2-rc1 2014-01-30 14:00:20 +09:00
Randy Mackay
34f14a7c13 Copter: version to AC3.1.1-rc2
This update applies to pixhawk only
2014-01-21 21:23:11 +09:00
Andrew Tridgell
e8b8cc1a5d Copter: converted to AP_ServoRelayEvents 2014-01-20 17:06:29 +11:00
Andrew Tridgell
e3804e2846 Copter: fixes for AP_Relay API change 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
ae4f368f16 Copter: allow ch6 tuning of loiter speed 2014-01-15 15:22:52 +09:00
Randy Mackay
dd5521aa06 Copter: update version to AC3.1.1-rc1 2014-01-14 21:01:54 +09:00
Andrew Tridgell
8a41b18a1f Copter: use uppercase names on SD card where possible 2014-01-14 12:46:26 +11:00
Randy Mackay
df9d1614e2 Copter: remove PID logging
Almost never used and eats up limited log description space
2014-01-13 17:23:39 +09:00
Randy Mackay
9f2f44f0f6 Copter: integrate shrunken optflow 2014-01-09 12:31:53 +09:00
Randy Mackay
1793ee804e Copter: remove armed check before logging 2014-01-07 22:43:49 +09:00
Randy Mackay
99f851fc87 Copter: bugfix for starting in LOITER
Loiter's Roll-Pitch mode was not being set on start-up.
2013-12-30 17:18:10 +09:00
Andrew Tridgell
7c39d867bb Copter: use file based logs in SITL 2013-12-29 07:14:21 +11:00
Andrew Tridgell
97df2f64c9 Copter: use common available_memory() 2013-12-28 16:02:32 +11:00
Randy Mackay
ab1bb6886c Copter: remove reference to COPTER_LEDS 2013-12-19 16:19:48 +09: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
ctech4285
2b5d8aa5b7 Copter: integrate EPM library 2013-12-17 15:36:42 +09:00
Andrew Tridgell
dd749c1de3 Copter: when using file logs use "logs" directory 2013-12-17 11:51:36 +11:00
Andrew Tridgell
f37a2c979d Copter: don't need Log_Write_IMU2() now 2013-12-09 17:34:07 +11:00
Andrew Tridgell
0cacc7eaeb Copter: log both primary and secondary INS samples 2013-12-09 17:34:06 +11:00
Randy Mackay
f8165c2864 Copter: ignore yaw input during radio failsafe 2013-12-06 13:50:07 +09:00
Randy Mackay
8fcbb7e59b Copter: OF_Loiter update control_roll and pitch 2013-12-02 11:58:59 +09:00
Randy Mackay
ec65fd136d Copter: enable external leds 2013-11-30 22:54:13 +09:00
Randy Mackay
59cea4b88c Copter: remove CopterLED from main code 2013-11-30 18:20:55 +09:00
Randy Mackay
a744658b47 Copter: combine nav_roll and control_roll
Control_roll, control_pitch now always hold the desired lean angle
whether it be from the pilot or autopilot.
2013-11-27 23:11:30 +09:00
Randy Mackay
f08cc010ea Copter: firmware to ArduCopter V3.2-dev 2013-11-27 22:50:12 +09:00
Randy Mackay
7ef04bb73b Copter: rename nav_yaw to control_yaw 2013-11-27 22:48:20 +09:00
Randy Mackay
10d6a9a34e Copter: replace Log_Write_Motors with Log_Write_RCOU 2013-11-27 20:18:18 +09:00
Randy Mackay
af657d58b9 Copter: RCIN dataflash logging 2013-11-27 16:46:25 +09: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
b8bfe008e1 Copter: run GPS glitch detection even when not armed 2013-11-22 21:46:32 +09:00
Randy Mackay
4e6d41bc8e Copter: remove unused gps_fix_count 2013-11-22 11:53:50 +09:00
Randy Mackay
fe6ad3579c Copter: log GPS messages even when no fix 2013-11-22 11:51:48 +09:00
Randy Mackay
1a0f80ee64 Copter: AC3.1-rc7 version and release notes 2013-11-21 17:30:08 +09:00