Commit Graph

890 Commits

Author SHA1 Message Date
Niels Joubert
4abbda616f ArduCopter: GPS Callback for calculating base position 2014-06-30 10:29:56 +10:00
Randy Mackay
d0194b7a9d Copter: remove home variable
home has moved to ahrs
saves 15 bytes of RAM
2014-06-11 11:05:15 +09:00
Randy Mackay
4221833028 Copter: flip records starting attitude
Previously flip relied on the attitude controller not updating the earth
frame target during the flip which can't be guaranteed.  Safer for flip
to maintain it's own copy of the original attitude .
2014-06-10 20:02:32 +09:00
Robert Lefebvre
5ee87f7561 Copter: Change TradHeli to use new AC_HELI_PID class. 2014-05-29 17:39:04 +09:00
Randy Mackay
d4a892c650 Copter: AC3.2-rc2 release notes and version 2014-05-27 14:44:15 +09:00
Randy Mackay
3f329d0857 Copter: version to AC3.2-rc1 2014-05-09 13:48:47 +09:00
Randy Mackay
fb2be07b44 Copter: update AC_WPNav instantiation 2014-05-08 16:15:29 +09:00
Randy Mackay
466e9db1f9 Copter: integrate AC_WPNav get_speed_xy name change 2014-04-30 21:46:07 +09:00
Randy Mackay
ae9477600c Copter: add mavlink motor_test
Based on original work by Nils Hogberg
2014-04-29 11:31:45 +09:00
Randy Mackay
a5602c5f14 Copter: updated contributors list
Add JulianD and SandroT and replaced tabs with spaces
2014-04-24 11:28:41 +09:00
Randy Mackay
01538c5290 Copter: remove unused lon_error, lat_error 2014-04-21 15:06:32 +09:00
Andrew Chapman
fa3732ac6d Copter: integrate AP_Rally 2014-04-19 15:00:23 +09:00
Randy Mackay
d2dad1b2c1 Copter: remove unused circle_desired_rotations
desired num rotations is already held in command so we save 1byte of RAM
2014-04-16 16:28:11 +09:00
Andrew Tridgell
1189978334 Copter: ensure we log both GPS at the time we receive a message 2014-04-10 10:30:10 +10:00
Emile Castelnuovo
9e31f032c2 Copter: added VRBRAIN board #includes and #defines 2014-04-08 16:19:20 +10:00
Randy Mackay
ff32b27272 Copter: integrate parachute lib 2014-04-07 13:36:44 +09:00
Andrew Tridgell
640b64f5e4 Copter: convert to new GPS API 2014-04-01 06:38:24 +11:00
Andrew Tridgell
198388b5e0 Copter: use AP_GPS_Auto for 2nd GPS 2014-04-01 06:38:23 +11:00
Jonathan Challinger
045c6d8c3f Copter: Only play GPS tone when armed 2014-03-31 20:34:16 +09:00
Randy Mackay
ac364c93dd Copter: bug fix for simple_mode when run at 400hz
Mark radio frame as consumed so that simple mode does not apply the yaw
correction more than once when run at very high rates (like 400hz on
Pixhawk)
2014-03-28 17:03:31 +09:00
Randy Mackay
8f946a3a8c Copter: remove original_wp_bearing
To-Do: extend wpnav yaw control to only repoint nose towards waypoint if
it is more than 5m or 10m away
2014-03-28 09:23:21 +09:00
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