Andrew Tridgell
92daa15ccc
AP_AHRS: on plane and rover make AHRS unhealthy when EKF not initialised
...
planes and rovers need full absolute position from the EKF if the EKF
is going to be used. We don't want users to arm without full
capabilities
10 years ago
Andy Piper
c600c1a746
DataFlash: log Gyro and Accel Health for IMUs.
...
Log the health of the various IMUs under GyHlt and AcHlt.
(Names are shortened to get inside the string array limit).
10 years ago
Andrew Tridgell
0619247992
HAL_Linux: don't advance time in delay() and delay_microseconds()
...
this could cause time to go backwards in Replay. Thanks to Peter for
finding this
10 years ago
Andrew Tridgell
29f0561ce4
AP_AHRS: reject EKF for plane when we have GPS and aren't fusing
...
plane users would prefer to use GPS in this case
10 years ago
Andrew Tridgell
6154db5cf8
AP_NavEKF: added using_gps status bit
10 years ago
Randy Mackay
0077cac1b7
AC_WPNav: rename stop to brake
10 years ago
Andrew Tridgell
80c20b5cf2
DataFlash: use L for latitude/longitude in DF messages
10 years ago
Tom Pittenger
e987173ffb
AP_NavEKF: float to double promotion via tan instead of tanf
10 years ago
Tom Pittenger
5f677c2b5b
AP_Math: float to double promotion via cos instead of cosf
10 years ago
Tom Pittenger
7b95241306
AP_HAL_SITL: float to double promotion via cos instead of cosf
10 years ago
Tom Pittenger
4f1dd2c8a4
AC_AttitudeControl: compiler warning stuff
...
float to double promotion via cos & sin instead of cosf & sinf
(this code is commented out but in case it ever gets included it would be nice to be correct
10 years ago
Andrew Tridgell
aaa35bd1ec
AP_InertialSensor: using atan2f() gives more accurate euler corrections
...
thanks to Jon and Paul!
10 years ago
Andrew Tridgell
9e723ef907
AP_InertialSensor: added calibrate_trim() function
...
used for redoing trim calculation
10 years ago
Andrew Tridgell
b564ba0868
AP_InertialSensor: fixed AHRS_TRIM calculation again
10 years ago
Andrew Tridgell
2475ee9630
AP_Compass: setup HIL/SITL for two compasses
10 years ago
Andrew Tridgell
ab687ab0f5
DataFlash: added double to list of format strings
...
thanks to Dario <proyectoire@gmail.com> for noticing this
10 years ago
Jonathan Challinger
159599879f
AP_InertialSensor: simplify and correct AHRS_TRIM computation
10 years ago
Andrew Tridgell
d7e4310df0
DataFlash: Lat can be negative in POS
10 years ago
Randy Mackay
559684b257
GCS_MAVLink: fix flow control check
...
Thanks to Tridge for spotting is
10 years ago
Andrew Tridgell
b0a90df135
DataFlash: fixed double Init of DF object
...
thanks to Michael De Breuil
10 years ago
Randy Mackay
763c671d0a
GCS_Console: fix example sketch after mavlink_comm_port to array
10 years ago
Randy Mackay
85eeba93c0
GCS_MAVLink: mavlink_comm_port to array
10 years ago
Randy Mackay
facbfaf31f
SerialManager: support for 4th mavlink channel
10 years ago
Randy Mackay
62e7e8cc7d
GCS_MAVLink: add support for 4th mavlink chan on PX4
10 years ago
Andrew Tridgell
74485c5754
DataFlash: added Log_Write_POS() call
...
write AHRS position to DF log
10 years ago
Andrew Tridgell
3370ec62a1
HAL_SITL: fix for multi-compass SITL
10 years ago
Andrew Tridgell
91b4ba3588
AP_Compass: allow for more than one compass in HIL/SITL
10 years ago
Andrew Tridgell
11f70da8b4
DataFlash: fixed incorrect change to GPS message
10 years ago
Randy Mackay
ade4f81c77
Compass: fix example sketch
10 years ago
Paul Riseborough
bd91b9727f
AP_NavEKF: Add pre-arm check for horizontal inertial errors
...
This check will declare the EKF as unhealthy if the horizontal position innovations exceed a threshold before motors are armed.
This will help to prevent a takeoff with bad inertial data caused by bad accel or gyro offsets.
10 years ago
Randy Mackay
1b13250fd8
RC_Channel: small parameter description change
10 years ago
Randy Mackay
61c851885f
AC_WPNav: remove unused set_spline_dest_and_vel
10 years ago
Randy Mackay
7056484ef0
Copter: fix spline overshoot
10 years ago
Randy Mackay
56b92e7d8c
AC_PID: fix example sketch
10 years ago
Paul Riseborough
c2ac80cc63
AP_AHRS: Prevent copter from switching to DCM unless EKF has severe errors
10 years ago
Randy Mackay
3f8b832075
InertialSensor: fix example sketch
10 years ago
Randy Mackay
3bcd97fcd1
Parachute: increase deployment duration to 2sec
10 years ago
Randy Mackay
5560d3dba1
BattMonitor: fix example sketch
10 years ago
Randy Mackay
e080b2acce
AP_Arming: use accel_calibrated_ok_all
10 years ago
Randy Mackay
1f14eec4ea
InertialSensor: accel_calibrated_all_ok replaces calibrated
...
This checks that the current number of accelerometers matches the number
of calibrated accels in order to catch accel failures at boot
10 years ago
Randy Mackay
0d72f3ac29
AP_HAL: fix example sketches
10 years ago
Andrew Tridgell
8bf2baef70
AP_InertialSensor: fixed primary accel/gyro in replay
10 years ago
Andrew Tridgell
f40c96de9d
SITL: add 'quad' and 'copter' as aliases for quadcopter
10 years ago
Andrew Tridgell
2a47cc3c81
HAL_SITL: cleanup command line handling
10 years ago
Andrew Tridgell
bab94c8a04
SITL: close high fds before launching JSBSIM
10 years ago
Andrew Tridgell
414f4125de
AP_HAL: use FD_CLOEXEC to prevent sockets being inherited in SITL
10 years ago
Andrew Tridgell
7692889248
SIM_JSBSim: added elevon and vtail support
10 years ago
Andrew Tridgell
aa9853179c
SITL: fixed startup yaw
10 years ago
Andrew Tridgell
5687adbdba
HAL_SITL: support JSBSim backend
10 years ago
Andrew Tridgell
692fc18698
AP_HAL: protect Socket.h from double include
10 years ago