Andrew Tridgell
be587beedc
AP_HAL: disable nagle on sockets for faster local operation
10 years ago
Andrew Tridgell
b0932548d8
AP_GPS: enable NMEA GPS on AntennaTracker
...
we have enough flash space for it
10 years ago
Andrew Tridgell
411a96b4b3
AP_NavEKF: take at most 30s to accept DCM attitude
...
velocity noise on the GPS can cause DCM to take a long time to
converge. If it takes longer than 30s then allow EKF to start
10 years ago
Andrew Tridgell
7a76f72bf5
AP_AHRS: added uptime_ms() interface
10 years ago
ziltoid2
23787cf695
AP_Baro: use ground_temperature instead of calibration_temperature for alt calculation
10 years ago
Andrew Tridgell
92c4c5cbcf
AP_NavEKF: change using_gps threshold to 4s
...
this means plane will continue to use dead reckoning with GPS 3D lock
for 4s
10 years ago
Paul Riseborough
69ca654194
AP_NavEKF: Update declination when we know our location
...
This ensures that when we start using GPS, that the EKF will be using the correct declination for that location
If declination is not known it defaults to zero
10 years ago
Paul Riseborough
c1c5e3598a
AP_NavEKF: Enforce alignment of realigned earth mag field with declination
...
This prevents bad inertial or GPS data combined with the post takeoff heading alignment check used by plane from resulting in earth field states that have an incorrect declination
10 years ago
Paul Riseborough
b1d8805114
AP_NavEKF: Reduce takeoff detection sensitivity
...
This patch reworks the in-air transition criteria to reduce the likelihood of false positives and to ensure that there will be enough ground speed to make the heading check work reliably.
10 years ago
Randy Mackay
d1808c645d
AC_PosControl: recalc leash length on speed or accel change
...
This resolves an issue in which do-set-speed would not take effect until
one waypoint too late in a mission.
10 years ago
Andrew Tridgell
5514a9f690
AP_NavEKF: base EKF decisions on vehicle class
...
using the vehicle class rather than the build macros allows this to
work correctly in replay
10 years ago
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