Andrew Tridgell
112b22516a
AP_InertialSensor: fixed use of accel2_noise
...
thanks Francisco!
8 years ago
Peter Barker
a3f4a523b2
AP_Notify: convert unknown characters to spaces
8 years ago
Peter Barker
5a02219642
AP_HAL_Linux: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Peter Barker
3ff4cd8c07
AP_HAL_PX4: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Peter Barker
b11ca5d538
AP_HAL_QURT: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Peter Barker
2f79a5bd90
AP_HAL_SITL: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Peter Barker
85e5de15c4
AP_HAL_VRBRAIN: use HAL_SEMAPHORE_BLOCK_FOREVER
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
5b67b33310
AP_GPS: Remove un-used AP_GPS::inject_data_all() function
8 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
5261654756
AP_GPS: Only inject RTCM data to the selected GPS device defined in GPS_INJECT_TO parameter
8 years ago
Michael du Breuil
12f83ecf75
AP_GPS: SBF if RAW_DATA is enabled check that the GPS is succeeding at logging
8 years ago
Peter Barker
ac1484f60e
DataFlash: clear format sent mask when backend starts new log
8 years ago
Andrew Tridgell
2876f1467c
AP_InertialSensor: converge sensor rate quickly, then slowly
...
converge fast for the first 60 seconds, then more slowly to reduce
noise
8 years ago
Andrew Tridgell
db25b6e966
AP_InertialSensor: estimate and log sensor rates for all IMUs
...
this adds IMU.GHz and IMU.AHz log fields so we can see the actual
observed sensor rates of each IMU
8 years ago
Andrew Tridgell
0a83281a29
DataFlash: added logging of actual sensor rates
8 years ago
Andrew Tridgell
49cc0965c0
AP_InertialSensor: separate handling of FIFO and non-FIFO sensors
...
FIFO sensors produce data at a well known rate, but samples come in
bunches, so we can't use the system clock to calculate deltaT.
non-FIFO sensors produce data when we sample them, but that rate is
less regular due to timing jitter.
For FIFO sensors this changes makes us use a learned sample rate,
which allows for different clock speeds on sensor and system board.
For non-FIFO sensors we use the system clock to measure deltaT
the overall effect is a fix for sensors that produce samples at other
than the claimed datasheet rate.
8 years ago
Andrew Tridgell
74eb7a7243
AP_InertialSensor: make SITL sensor rate match a Pixhawk1
...
use 760Hz 2nd gyro and 800 Hz 2nd accel
8 years ago
Andrew Tridgell
25cd16a275
AP_InertialSensor: fixed LSM303D registered sample rate
...
we are running the LSM303D at 1600Hz, and are sampling it at 1kHz. We
need to tell the AP_InertialSensor layer that samples will arrive at 1kHz
8 years ago
Andrew Tridgell
28030dd85c
AP_AHRS: use SIM_ODOM_ENABLE to enable visual odom in SITL
8 years ago
Andrew Tridgell
67404e9660
SITL: added SIM_ODOM_ENABLE
...
for enabling visual odomotry simulated data
8 years ago
Andrew Tridgell
56aa467d60
AP_Scheduler: adjust debug levels
...
this is more useful for performance analysis of scheduler, using perf
command
8 years ago
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