Andrew Tridgell
e1a88a13a7
GCS_MAVLink: added MAV_CMD_DO_LAND_START
...
see discussion on drones-discuss
2014-10-20 08:36:19 +11:00
Andrew Tridgell
7636cc6971
GCS_MAVLink: merged upstream changes
2014-10-20 08:36:19 +11:00
Jonathan Challinger
1c75ce88f2
AP_Buffer: change pop_front to return a bool if successful
2014-10-20 08:26:14 +11:00
Jonathan Challinger
ceef10cc41
AP_Buffer: Add peek_mutable function allowing in-place modification of buffered objects
2014-10-20 08:26:14 +11:00
Jonathan Challinger
630a87d9a9
AP_Buffer: remove scalar assignment so that non-scalars can be buffered
2014-10-20 08:26:14 +11:00
Andrew Tridgell
834c91b192
PX4: try starting the ll40ls on either I2C bus
2014-10-20 07:07:14 +11:00
Jonathan Challinger
cdd2199138
AP_Math: expand frame transformation test case for quaternions
2014-10-20 06:24:33 +11:00
Jonathan Challinger
3befe74afa
AP_Math: change quaternion class to use const references where optimal
2014-10-20 06:24:30 +11:00
Jonathan Challinger
70845882a7
AP_Math: fix up rotation test suite
2014-10-20 06:24:27 +11:00
Jonathan Challinger
6076f3fa22
AP_NavEKF: Quaternion::to_euler now uses references instead of pointers
2014-10-20 06:24:25 +11:00
Jonathan Challinger
1f7e393e38
AP_Math: refactor quaternion library
2014-10-20 06:24:22 +11:00
Andrew Tridgell
baad65bafc
Replay: update for new copter ATTITUDE message
2014-10-19 20:12:12 +11:00
Andrew Tridgell
ef0eca4835
AP_Airspeed: fixed airspeed in Replay
2014-10-19 19:42:15 +11:00
Andrew Tridgell
fce20b24c2
Replay: fixed printf format
2014-10-19 19:41:57 +11:00
Andrew Tridgell
7db0244dac
AP_Compass: added some comments
2014-10-19 17:02:45 +11:00
Jonathan Challinger
9054dd3f9a
AP_Compass: use apply_correction_function to eliminate duplication
2014-10-19 17:02:45 +11:00
Randy Mackay
677f6cce7f
AP_Motors: reduce slow-start increment for fast CPUs
2014-10-18 20:54:08 +09:00
Randy Mackay
a8c96946eb
Copter: log DCM reported roll-pitch and yaw error
2014-10-18 20:09:39 +09:00
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.
2014-10-18 17:26:23 +09: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
ebcf582f66
Copter: add NearlyAll-AC315 LOG_BITMASK description
2014-10-17 16:40:13 +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
Andrew Tridgell
874efe95a1
Copter: fixed parameter path
...
fixes build of parameters
2014-10-17 15:54:53 +11:00
Randy Mackay
27b73fa209
Copter: enable Optflow by default for Pixhawk only
2014-10-16 21:17:54 +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
b0e6931ab0
Copter: add DCM_CHECK_THRESH parameter
2014-10-16 17:22:11 +09:00
Randy Mackay
b96e123480
Copter: remove unused Log_Write_IMU function
2014-10-16 15:25:34 +09:00
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
2014-10-16 14:09:02 +09:00
Andrew Tridgell
26f7ab49e3
Copter: fixed some build warnings
2014-10-16 14:04:11 +09:00
Randy Mackay
eed6a1ce61
OptFlow: fix example sketch so it compiles
2014-10-16 13:52:07 +09:00
Randy Mackay
4e06970a1c
Copter: disable OptFlow in SITL
2014-10-15 20:46:06 +09:00
Randy Mackay
a476a914b0
OptFlow_PX4: check healthy before updating
2014-10-15 16:36:40 +09:00
Randy Mackay
f504ea7b30
OptFlow_ADNS3080: check healthy before updating
2014-10-15 16:36:38 +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
d238f48dda
OptFlowPX4: fix compile error for APM
2014-10-15 16:36:33 +09:00
Randy Mackay
67b7b2d667
Copter: enable optflow by default for Pixhawk
2014-10-15 16:36:31 +09:00
Randy Mackay
7b07b575cf
Copter: pilot override used immediately in OF_Loiter
...
Replace some hard coded numbers with definitions
2014-10-15 16:36:28 +09:00
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.
2014-10-15 16:36:25 +09:00
Randy Mackay
28876b7ef6
Copter: log ground distance from optflow sensor
2014-10-15 16:35:51 +09:00
Randy Mackay
ec4581b35a
OptFlow: add ground_distance_m
2014-10-15 16:35:48 +09:00
Randy Mackay
b2e167f9a5
Copter: Of_Loiter uses sensor velocity instead of integrated position
2014-10-15 16:35:45 +09:00
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
2014-10-15 16:35:43 +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
021485fffc
Copter: simpler optflow logging
...
Removed of_loiter control output from message
add TimeMS to OF dataflash log msg
2014-10-15 16:35:38 +09:00
Randy Mackay
765ce2f6ca
Copter: optflow parameters moved to optflow class
2014-10-15 16:35:36 +09:00
Randy Mackay
4b0548973a
OptFlow: add PX4Flow support
2014-10-15 16:35:33 +09:00
Randy Mackay
3c4be75487
OptFlow: reorganise ADNS3080 to simplified interface
2014-10-15 16:35:31 +09:00
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.
2014-10-15 16:35:29 +09:00
Randy Mackay
4bdd814dcc
Build: enable px4flow driver on Pixhawk
2014-10-15 16:35:26 +09:00