Andrew Tridgell
5c62e4f4c2
GCS_MAVLink: don't use more than 1ms sending parameters
...
this reduces the scheduling misses when fetching parameters initially
8 years ago
Andrew Tridgell
f465c37c65
GCS_MAVLink: added async parameter sending
8 years ago
Andrew Tridgell
5c4ca3bf0b
GCS_MAVLink: added send_queued_parameters()
8 years ago
Andrew Tridgell
f778954b84
GCS_MAVLink: split parameter functions into a separate file
8 years ago
Andrew Tridgell
60e4c0eb98
AP_Param: make count_parameters() thread safe
8 years ago
Andrew Tridgell
84114d067a
SRV_Channels: added SRV_Channels::enable_by_mask()
8 years ago
Andrew Tridgell
2c4975ba31
AP_Motors: removed cork/push from AP_Motors
...
should be done by vehicle code if needed, so that AUX servos are sent
at the same time
8 years ago
Andrew Tridgell
5c028897a3
HAL_VRBrain: cope with nested cork/push
8 years ago
Andrew Tridgell
266f99db93
HAL_QURT: cope with nested cork/push
8 years ago
Andrew Tridgell
9bdb6838e6
HAL_PX4: cope with nested cork/push
8 years ago
Andrew Tridgell
9b297ef5a1
HAL_Linux: fixed nested cork/push
...
don't generate extra pulse sets if we nest
8 years ago
Andrew Tridgell
f257a869ac
HAL_SITL: make cork/push safe to call nested
8 years ago
priseborough
2d4eee0cce
AP_NavEKF2: documentation update
8 years ago
priseborough
4a898037e9
AP_NavEKF3: documentation update
8 years ago
Andrew Tridgell
a04aff7a7d
AP_NavEKF3: added inter-EKF scheduling cooperation
...
this changes the stragegy for load levelling between EKF cores so it
works between EK2 and EK3, and with future estimators as well.
It allows us to run EK3 and EK2 at the same time with good scheduling
performance
8 years ago
Andrew Tridgell
2de8777669
AP_NavEKF2: added inter-EKF scheduling cooperation
...
this changes the stragegy for load levelling between EKF cores so it
works between EK2 and EK3, and with future estimators as well.
It allows us to run EK3 and EK2 at the same time with good scheduling
performance
8 years ago
Andrew Tridgell
e62fdad12c
AP_InertialSensor: added get_last_update_usec()
...
this will be used by the inter-EKF scheduling changes
8 years ago
Andrew Tridgell
e78f55ef9b
AP_AHRS: change order of EK2/EK3 update
...
if EK3 is our primary estimator when we want to run the EK3 update
first, so it gets time priority for inter-EKF scheduling.
8 years ago
Andrew Tridgell
4c36c77db1
AP_BoardConfig: split setup of safety switch init init_safety()
...
this allows it to be called late, so that servo outputs are fully
setup before the safety is disabled when BRD_SAFETYENABLE=0
8 years ago
Randy Mackay
b1bd3f0364
AC_WPNav: yaw points along leash
8 years ago
priseborough
8ead9d6b19
DataFlash: Add logging of average EKF time step min/max
8 years ago
priseborough
0bf50fd56f
AP_NavEKF3: Add monitoring of average EKF time step
8 years ago
priseborough
e48f46c98b
AP_NavEKF2: Add monitoring of average EKF time step
8 years ago
priseborough
7d777485d8
AP_NavEKF: Add monitoring of average EKF time step
8 years ago
priseborough
3ce81967ae
AP_NavEKF3: Improve calculation and use of average EKF time step
8 years ago
priseborough
7abf9997e6
AP_NavEKF3: Correctly initialise dtIMUavg time step and apply LPF
8 years ago
Andrew Tridgell
4ce0a8e24e
GCS_MAVLink: time limit GCS update() calls
...
and add performance counters
8 years ago
priseborough
1301b9797a
AP_NavEKF3: Fix solution validity reporting bug
...
Fixes bug that causes relative position status to report as false when using optical flow and using range finder as the primary height sensor.
8 years ago
priseborough
082f429da3
AP_NavEKF2: Fix solution validity reporting bug
...
Fixes bug that causes relative position status to report as false when using optical flow and using range finder as the primary height sensor.
8 years ago
Leonard Hall
62c123bb08
AC_WPNav: correct straight line waypoint leash calculation
...
The former calculation was not correctly using the 3D leash
8 years ago
Andrew Tridgell
d4e6720b01
AP_BattMonitor: added BATT_VOLT_TIMEO
...
this is useful for aircraft with very low C batteries, to prevent a low
voltage failsafe on takeoff. For long endurance aircraft low C batteries
are often used, and the voltage sags a lot on takeoff, but it fine for
the rest of the flight
8 years ago
Andrew Tridgell
0ccb3a7688
DataFlash: added logging of timing statistics
8 years ago
Andrew Tridgell
adb281cd4e
AP_NavEKF3: added timing statistics logging
8 years ago
Andrew Tridgell
ee5c032f27
AP_NavEKF2: added recording of timing statistics
8 years ago
Andrew Tridgell
ae3df89d17
AP_NavEKF: added ekf_timing structure
8 years ago
Leonard Hall
ba011eef78
AC_WPNav: init z-axis feed-foward to correct stopping point calcs
8 years ago
Randy Mackay
3a397584a1
AC_PosControl: z-axis stopping point up to 3m above vehicle
...
Stopping point while descending remains at 2m for safety
8 years ago
Leonard Hall
6e92f74ca0
AC_PosControl: add clear_desired_velocity_ff_z method
8 years ago
Michael du Breuil
22ab8de4d2
AP_BattMonitor: SMBus: Fetch pack capacity
8 years ago
Michael du Breuil
f919c409bb
AP_BattMonitor: Remove redundant state copy
...
Every backend stored a instance reference, which wasn't used in most locations
which is redundant given that the state already tracks the instance for us as
well.
8 years ago
Michael du Breuil
3ab3face9b
AP_BattMonitor: SMBus: Read serial number
8 years ago
Francisco Ferreira
7dca7933fa
AP_HAL_PX4: fix UAVCAN armed state to depend on safety switch
8 years ago
Francisco Ferreira
965eda69f3
AP_HAL_PX4: remove left-overs of legacy UAVCAN support
8 years ago
Andrew Tridgell
ca4cde9770
HAL_PX4: fixed safety switch light pattern
...
this was broken by the recent CAN merge. My fault for not checking it
carefully. We have to publish the armed state so the fmu driver on
pixracer can update the light
8 years ago
priseborough
596b20eb07
AP_NavEKF2: close perf counter when doing early return
8 years ago
priseborough
88469ce80c
AP_NavEKF2: Reset covariance if bad mag fusion update
8 years ago
priseborough
f208986d43
AP_NavEKF3: Reset covariance if bad mag fusion update
8 years ago
Andrew Tridgell
18b66f9eed
AP_NavEKF3: fixed reset of coviariance matrix
8 years ago
Andrew Tridgell
d799bacd7d
AP_NavEKF2: fixed reset of coviariance matrix
8 years ago
Randy Mackay
e2cf836734
AC_WPNav: add get_stopping_point
...
returns 3D stopping point, simply re-uses pos_controller methods
8 years ago