chobitsfan
1e56ad4837
AP_NavEKF2: add external nav system to POSNE_M_NSE description
6 years ago
chobits
08b9bf4a89
AP_NavEKF2: fix extNav position noise
6 years ago
JIMWAR
97b5af60f8
AC_Avoid: fix adjust_velocity_polygon
...
adjust_velocity_polygon function ignoring boundary[0]
6 years ago
vierfuffzig
895cc0713b
ChibiOS: fix F35Lightning default BATT_CURR_SCALE
6 years ago
Andrew Tridgell
70246cf954
AP_Compass: added notify events (LEDs and buzzer) for learning
6 years ago
Andrew Tridgell
5fe9334a18
RC_Channel: allow compass learning to be triggered on option
...
this allows for RCn_OPTION=62 to trigger compass learning, so you can
enable in-flight without using the GCS
6 years ago
Andrew Tridgell
23ddd994ec
AP_Compass: allow multiple COMPASS_LEARN runs per boot
6 years ago
Andrew Tridgell
026089747d
AP_Compass: use LEARN_NONE on learn completion
...
master doesn't yet have the statistical EKF learning
6 years ago
Andrew Tridgell
de58fb4637
AP_NavEKF3: support in-flight compass learning
6 years ago
Andrew Tridgell
0a7170774a
AP_Compass: allow learning of all compasses
...
slave secondary compasses to primary
6 years ago
Andrew Tridgell
5ac6309848
AP_Compass: enable in-flight compass learning system
...
using COMPASS_LEARN=3
6 years ago
Andrew Tridgell
7e790a04d2
HAL_SITL: increase max timer procs
...
needed for compass learning
6 years ago
Andrew Tridgell
805647df85
AP_NavEKF2: enable use of in-flight compass learning
6 years ago
Peter Barker
c7d052eec8
RC_Channel: add const keyword to many methods
6 years ago
Peter Barker
537a7e0727
SITL: correct comment on sending gimbal messages
6 years ago
Peter Barker
ea426a3d45
RC_Channel: fix erroneous comment on RC relay options
6 years ago
Peter Barker
04e4484d96
AC_AttitudeControl: correct old and misleading comments
6 years ago
Peter Barker
41b6f30450
AP_OSD: add include for WITH_SEMAPHORE
6 years ago
Andrew Tridgell
d644150871
HAL_ChibiOS: fixes for DrotekP3Pro
6 years ago
Kevin Lopez Alvarez
9f97172cce
AP_BoardConfig: add ChibiOS FMUv4pro defines
6 years ago
Kevin Lopez Alvarez
ab7c7afd1d
AP_HAL: add ChibiOS FMUv4pro
6 years ago
Kevin Lopez Alvarez
6f99c706d6
HAL_ChibiOS: add MCU tables for STM32F469
6 years ago
Kevin Lopez Alvarez
bf745d1960
HAL_ChibiOS: add DrotekP3Pro hardware definitions
6 years ago
Peter Barker
1c1d651979
AP_NavEKF2: add space for null-termination
...
This is simply to preserve existing behaviour when snprintf starts to
null-terminate strings
6 years ago
Peter Barker
f90dd0c156
AP_HAL: add simple tests for null-termination
6 years ago
Peter Barker
9923bd1fd2
AP_BattMonitor: use sizeof(array) in place of constant
6 years ago
Peter Barker
21eacc5e31
AP_Arming: account for snprintf now null-terminating strings
6 years ago
Peter Barker
96b5be0e7d
GCS_MAVLink: account for snprintf now null-terminating strings
6 years ago
Peter Barker
4c794ebba3
DataFlash: account for snprintf now null-terminating strings
6 years ago
Peter Barker
de3244e26c
AP_OSD: account for snprintf now null-terminating strings
6 years ago
Peter Barker
33e3d6e254
AP_HAL: Util: make vsnprintf and snprintf always null-terminate
...
The C++ standard indicates these functions always return a
null-terminated string. We should rename these functions if we're not
going to conform to the standards.
From https://en.cppreference.com/w/cpp/io/c/vfprintf :
"Writes the results to a character string buffer. At most buf_size-1
characters are written. The resulting character string will be
terminated with a null character"
We are still not standards-compliant in the case a length of 0 is passed
in, returning 0 where we should return the space that would be required
to store the formatted string.
6 years ago
Phillip Kocmoud
44fb61da37
HAL_ChibiOS: mRo X2.1-777 / hwdef.dat
...
Set proper sensor orientation.
6 years ago
Peter Barker
0142265f67
AP_Mount: make a copy of ID for mavlink_msg_param_set_send
...
The send function is expecting an array of the full length, so passing i
na null-terminated char* may result in uninitialised data (or
information leak)
6 years ago
vierfuffzig
83f4f5c347
AP_BLHeli: add motor pole parameter
6 years ago
Andrew Tridgell
84d7160128
AP_Compass: use new accumulate functions for UAVCAN
6 years ago
Andrew Tridgell
579a84b53e
AP_Compass: use new accumulate functions for AK8963
6 years ago
Andrew Tridgell
55e4b64755
AP_Compass: don't apply offsets twice in SITL
6 years ago
vierfuffzig
5b955333ce
AP_OSD: fix BLHAMPS current divisor
6 years ago
Peter Barker
b276034c60
APM_Control: correct use of incorrect abs functions
6 years ago
Peter Barker
560f17a570
AP_NavEKF3: use union to alias array and struct access to states
...
This avoids creating two pointers of different types to the same memory.
Having two pointers to the same memory can lead to the compiler
optimising code such that a write to one pointer is rearranged to be
either before or after a read from the other pointer depending on
which is deemed faster - not a good outcome.
6 years ago
Peter Barker
3a79ae4eca
AP_NavEKF2: use union to alias array and struct access to states
...
This avoids creating two pointers of different types to the same memory.
Having two pointers to the same memory can lead to the compiler
optimising code such that a write to one pointer is rearranged to be
either before or after a read from the other pointer depending on which
is deemed faster - not a good outcome.
6 years ago
Peter Barker
154d771e6c
AP_Math: correct compilation when running MATH_CHECK_INDEXES
6 years ago
Peter Barker
27e3a89158
AP_NavEKF3: correct compilation when running MATH_CHECK_INDEXES
6 years ago
Peter Barker
fb176b544f
AP_NavEKF2: correct compilation when running MATH_CHECK_INDEXES
6 years ago
Andrew Tridgell
c622a4c4d6
HAL_ChibiOS: fixed output pins on F100 iomcu
6 years ago
Andrew Tridgell
6ec87528db
AP_IOMCU: fixed RCIN failsafe
6 years ago
Andrew Tridgell
7b67146bc4
HAL_ChibiOS: use less memory in SoftSigReader
6 years ago
Andrew Tridgell
d083cd87d6
HAL_ChibiOS: disable debug code by default for iomcu
...
use --enable-asserts instead
6 years ago
Andrew Tridgell
d7aaaa35bd
HAL_ChibiOS: disable RCIN and timer threads for iomcu
6 years ago
Andrew Tridgell
92d8ef0e76
AP_IOMCU: run the rcin timer tick in main loop
...
we no longer run a separate RCIN thread
6 years ago