Andrew Tridgell
fce20b24c2
Replay: fixed printf format
10 years ago
Andrew Tridgell
7db0244dac
AP_Compass: added some comments
10 years ago
Jonathan Challinger
9054dd3f9a
AP_Compass: use apply_correction_function to eliminate duplication
10 years ago
Randy Mackay
677f6cce7f
AP_Motors: reduce slow-start increment for fast CPUs
10 years ago
Randy Mackay
a8c96946eb
Copter: log DCM reported roll-pitch and yaw error
10 years ago
Randy Mackay
542ec29e49
Parachute: set servo or relay to off position on every update
...
This resolves the issue of the parachute servo's position not being
initialised to the off position due to an ordering problem of the
auxiliary servos being initialised after the parachute object.
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
ebcf582f66
Copter: add NearlyAll-AC315 LOG_BITMASK description
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
Andrew Tridgell
874efe95a1
Copter: fixed parameter path
...
fixes build of parameters
10 years ago
Randy Mackay
27b73fa209
Copter: enable Optflow by default for Pixhawk only
10 years ago
Randy Mackay
6becb1a722
Copter: add DCM check of yaw error
...
Triggers an "ekf" failsafe if the DCM yaw error is > 60deg
10 years ago
Randy Mackay
b0e6931ab0
Copter: add DCM_CHECK_THRESH parameter
10 years ago
Randy Mackay
b96e123480
Copter: remove unused Log_Write_IMU function
10 years ago
Randy Mackay
7bd8d48809
Copter: fence breach causes disarm if landed
...
Previously it would only disarm if the throttle was also at zero.
Pair programmed with Tridge
10 years ago
Andrew Tridgell
26f7ab49e3
Copter: fixed some build warnings
10 years ago
Randy Mackay
eed6a1ce61
OptFlow: fix example sketch so it compiles
10 years ago
Randy Mackay
4e06970a1c
Copter: disable OptFlow in SITL
10 years ago
Randy Mackay
a476a914b0
OptFlow_PX4: check healthy before updating
10 years ago
Randy Mackay
f504ea7b30
OptFlow_ADNS3080: check healthy before updating
10 years ago
Randy Mackay
aa3e34a44a
Copter: move update_optflow to sensors.pde
...
Also slightly shorten function name
10 years ago
Randy Mackay
d238f48dda
OptFlowPX4: fix compile error for APM
10 years ago
Randy Mackay
67b7b2d667
Copter: enable optflow by default for Pixhawk
10 years ago
Randy Mackay
7b07b575cf
Copter: pilot override used immediately in OF_Loiter
...
Replace some hard coded numbers with definitions
10 years ago
Randy Mackay
a9cfbb71b8
OptFlowPX4: use ORB to pull data from sensor
...
This change is required because PX4Firmware has changed the method used
to pull data from the sensor.
10 years ago
Randy Mackay
28876b7ef6
Copter: log ground distance from optflow sensor
10 years ago
Randy Mackay
ec4581b35a
OptFlow: add ground_distance_m
10 years ago
Randy Mackay
b2e167f9a5
Copter: Of_Loiter uses sensor velocity instead of integrated position
10 years ago
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
10 years ago
Randy Mackay
717e63f47a
Copter: instantiate optflow on Pixhawk
...
Run sensor reads from scheduler
10 years ago
Randy Mackay
021485fffc
Copter: simpler optflow logging
...
Removed of_loiter control output from message
add TimeMS to OF dataflash log msg
10 years ago
Randy Mackay
765ce2f6ca
Copter: optflow parameters moved to optflow class
10 years ago
Randy Mackay
4b0548973a
OptFlow: add PX4Flow support
10 years ago
Randy Mackay
3c4be75487
OptFlow: reorganise ADNS3080 to simplified interface
10 years ago
Randy Mackay
b64f9ed964
OptFlow: rename and restructure OpticalFlow class
...
AP_OpticalFlow.h becomes simply a file that includes all other optical
flow header files.
OpticalFlow class simplified to only return surface quality, raw output
and velocity vector.
10 years ago
Randy Mackay
4bdd814dcc
Build: enable px4flow driver on Pixhawk
10 years ago
Andrew Tridgell
4ad643b233
AP_AHRS: use a common function for updating the CD values
...
this ensures the wrapping of yaw is consistent between the 3 use cases
10 years ago
Andrew Tridgell
eec5cd5add
AP_AHRS: restore DCM attitude before update()
...
The DCM drift correction code uses the current attitude to calculate
error values to update its gyro drift correction. If we were using EKF
then without this patch the DCM code running as an alternative AHRS
source would be using the EKF attitude for calculating the error
value, leading to very bad gyro drift estimation
10 years ago
Andrew Tridgell
63c06ea2af
AP_AHRS: fixed calls to DCM in parent class
...
use_compass() and reset() are common to AP_AHRS_DCM and
AP_AHRS_NavEKF. As AP_AHRS_NavEKF is a child of AP_AHRS_DCM, when we
call use_compass() from within AP_AHRS_DCM we actually end up calling
AP_AHRS_NavEKF::use_compass().
This has the effect of disabling the compass in DCM when EKF is active
and EKF has decided not to use the compass. That means that the DCM
yaw (and in fact the whole attitude) can get badly off while EKF is
enabled, making DCM an ineffective fallback if EKF fails.
The fix is to call the specific class versions of use_compass() and
reset()
10 years ago
Andrew Tridgell
6e0e56a6ef
Replay: fixed loading of users parameters and parameter override
...
use compass.set_offsets() to avoid trying to write to storage
10 years ago
Andrew Tridgell
b437977547
AP_Compass: added set_offsets() interface
...
this will be used by Replay to prevent the need for saving parameters
10 years ago
Randy Mackay
6690aff305
AC_Motors: param description addition
10 years ago
Randy Mackay
d09faa0015
BattMon: minor param description additions
10 years ago
Randy Mackay
45e0e48e54
BattMon: minor param description update
10 years ago
Randy Mackay
3a81732721
Baro: minor param description updates
10 years ago
Randy Mackay
57229345e0
Copter: minor param description updates
10 years ago
Randy Mackay
6a225865ce
Copter: accept velocity requests in Auto-Guided mode
10 years ago
Randy Mackay
c636ea9101
Copter: support SET_POSITION_TARGET messages
10 years ago
Randy Mackay
992ce9b69c
Copter: remove nav_guided structure
...
This has been replaced by guided_limit structure
10 years ago