Andrew Tridgell
ea49d1cd39
AP_InertialSensor: removed unused variable
2015-03-12 12:50:30 +11:00
Andrew Tridgell
b36122dec0
Filter: removed stdio.h
...
breaks AVR build
2015-03-12 12:50:30 +11:00
Andrew Tridgell
e6a4b9f68c
AP_InertialSensor: check accel health during accel cal
2015-03-12 12:50:29 +11:00
Andrew Tridgell
875339f12a
AP_InertialSensor: try to avoid a compiler fault in travis
2015-03-12 12:50:29 +11:00
Andrew Tridgell
29bf3f569e
Rover: removed 1D accel calibration
2015-03-12 12:50:29 +11:00
Andrew Tridgell
bd4476cb84
AntennaTracker: removed 1D accel cal
2015-03-12 12:50:29 +11:00
Andrew Tridgell
5175f21225
Plane: removed 1D accel calibration
2015-03-12 12:50:29 +11:00
Andrew Tridgell
031c81beee
AP_AHRS: removed call to 1D accel cal
2015-03-12 12:50:29 +11:00
Andrew Tridgell
4deb136bb0
AP_Arming: require 3D accel cal always
2015-03-12 12:50:28 +11:00
Andrew Tridgell
786172aa4e
AP_InertialSensor: removed 1D accel calibration
...
it is finally time to move on from this. We want to push people
towards better calibration and removing the 1D accel cal is the first
step
2015-03-12 12:50:28 +11:00
Andrew Tridgell
a975520033
AP_InertialSensor: check range of accels in 3D calibration
...
during 3D accel cal it is possible to get data which passes the sphere
fit but which has very poor coverage and does not provide sufficient
data for a good result. This checks that each axis covers a range of
at least 12 m/s/s in body frame
2015-03-12 12:50:28 +11:00
Andrew Tridgell
a8a8628515
AP_InertialSensor: added INS_CALSENSFRAME parameter
...
this allows us to detect if accel calibration was done in sensor frame
or not. If it was done in sensor frame then the accel calibration is
independent of AHRS_ORIENTATION, which makes it easier to move a board
to a new airframe without having to recalibrate.
2015-03-12 12:50:28 +11:00
Jonathan Challinger
bc655ff0cc
AP_InertialSensor_PX4: add optional debug
2015-03-12 12:50:28 +11:00
Jonathan Challinger
074ee49cd0
AP_InertialSensor_PX4: interleave accel and gyro samples by time
2015-03-12 12:50:28 +11:00
Jonathan Challinger
addf80b669
AP_InertialSensor_PX4: explicitly configure sensors, publish deltas
2015-03-12 12:50:27 +11:00
Jonathan Challinger
b5131b7b64
AP_InertialSensor: add coning.py example
2015-03-12 12:50:27 +11:00
Jonathan Challinger
2a547f329b
AP_InertialSensor: allow backends to publish delta velocities and angles
2015-03-12 12:50:27 +11:00
Jonathan Challinger
155c173ed1
AP_InertialSensor: rename _rotate_and_offset to _publish
2015-03-12 12:50:27 +11:00
Jonathan Challinger
502446d821
AP_InertialSensor: use LowPassFilter2pVector3f
2015-03-12 12:50:27 +11:00
Jonathan Challinger
0133f0bb57
LowPassFilter2p: split into LowPassFilter2pfloat and LowPassFilter2pVector3f
2015-03-12 12:50:27 +11:00
Andrew Tridgell
f05c4eb019
PX4: enabled SPI hmc5883 for FMUv3
2015-03-12 12:50:27 +11:00
Randy Mackay
0447f6216a
Copter: get_pilot_desired_lean_angles uses angle_max of at least 10deg
...
Removes the unlikely event of a divide by zero if ANGLE_MAX is set to
zero and sticks were in middle
2015-03-11 22:24:44 +09:00
Jonathan Challinger
ecefe78417
Copter: interpret input in stabilize as a tilt vector
2015-03-11 22:24:42 +09:00
Andrew Chapman
e90f5375d0
added octa-quad target for SITL, fixed octa motor order
2015-03-11 21:38:25 +09:00
ustas
a2d5ac6805
AP_GPS: add includes for success build example sketch
...
include AP_Scheduler.h for achieve build GPS_UBLOX_passthrough example
2015-03-11 21:30:31 +09:00
mirkix
4f1dd85e47
AP_HAL: Add test sketch for RC input to RC output pass through
2015-03-11 21:14:15 +09:00
Robert Lefebvre
45a12646be
SITL: Initial improvements to tradheli simulation
2015-03-11 21:07:02 +09:00
Randy Mackay
12724e9556
AC_PID: remove include of stdio.h
2015-03-11 20:40:05 +09:00
Randy Mackay
721d551239
Copter: extend AUTOTUNE_AXIS param description
2015-03-11 17:28:47 +09:00
Randy Mackay
b475a2fe10
Copter: AutoTune formatting fixes
...
no functional change
2015-03-11 17:28:46 +09:00
Randy Mackay
cc0d5b9ced
AC_PI_2D: replace set_filt_hz method with filt_hz
...
Thanks to Jonathan Challinger for spotting this bug
2015-03-11 17:28:36 +09:00
Randy Mackay
c10b0b34ca
AC_PID: replace set_filt_hz method with filt_hz
...
Thanks to Jonathan Challinger for spotting this bug
Also add sanity check to filt_hz
2015-03-11 17:28:20 +09:00
Jonathan Challinger
88ec13b10d
AC_PosControl: fix build
2015-03-11 10:00:00 +09:00
Randy Mackay
50d2e98aa4
AC_AttControl: init throttle_hover in constructor
2015-03-10 22:10:36 +09:00
Randy Mackay
965db2c7f7
AC_PosControl: add comments and defines for jerk limits
2015-03-10 22:10:34 +09:00
Jonathan Challinger
4408c1b935
AC_PosControl: 2d jerk constraint in accel_to_lean_angles
2015-03-10 22:10:32 +09:00
Jonathan Challinger
9871b95586
AC_PosControl: fix dt sanity checking
2015-03-10 22:10:30 +09:00
Jonathan Challinger
e7efe23fb5
GCS_MAVLink: reserve message IDs for future feature additions
2015-03-10 15:30:14 +09:00
Randy Mackay
5e26450a6f
AP_Motors: make THR_LOW_COMP a variable instead of param
2015-03-10 12:20:27 +09:00
Leonard Hall
c537c38646
Copter: add update_throttle_low_comp
...
sets the priority of throttle vs attiude control so that attitude is
favoured (i.e. high throttle-low-comp) during dynamic flight while
throttle is favoured when vehicle may be landing.
2015-03-10 12:20:24 +09:00
Leonard Hall
007c96a3d8
AP_Motors: Low throttle compensation setters
2015-03-10 12:20:21 +09:00
Leonard Hall
6275ee0289
AP_Motors: Check for battery voltage reading fail
2015-03-10 12:20:19 +09:00
Leonard Hall
36c91970f1
Copter: Autotune algorithm update
2015-03-09 18:02:55 +09:00
Leonard Hall
9bfb0e1f40
Copter: Autotune comment changes and formatting
2015-03-09 18:02:52 +09:00
Leonard Hall
1c57c6a266
Copter: Autotune update yaw filt and rate P max
2015-03-09 18:02:50 +09:00
Randy Mackay
5f26a36060
INS: protect against two calibrations running at the same time
2015-03-09 17:58:38 +11:00
Randy Mackay
72d1113501
Copter: set accel and gyro disabled during calibration
2015-03-09 17:58:38 +11:00
Randy Mackay
f9c6e35d19
INS: add calibrating method
2015-03-09 17:58:38 +11:00
Randy Mackay
3e45052a75
Copter: reply with failed if gyro or accel cal fails
2015-03-09 17:58:38 +11:00
Randy Mackay
10724f5738
Copter: reject preflight calibration when armed
2015-03-09 17:58:38 +11:00