Randy Mackay
43ba94e99a
Copter: rename manual_flight_mode to mode_has_manual_throttle
2015-02-02 22:31:01 +09:00
Randy Mackay
e0cfe091fb
Copter: setup uart after checking usb_connected
2015-01-29 14:05:15 +11:00
Randy Mackay
f91fb9a4e8
Copter: rename frsky_telemetry_send function
2015-01-29 14:05:14 +11:00
Randy Mackay
34503de18e
Copter: integrate SerialManager
...
Remove serial0, serial1 baud and protocol parameters
Pass serial_manager to GCS, GPS, mount, FrSky_telem objects during init
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
2015-01-29 14:05:14 +11:00
Randy Mackay
c51ba8cd03
Copter: integrate mount frontend-backend restructure
...
initialise mount on startup
use Mount::has_pan_control method
Remove calls to unimplemented mount.configure_cmd
Remove call to update_mount_type which will be handled from within mount
lib
2015-01-29 13:57:18 +11:00
Matthias Badaire
a2d71d2811
Copter: Frsky telemtry change move parameter to init of the class
...
Parameter needs to be passed and use at the init of the class frsky telem
2015-01-22 16:49:39 +11:00
Randy Mackay
d49489ca7e
Copter: optflow_position_ok requires using EKF
2015-01-22 14:40:13 +09:00
Randy Mackay
01f1ce4cb3
Copter: position_ok false when EKF in const pos mode
2015-01-22 14:40:11 +09:00
Randy Mackay
e464909ddf
Copter: position_ok true when EKF predicts it will be ok
...
This resolves the chicken and egg problem of the EKF filter status's
position flags not becoming true until after the vehicle has been armed
at least once.
2015-01-22 14:39:52 +09:00
Randy Mackay
fd0b82f669
Copter: add optflow_position_ok and use for loiter
...
This allows entering Loiter flight mode with only optical flow based
position
2015-01-22 14:39:47 +09:00
Randy Mackay
199dc3454d
Copter: replace GPS_ok with position_ok
...
position_ok uses the EKF's filter status if the EKF is being used
otherwise it falls back to the GPS based checks used by inertial nav
2015-01-22 14:39:45 +09:00
Andrew Tridgell
cb5552f0e3
Copter: fixed build with optflow disabled
2015-01-04 12:29:22 +11:00
Andrew Tridgell
788bb8ab9f
Copter: make optflow available to AHRS
2015-01-03 14:16:34 +11:00
Andrew Tridgell
b6c06ab691
Copter: fix build with new mavlink repo
2014-11-18 11:20:04 +11:00
Randy Mackay
0ac3267d52
Copter: reset ahrs gyro drift after gyro calibration
2014-10-28 20:25:36 +09:00
Andrew Tridgell
4c0351a76a
Copter: convert to new AP_InertialSensor API
2014-10-24 12:10:38 +11:00
Randy Mackay
a559a12ea2
Copter: remove LOG_FROM_STARTUP define
...
This compile-time method is obsolete now that we have the logging while
disarmed feature
2014-10-17 16:40:18 +09:00
Randy Mackay
dcf72e9b78
Copter: remove extra in_mavlink_delay from should_log function
...
Also return false when logging disabled
2014-10-17 16:32:39 +09:00
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
2014-10-17 16:29:59 +09:00
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
2014-10-15 16:35:43 +09:00
Jonathan Challinger
8e3d163c3d
Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero
2014-10-08 20:54:24 +09:00
Randy Mackay
e7753223ba
Copter: low battery msg to severity high
2014-09-21 17:33:19 +09:00
Randy Mackay
9bbf40109e
Copter: add LOG_FROM_STARTUP definition
...
Uncommenting this line in APM_Config.h will start logging as soon as the
board starts up instead of waiting for the vehicle to be armed
2014-09-20 12:23:47 +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
Randy Mackay
bf18fb896a
Copter: send extended status to GCS only after initialisation
2014-09-09 22:17:46 +09:00
Andrew Tridgell
90f306cd3c
Copter: set GPS non-blocking
...
the new GPS driver only ever needs a non-blocking port
2014-08-19 10:08:17 +10:00
Randy Mackay
7686660c73
Copter: use baro healthy()
2014-08-14 16:03:23 +09:00
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