Andrew Tridgell
8acfbb2ee0
AP_NavEKF: add another health check in the EKF
...
if SV, SP and SH are all off then the most likely cause is divergence
of the EKF. This was done based on a flight log with bad gyro cal
2014-11-22 18:27:51 +11:00
Andrew Tridgell
f84f432ecf
AP_InertialSensor: allow gyro calibration to take up to 30 seconds
...
this gives time for the user time to get their battery hatches on and
hold the model steady. 5 seconds was just far too short
2014-11-22 18:27:51 +11:00
Randy Mackay
20f3f19285
Compass: add new rotation to ORIENT param description
2014-11-22 14:13:25 +09:00
Randy Mackay
503d14428d
AP_Math: add new rotation to example rotation sketch
2014-11-22 14:10:00 +09:00
Randy Mackay
3d2c9910b3
AP_Math: add yaw 293, pitch 68, roll 180 rotation
2014-11-22 14:09:16 +09:00
Randy Mackay
13b8159fb5
Copter: only allow one preflight calibration at a time
2014-11-21 22:00:45 +09:00
Andrew Tridgell
b4e01b7936
Plane: if SKIP_GYRO_CAL is set the do a gyro cal on 3D accel cal
...
otherwise the user has no opportunity to do a gyro calibration
2014-11-21 19:09:19 +11:00
Andrew Tridgell
826ae8ee8b
Plane: prepare for 3.1.2beta3
2014-11-21 14:50:04 +11:00
Andrew Tridgell
1d2d8c903a
Rover: make preflight calibration follow plane conventions
2014-11-21 14:47:09 +11:00
Andrew Tridgell
c33f54378f
Plane: changed preflight calibration to prevent accel cal from MP
...
MissionPlanner sends param1=1 and param3=1 for preflight
calibration. This was having the effect of redoing the accel
calibration as 1D cal on every flight!
2014-11-21 14:46:42 +11:00
Andrew Tridgell
4f44a63bef
build: fixed build with PX4/Firmware master
...
the reflect command has not been merged upstream yet
2014-11-20 08:59:04 +11:00
Randy Mackay
330b52194f
Copter: change to switch order in guided spline
...
No functional change
2014-11-19 12:06:30 -08:00
Arthur Benemann
db89bd6f03
Copter: correct frame/location of guided spline
2014-11-19 11:59:13 -08:00
Andrew Tridgell
2c7290fdc0
Plane: fixed baro test in CLI
...
fixes issue #1623
thanks to klrill-ka
2014-11-19 21:42:27 +11:00
Andrew Tridgell
2bb7606fba
Plane: no need to set flaperons separately from flaperon_update()
...
fixes issue #1622
thanks to klrill-ka
2014-11-19 21:32:49 +11:00
Andrew Tridgell
6d10797c59
build: enable uavcan if ../uavcan directory is present
2014-11-18 21:42:36 +11:00
Andrew Tridgell
a9ee2ae253
PX4: change IMU order so vib isolated IMUs are 1 and 2
...
also try to start external ms5611
2014-11-18 15:39:37 +11:00
priseborough
d57c99f1cc
DataFlash: Fix bug in logging of EKF IMU1 Z accel bias
2014-11-18 13:39:42 +11:00
Andrew Tridgell
78db698108
AP_Mount: allow a MOUNT_CONTROL message to reset RC targetting
...
fixes issue #1617
2014-11-18 13:35:11 +11:00
Randy Mackay
84f82dd129
Copter: correct get_pilot_desired_throttle calc
...
Also minor format and commenting addition
2014-11-17 18:16:14 -08:00
Randy Mackay
73f3b50e2f
RC_Channel: make get_control_mid const
2014-11-17 18:16:12 -08:00
Jonathan Challinger
3a529b2cef
Copter: utilize get_control_mid for throttle calculations
2014-11-17 18:16:11 -08:00
Jonathan Challinger
9375fc8947
RC_Channel: add get_control_mid function
2014-11-17 18:16:09 -08:00
Jonathan Challinger
4d7988b302
RC_Channel: replace long with int32_t
2014-11-17 18:16:08 -08:00
Andrew Tridgell
14467b75a1
AP_Mount: use norm_input_dz()
...
this makes rc targeting much easier without drift
2014-11-18 12:44:29 +11:00
Andrew Tridgell
6b0c15b70f
RC_Channel: added norm_input_dz()
...
normalised input, taking into account dead zone
2014-11-18 12:44:05 +11:00
Andrew Tridgell
ad0e6dccbb
GCS_MAVLink: re-generate headers
2014-11-18 11:20:44 +11:00
Andrew Tridgell
de294277e9
GCS_MAVLink: cope with new mavlink repo change in mavlink_system_t
2014-11-18 11:20:28 +11:00
Andrew Tridgell
a519e0abb6
Plane: fix build with new mavlink repo
2014-11-18 11:20:08 +11:00
Andrew Tridgell
b6c06ab691
Copter: fix build with new mavlink repo
2014-11-18 11:20:04 +11:00
Andrew Tridgell
6b5492a586
AntennaTracker: fix build with new mavlink repo
2014-11-18 11:19:59 +11:00
Andrew Tridgell
1ed02441a0
Rover: fix build with new mavlink repo
2014-11-18 11:19:53 +11:00
Andrew Tridgell
abba6395ad
AP_TECS: fixed spelling error
2014-11-18 11:12:57 +11:00
Randy Mackay
c74aff56c1
Plane: move MOUNT_STATUS lower in GCS_MAVLink
2014-11-17 15:59:44 -08:00
Randy Mackay
c6e70179d2
Copter: move MOUNT_STATUS lower in GCS_MAVLink
...
No functional change
2014-11-17 15:59:41 -08:00
Randy Mackay
48c00728a7
Rover: add MOUNT_STATUS to STREAM_EXTRA3
2014-11-17 15:59:38 -08:00
Randy Mackay
8ef2948f27
GCS_MAVLink: generate update to version
2014-11-17 15:59:36 -08:00
Randy Mackay
e46be909a4
GCS_MAVLink: generate after mount_status msg change
2014-11-17 15:59:33 -08:00
Arthur Benemann
9ae443f2a2
Plane: append MOUNT_STATUS message to STREAM_EXTRA3 messages
2014-11-17 15:59:31 -08:00
Arthur Benemann
9b5684d007
GCS_MAVLink: add MOUNT_STATUS to message enum
2014-11-17 15:59:28 -08:00
Arthur Benemann
6bee8969a1
Copter: append MOUNT_STATUS message to STREAM_EXTRA3 messages
...
The msg is now periodically sent to the GCS, instead of only on request.STREAM_EXTRA3
2014-11-17 15:59:26 -08:00
Arthur Benemann
f7f9bedc38
AP_Mount: update the status_msg() method to match the new definition
2014-11-17 15:59:23 -08:00
Arthur Benemann
c5b4121fc7
GCS_MAVLink: MOUNT_STATUS to always be reporting the angle of the gimbal
...
This is useful for GCS trying to plot the camera footprint.
2014-11-17 15:59:21 -08:00
Jonathan Challinger
387f3276cb
Copter: handle SET_POSITION_TARGET mavlink messages
2014-11-17 14:38:55 -08:00
Jonathan Challinger
055d3bee1f
GCS_MAVLink: run generate.sh
2014-11-17 14:38:53 -08:00
Jonathan Challinger
a4f994e8f0
GCS_MAVLink: update MAV_FRAME enum
2014-11-17 14:38:51 -08:00
Jonathan Challinger
1b1327dc93
Copter: add Guided_Spline mode
2014-11-17 14:38:48 -08:00
Jonathan Challinger
2cc65dffe0
AC_WPNav: add set_spline_dest_and_vel function
2014-11-17 14:38:46 -08:00
Jonathan Challinger
e7939cca01
Copter: change function definitions in guided to static
2014-11-17 14:38:43 -08:00
Andrew Tridgell
0672d1fc3c
Plane: mark beta2
2014-11-16 14:41:37 +11:00