Randy Mackay
f603c1ef69
Copter: fix ekf-check reliance on position_ok
10 years ago
Randy Mackay
b2ca7ee3fa
Copter: Log_Write_Startup writes parameters
10 years ago
Grant Morphett
518308efae
Copter: Moving parameter logging to be after all systems have started
10 years ago
Andrew Tridgell
b87cc80486
Copter: fixed some warnings
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Robert Lefebvre
80b4ca99f8
Copter: Heli Semantic Change. Motor Runup to Rotor Runup.
10 years ago
Randy Mackay
d8b7e4a199
Copter: add support for 4th mavlink channel
10 years ago
Andrew Tridgell
6dc3cff000
Copter: added LOG_BITMASK 1<<19 for logging raw accel/gyro data
...
useful for checking vibration handling
10 years ago
Andrew Tridgell
cb2427ef9e
Copter: removed special cases for DCM gain changes on arm/disarm
...
copter no longer uses DCM, so it doesn't need these special cases
10 years ago
Tom Pittenger
b57437042e
Copter: fix compile warnings for unused functions
10 years ago
Randy Mackay
a20a89181c
Copter: enable CPU failsafe after initialisation
...
This removes a false positive during startup that lead to an error
appearing at the start of the dataflash log
10 years ago
Randy Mackay
24f24a7db7
Copter: integrate Serial Manager instance
10 years ago
Randy Mackay
b4df5b35f0
Copter: fix compiler error when mount disabled
10 years ago
Randy Mackay
c41ecca8d5
Copter: re-order position_ok function
...
no functional change
10 years ago
Randy Mackay
088a49abbf
Copter: remove APM1, APM2 support
10 years ago
Randy Mackay
6f6847c025
Copter: use only InertialNav_EKF
...
remove calls to unsupported functions including ignore_next_error,
set_altitude, etc.
10 years ago
Andrew Tridgell
3f906f6bd1
Copter: added CLI_ENABLED option
10 years ago
Randy Mackay
9bd3a7249a
Copter: disable inertial nav
10 years ago
Randy Mackay
d5fd6d2a99
Copter: use home_is_set function
10 years ago
Randy Mackay
43ba94e99a
Copter: rename manual_flight_mode to mode_has_manual_throttle
10 years ago
Randy Mackay
e0cfe091fb
Copter: setup uart after checking usb_connected
10 years ago
Randy Mackay
f91fb9a4e8
Copter: rename frsky_telemetry_send function
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Randy Mackay
d49489ca7e
Copter: optflow_position_ok requires using EKF
10 years ago
Randy Mackay
01f1ce4cb3
Copter: position_ok false when EKF in const pos mode
10 years ago
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.
10 years ago
Randy Mackay
fd0b82f669
Copter: add optflow_position_ok and use for loiter
...
This allows entering Loiter flight mode with only optical flow based
position
10 years ago
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
10 years ago
Andrew Tridgell
cb5552f0e3
Copter: fixed build with optflow disabled
10 years ago
Andrew Tridgell
788bb8ab9f
Copter: make optflow available to AHRS
10 years ago
Andrew Tridgell
b6c06ab691
Copter: fix build with new mavlink repo
10 years ago
Randy Mackay
0ac3267d52
Copter: reset ahrs gyro drift after gyro calibration
10 years ago
Andrew Tridgell
4c0351a76a
Copter: convert to new AP_InertialSensor API
10 years ago
Randy Mackay
a559a12ea2
Copter: remove LOG_FROM_STARTUP define
...
This compile-time method is obsolete now that we have the logging while
disarmed feature
10 years ago
Randy Mackay
dcf72e9b78
Copter: remove extra in_mavlink_delay from should_log function
...
Also return false when logging disabled
10 years ago
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
10 years ago
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
10 years ago
Jonathan Challinger
8e3d163c3d
Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero
10 years ago
Randy Mackay
e7753223ba
Copter: low battery msg to severity high
11 years ago
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
11 years ago
Randy Mackay
b9977a1115
Copter: add land_complete_maybe flag
11 years ago
Randy Mackay
14d80910ec
Copter: integrate EPM ver2
11 years ago
Randy Mackay
bf18fb896a
Copter: send extended status to GCS only after initialisation
11 years ago
Andrew Tridgell
90f306cd3c
Copter: set GPS non-blocking
...
the new GPS driver only ever needs a non-blocking port
11 years ago
Randy Mackay
7686660c73
Copter: use baro healthy()
11 years ago
Andrew Tridgell
3ccac6736d
Copter: rename TELEM2_PROTOCOL to SERIAL2_PROTOCOL
...
this matches SERIAL2_BAUD
11 years ago
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
11 years ago