Andrew Tridgell
25c409d4a2
AC_InputManager: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Andrew Tridgell
25b9a7e711
AC_Fence: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Andrew Tridgell
d5c55e0dfe
AC_Avoidance: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Andrew Tridgell
7a6ab4ac44
AP_AHRS: fixed a bug with startup ordering of SITL
...
this fixes a crash that can happen with SITL
7 years ago
Peter Barker
86fe1671c1
AC_Fence: fix comment
7 years ago
Peter Barker
e8151a7ec1
AC_Fence: require home as well as origin for prearm checks
7 years ago
Peter Barker
1ecfdffa76
AC_Fence: methods to help populate SYS_STATUS
7 years ago
Peter Barker
ac3f030a34
AC_Fence: factor out check_fence_alt_max
...
NFC
7 years ago
Peter Barker
d04a4dd0f8
AC_Fence: factor out check_fence_circle
...
NFC
7 years ago
Peter Barker
d379c7bbd9
AC_Fence: factor out check_fence_polygon
...
NFC
7 years ago
Peter Barker
5eeed442c8
AP_AHRS: correct comment
7 years ago
Peter Barker
518399c13a
AC_Fence: stop looking at EKF filter status
...
Fence has no business looking at what the filter status is.
Fence should only care whether it can currently get a position.
7 years ago
khancyr
65373b85f0
AC_Fence: replace AP_InertialNav by AHRS
7 years ago
priseborough
3b32d583a9
AP_NavEKF2: Fix delta time use error
7 years ago
priseborough
440d361aff
AP_NavEKF2: Limit range of delta times
7 years ago
Andrew Tridgell
6b30c9213a
AP_NavEKF3: delay startup until IMU buffer is filled
...
this prevents a vulnerability where the initial IMU data is processed
26 times (where 26 is the IMU buffer length)
7 years ago
Andrew Tridgell
1f9a3dd1bd
AP_AHRS: improved init attitdue in DCM
...
this tries harder to get a good IMU sample for the initial attitude
estimate. I have seen cases of bad IMU data on startup and this makes it
much less likely
7 years ago
Andrew Tridgell
97729a12f0
AP_NavEKF2: don't run IMU updates until buffer fills
...
this prevents us using bad initial data multiple times. It fixes a bug
where the IMU may pause during EK2 initialisation
7 years ago
Andrew Tridgell
39c206ca03
AP_InertialSensor: limit delta-time from INS
...
limit delta-time to 2x average time
DEBUG CODE - DO NOT MERGE
7 years ago
Andrew Tridgell
a0af4af5b5
AP_InertialSensor: debugging code for EK2 bug
7 years ago
Randy Mackay
38145f9541
AP_InertialSensor: fix param docs for notch and log settings
7 years ago
Randy Mackay
cabced82f1
AR_AttitudeControl: fix parameter descriptions
7 years ago
Michael Oborne
78f732c380
AR_AttitudeControl: fix parameter docs
7 years ago
Randy Mackay
744f4baf22
AR_AttitudeControl: add parameter description increment
7 years ago
Randy Mackay
f00f4ce79b
AR_AttitudeControl: fix get_desired_speed timeout
7 years ago
Randy Mackay
9b81c133f6
AP_HAL_PX4: fix compiler warning in UARTDriver
7 years ago
Randy Mackay
36c5f057ae
AR_AttitudeControl: add get_desired_turn_rate lat_accel and speed
...
for reporting use only
7 years ago
Andrew Tridgell
30944f60e6
AP_SBusOut: fixed param doc name
7 years ago
Andrew Tridgell
051f30990c
SRV_channel: fixed doc names of VOLZ and SBUS
...
thanks to Mark for noticing
7 years ago
Peter Barker
c4734484e7
AC_Avoid: take an AP_AHRS in place of an AP_AHRS_NavEKF
7 years ago
Peter Barker
8a4ab685c7
AP_AHRS: implement get_hgt_ctrl_limit on base class
...
If no limits are required false can be returned, so an trivial
implementation is possible
7 years ago
Peter Barker
89e12163cd
AP_AHRS: correct comment
7 years ago
Peter Barker
c3eff57f60
AP_InertialNav: remove unused get_hgt_ctrl_limit
7 years ago
Peter Barker
a1c982be4a
AC_Avoid: work in metres to avoid extra work
7 years ago
Peter Barker
0fe45ef6b6
AC_Avoid: eliminate get_position and get_alt_above_home
7 years ago
Peter Barker
54010451bf
AC_Avoid: check result of AHRS calls
...
Work in metres to avoid computation
7 years ago
khancyr
b44ba29a05
AC_Avoidance: replace AP_InertialNav by AHRS
7 years ago
Andrew Tridgell
4289190654
HAL_PX4: added LIS3MDL on FMUv4
7 years ago
Mark Whitehorn
b0e2f06a7a
AP_Compass: add LIS3MDL probe for Pixracer
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
9b2e48ce10
AP_GPS: Improve comments (NFC)
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
fa4427fbce
AC_AttitudeControl: Add AC_PosControl::get_bearing_to_target() method
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
1a512609ac
AC_WPNav: Use the get_bearing_cd() overloaded function provided by AP_Math instead
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
e13281ab2d
AP_Math: add overloaded functions get_horizontal_distance_cm() and get_bearing_cd() (NFC)
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
07c8d208bc
AC_WPNav: Use DEGX100 define instead of hardcoded value (NFC)
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
ec1790dad9
AP_Math: Use DEGX100 define instead of hardcoded value (NFC)
7 years ago
Guglie
4eaa1f17df
SITL: fix pthread_setname_np to build on mac
7 years ago
Tom Pittenger
da11241aa8
AP_HAL_SITL: add const
7 years ago
Patrick José Pereira
bd1110f444
AP_JSButton: simplifies logic
...
Less code make people happy
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Peter Barker
e39e8359b6
GCS_MAVLink: tighten result of handle_preflight_reboot
7 years ago
Peter Barker
161e2145cb
AP_InertialSensor: tighten type of simple_accel_cal result
7 years ago