Andrew Tridgell
163efd0df5
AP_NavEKF2: change optimisation from -O3 to -O2
5 years ago
Andrew Tridgell
5f90afa71e
AP_Mount: change optimisation from -O3 to -O2
5 years ago
Andrew Tridgell
13a2367278
AP_Math: change optimisation from -O3 to -O2
5 years ago
Andrew Tridgell
7c3df18ea3
AP_IOMCU: change optimisation from -O3 to -O2
5 years ago
Willian Galvani
0c5753112a
AP_TemperatureSensor: Update TSYS01 for Pixhawk2
5 years ago
Peter Barker
06df44c184
AP_Relay: change parameter name from relay to instance
5 years ago
Peter Barker
1c3b2f9699
AP_Relay: tidy, reduce flash usage
5 years ago
Peter Hall
b6efcbcf3b
AR_WPNav: make get_stopping_location public
5 years ago
Henry Wurzburg
11c633be32
AP_OSD: distance total fix for slow vehicles
5 years ago
Willian Galvani
dd97eedde3
APMotors_6DOF: Implement motor_is_enabled(), get_motor_angular_factors() and set_reversed();
5 years ago
Peter Hall
4c62fe6c72
AP_Windvane: caculate vehicles current tack
5 years ago
Willian Galvani
d56c490b18
AP_Motors_6DOF: Add missing 'break'
5 years ago
Henry Wurzburg
59ce3f1007
AP_OSD: scale xtrack, add precision for distances <10 units
5 years ago
Patrick José Pereira
29fadc2417
AP_HAL_Linux: PCA9685: Check for device before accessing it
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
mhefny
8310058c8c
SITL: adding Tricopter model in Webots
5 years ago
Randy Mackay
5e3c6b4d3a
GCS_MAVLink: allow proximity to send only upward facing distances
...
this removes the requirement that a horizontal proximity sensor be enabled
5 years ago
Henry Wurzburg
f592806184
AP_OSD: formatting fixes
5 years ago
bnsgeyer
d4fec221c3
AP_Motor: tradheli align swash params btwn frames and fix metadata
5 years ago
Peter Barker
975804fa35
AP_Math: remove unit_mod concept from wrap functions
...
devcall decided it would be clearer to have non-shared implementation
for the _cd variants
5 years ago
Peter Barker
952d4d2cbc
AP_NavEKF2: initialise Kfusion stack variable to fix compilation
...
This fixes the compilation, as previous patches have done.
5 years ago
Peter Barker
9fb715692e
AP_HAL_ChibiOS: correct include of mavlink header for analog debug
5 years ago
liang
d890203f73
AP_Baro: LPS22H: correct formatting
5 years ago
Andrew Tridgell
d40d812ea4
AP_NavEKF2: fixed build with g++ 9.1
...
this is a false positive, but the cost of clearing this array is low,
and it saves a much more complex fix
5 years ago
murata
6d7c2301f2
AP_Radio: Change direct value to define name
5 years ago
murata
ec0c49315f
AP_Compass: Change direct value to define name
5 years ago
Andrew Tridgell
9226899c6f
AP_NavEKF2: added comment (review request)
5 years ago
Andrew Tridgell
255981c60c
AP_NavEKF2: moved some of the intermediate vars to the stack
...
this keeps stack frames below 1k, while giving faster access to the
variables and saving more memory
5 years ago
Andrew Tridgell
96c6544997
AP_NavEKF3: moved intermediate variables to common memory
...
this moves intermediate variables from being per-core to being common
between cores. This saves memory on systems with more than one core by
avoiding allocating this memory on every core.
This is an alternative to #11717 which moves memory onto the stack. It
doesn't save as much memory as #11717 , but avoids creating large stack
frames
5 years ago
Andrew Tridgell
0041874826
AP_NavEKF2: moved intermediate variables to common memory
...
this moves intermediate variables from being per-core to being common
between cores. This saves memory on systems with more than one core by
avoiding allocating this memory on every core.
This is an alternative to #11717 which moves memory onto the stack. It
doesn't save as much memory as #11717 , but avoids creating large stack
frames
5 years ago
Andrew Tridgell
9b746b89db
AP_Math: added fill_nanf()
...
used in SITL to invalidate memory
5 years ago
Peter Barker
08623c1712
AP_ADSB: use ObjectBuffer in place of AP_Buffer
5 years ago
Peter Barker
c043f315de
AP_Buffer: remove as it is replaced with ObjectBuffer
5 years ago
Willian Galvani
5a9e5e937a
APMotors6DOF: add roll factor for motors 4 and 5 for SIMPLEROV_4 and SIMPLEROV_5
5 years ago
Willian Galvani
948a5bf9c3
APMotors6DOF: add case for SIMPLEROV_3
5 years ago
Peter Barker
045960fe57
AP_HAL_SITL: catch SIGTERM and exit with zero exit status
5 years ago
Andrew Tridgell
85332d49a2
HAL_SITL: added MotorBoat
5 years ago
Andrew Tridgell
d2e75717b8
SITL: added a MotorBoat class
...
a sailboat with zero sail area
5 years ago
Lucas De Marchi
7520cdef2f
AP_RangeFinder: update minimum fw version of TFMiniPlus
...
Version 2.0.3 has important fixes to avoid having the sensor to lock up.
Let's make sure we check for it and warn on console.
5 years ago
Peter Hall
c71cbe2729
APM_Control: AR_AttitudeControl: add description for new PID params
5 years ago
Andrew Tridgell
05d62c62bb
AP_NavEKF3: fixed use of uninitialised variable in EKF3 mag fusion
...
not all elements of H_MAG are initialised, but they are used, as found
by valgrind
5 years ago
Andrew Tridgell
386e7dc3e8
HAL_ChibiOS: fixed delay for OneShot125 channels
...
we were delaying output for OneShot125 by 8x as much as we need to,
which reduced our max loop rate
5 years ago
Andrew Tridgell
850892c3d9
HAL_ChibiOS: fixes from LGTM errors
5 years ago
Andrew Tridgell
c6f43e9700
AP_NavEKF3: fixed use of old irqsave() API
5 years ago
Andrew Tridgell
1d47f9186e
AP_NavEKF2: fixed use of old irqsave() API
5 years ago
Andrew Tridgell
d7ee622edc
AP_Logger: fixed use of old irqsave() API
5 years ago
Lucas De Marchi
5f65033511
AP_RangeFinder: add missing overrides
5 years ago
Lucas De Marchi
ce877ba40a
AP_RangeFinder: fix build
5 years ago
Andrew Tridgell
108d7fa024
AP_Logger: added logging of extra loop time from the scheduler
5 years ago
Andrew Tridgell
79acaeaef1
AP_Scheduler: cope with high CPU load by stretching loop times
...
this adds an extra budget of time per loop when we are not achieving
scheduled tasks at a rate of at least 1/8 of the desired rate. This
fixes an issue where a vehicle can become uncontrollable if the user
asks for a SCHED_LOOP_RATE which is not achievable. As these events
happen we add extra loop budget until we are able to run all tasks. We
drop the extra time when the CPU pressure eases.
5 years ago
Andrew Tridgell
3d9f393f4b
SITL: added SIM_LOOP_DELAY parameter
...
this allows us to test high CPU load conditions by adding a delay to
each loop
5 years ago