priseborough
20e715aa13
Copter : Remove ADNS3080 flow sensor support
2014-12-06 18:16:43 +11:00
priseborough
5ef2208017
Copter: Change flow sensor read sample rate to 10Hz
2014-12-06 18:16:43 +11:00
Randy Mackay
7be78621f4
Copter: run_nav_updates at 50hz on Pixhawk, 25hz on APM2
...
Based on work by Jon Challinger (see earlier commit)
2014-12-05 14:01:16 +09:00
Jonathan Challinger
203b713f0d
Copter: run_nav_updates at 100hz on pixhawk
2014-12-05 14:01:14 +09:00
Randy Mackay
8a61f5acd2
Copter: add comments to control switch debouncing
2014-10-31 15:48:28 +09:00
Jonathan Challinger
5c8b39562f
Copter: rework control switch debouncing
2014-10-31 15:30:27 +09:00
Jonathan Challinger
b0594e8d56
Copter: supply wp_nav with attitude_control
2014-10-31 15:23:54 +09:00
Andrew Tridgell
4c0351a76a
Copter: convert to new AP_InertialSensor API
2014-10-24 12:10:38 +11:00
Randy Mackay
f6ff1742d5
Copter: landing detector checks baro climb rate
...
Barometer climb rate must be -150cm/s ~ +150cm/s
This threshold is generous because we already use the inertial
navigation climb rate so this is just to catch cases where inertial nav
is very incorrect in it's climbrate estimates
2014-10-22 17:29:14 +09:00
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
2014-10-17 16:29:59 +09:00
Randy Mackay
6becb1a722
Copter: add DCM check of yaw error
...
Triggers an "ekf" failsafe if the DCM yaw error is > 60deg
2014-10-16 17:22:14 +09:00
Randy Mackay
aa3e34a44a
Copter: move update_optflow to sensors.pde
...
Also slightly shorten function name
2014-10-15 16:36:36 +09:00
Randy Mackay
717e63f47a
Copter: instantiate optflow on Pixhawk
...
Run sensor reads from scheduler
2014-10-15 16:35:40 +09:00
Randy Mackay
992ce9b69c
Copter: remove nav_guided structure
...
This has been replaced by guided_limit structure
2014-10-13 21:40:26 +09:00
Jonathan Challinger
96f50b7cd7
Copter: add throttle_zero state
2014-10-08 20:54:19 +09:00
Jonathan Challinger
fa9d10e59b
Copter: log CURR message at 10hz
2014-10-08 20:49:36 +09:00
Randy Mackay
b9977a1115
Copter: add land_complete_maybe flag
2014-09-19 16:43:15 +09:00
Randy Mackay
14d80910ec
Copter: integrate EPM ver2
2014-09-17 21:13:35 +09:00
Jonathan Challinger
8ca4795ffb
Copter: Log NTUN while in LAND mode with GPS
2014-09-16 10:19:33 +09:00
Randy Mackay
bf18fb896a
Copter: send extended status to GCS only after initialisation
2014-09-09 22:17:46 +09:00
Randy Mackay
7d350735df
TradHeli: update AttControlHeli constructor
...
reference to rc_1, rc2 are replaced with constant updates during
acro_run
2014-08-22 16:29:02 +09:00
Robert Lefebvre
82061bc65d
TradHeli: Add pointer for pilot roll/pitch inputs to attitude_control constructor. To be used for flybar passthrough.
2014-08-22 16:28:40 +09:00
Randy Mackay
fcc5c7c12e
Copter: update master firmware ver to AC3.3-dev
...
Further AC3.2 fixes will appear in the ArduCopter-3.2 branch
2014-08-18 11:45:54 +09:00
Randy Mackay
7202aa00da
Copter: remove compass learn of offsets
...
This saves 1k of flash and the interference on most copters makes this
option unusable anyway.
2014-08-16 10:45:11 +09:00
Randy Mackay
515cb7c671
Copter: AC3.2-rc5 version and release notes
2014-08-14 21:38:56 +09:00
Andrew Tridgell
e260f1c569
Copter: convert to using StorageManager
2014-08-13 18:46:44 +10:00
Randy Mackay
0518439841
Copter: move relay from ch6 to ch7/ch8
2014-08-09 13:37:12 +09:00
Andrew Tridgell
4d284a695d
Copter: fix for changed AP_Terrain API
2014-08-06 17:59:19 +10:00
Randy Mackay
8a07701d07
Copter: remove ch6 tuning of INAV_TC
...
Users normally never change these parameters and if by chance they do want
to, they can set them before flying
2014-08-01 15:14:42 +09:00
Randy Mackay
3e6e776360
Copter: of-loiter unavailable if OPTFLOW not enabled
...
of-loiter was small but still present even when optflow was disabled
2014-08-01 15:14:32 +09:00
Randy Mackay
7a2288523e
Copter: version and release notes for AC3.2-rc4
2014-08-01 13:56:09 +09: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
7cc1501dc6
Copter: integrate baro glitch protection
2014-07-28 22:16:20 +09:00
Andrew Tridgell
8e65e5bff0
Copter: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE
2014-07-25 07:59:54 +10:00
Andrew Tridgell
0562907d9f
Copter: added AP_Terrain library
2014-07-24 21:46:06 +10: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
Jonathan Challinger
fc34a2fed1
Copter: updated AttitudeControl ctor call to reflect changes
2014-07-16 14:40:58 +09:00
Randy Mackay
b6ef3dc5d7
Copter: add parenthesis around ntun log bitmask
...
Resolves one compiler warning
2014-07-16 14:40:45 +09:00
Andrew Tridgell
49954a3a61
Copter: use sensors from board subtypes
2014-07-14 09:44:35 +10:00
Andrew Tridgell
fa4abdb0ae
Copter: added support for MPU9250
2014-07-14 09:44:34 +10:00
Randy Mackay
34bc136a6c
Copter: AC3.2-rc3 version and release notes
2014-07-11 14:18:48 +09:00
Randy Mackay
65e5367619
Copter: rename hybrid to poshold
2014-07-11 14:09:01 +09:00
Robert Lefebvre
8eb557d1e0
TradHeli: Add Heli.h file
2014-07-08 20:18:10 +09:00
Robert Lefebvre
1f422c86c1
Arducopter: Add independent rate roll and pitch P, I, D tuning options. Add rate feedforward tuning options for tradheli.
2014-07-08 20:18:08 +09:00
Robert Lefebvre
ff71b0fa35
TradHeli: Create new function to move data between AP_MotorsHeli and AP_AttitudeControl.
2014-07-08 20:17:57 +09:00
Robert Lefebvre
1aa3961151
Arducopter: Improve comments for scheduler. Add timing table for AVR processors.
2014-07-08 20:17:54 +09:00
Andrew Tridgell
a4b9b989b7
Copter: convert to new AP_RangeFinder API
2014-07-08 15:08:18 +10:00
Randy Mackay
f5640dadbf
Copter: guided mode velocity controller
2014-07-06 17:01:08 +09:00
Randy Mackay
fdc0ec837b
Copter: add nav_guided suport to Auto mode
2014-07-06 17:00:31 +09:00
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
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