Silvan Fuhrer
f6d37ecacf
AirspeedSelector: make sure we don't try to access a negative array index
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
ccab93e68b
AirspeedSelector: use Vector3f
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
259b851ba7
WindEstimator: remove filter reset due to airspeed measurement rejection
...
As the purpose of this wind estimator is to (mainly) catch airspeed failures,
we don't value estimator stability as much as the reliability to catch
actual sensor issues, and thus do not reset the filter (as this may hide
a real issue with the sensor)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
3ad901e51d
Wind Estimator: use time_literals
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
cad7851774
AirspeedSelector: add _CAS_scale_validated to airspeed_wind for logging
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Silvan Fuhrer
625f556b0e
AirspeedSelector: airspeed scale estimation improvements and robustification
...
- run airspeed scale estimation always, not in dedicated mode
- add option to apply scale automatically, with extra feasibility check
- add airspeed scale for all 3 possible airspeed instances
- clean up parameters
- add check for data stuck (non-changing airspeed data)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
RomanBapst
8e8c6efd66
Mission block: do not care for altitdue acceptance when approaching backtransition point
...
Not accepting the waypoint causes the vehicle to perform a sharp turn after passing
the land waypoint and this causes worse unexected behavior.
Signed-off-by: RomanBapst <bapstroman@gmail.com>
3 years ago
Matthias Grob
3d50adc5fe
astyle: restore backwards compatibility with old pre-commit hook
...
I removed the filtering logic from the shell script in #18482 because
the new pre-commit hook already takes care of it.
The problem is if you don't update the .git/hooks/pre-commit file and
use the new shell script there's no filtering
of files done and it checks all files for every file.
This commit restores backwards compatibility because it does not hurt
until I have an automatic way to update the pre-commit hook file.
3 years ago
bresch
78fe6e2152
VelocitySmoothing: fix issue when delta vel is the same on all axes
...
When the change in velocity is exactly the same on several axes, the T1
of the recumputed trajectories after time sync was set to 0 because it
was skipping both if and else if.
3 years ago
mcsauder
9301288d1f
Add parameter and logic to set RTL heading mode.
3 years ago
Matthias Grob
6938d24ec7
pre-commit hook: show all style issues, not just the ones from the first file
3 years ago
Matthias Grob
2716ce7a56
pre-commit hook: clear output with error, file name, diff, instructions
3 years ago
Matthias Grob
4454fe9770
pre-commit hook: don't unstage the entire file containing a style issue
3 years ago
Daniel Agar
19952768fb
boards: try to keep test boards in sync
3 years ago
Daniel Agar
6fb1c79ef0
mixer_module: reject mixer load and reset when dynamic mixing is enabled
3 years ago
Daniel Agar
f1016dc32c
boards: add systemcmds/topic_listener to CAN nodes
3 years ago
Daniel Agar
17328bef69
Jenkins attach GDB and print back trace on failure
3 years ago
David Sidrane
258cde668c
nxp_fmurt1062-v1:Pared down boardconfig
3 years ago
David Sidrane
0e29cb31e6
nxp_fmurt1062-v1:Pull more code into XIP Flash
3 years ago
David Sidrane
ff3a76d918
nxp_fmurt1062-v1:Needs to usne ocram Linker script
3 years ago
Daniel Agar
ea9c64dcd9
drivers/uavcan: add new UAVCAN_SUB_* parameters to enable subscriptions
...
- only GPS and mag are enabled by default
3 years ago
Silvan Fuhrer
fd96bbf9b9
Mavlink: bump MAX_REMOTE_COMPONENTS to 16
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
3 years ago
Daniel Agar
4247e1320b
px4io: allow switching to rate ctrl wq
3 years ago
Beat Küng
c0f75b1c79
dshot: add missing '#pragma GCC diagnostic push'
3 years ago
Daniel Agar
757424c2c0
clang-tidy ignore modernize-raw-string-literal for now
3 years ago
Beat Küng
8a2b310b83
topic_listener: avoid code generation, use existing metadata at runtime
...
This reduces flash size for v5 by ~110KB, the topic listener now only adds
about 1.2KB.
3 years ago
Beat Küng
a0e72b35a4
replay: ignore ULogMessageType::PARAMETER_DEFAULT messages
3 years ago
Beat Küng
4c73ac3805
uorb: use single byte for internal types in o_fields metadata
...
Reduces flash usage by ~9KB.
3 years ago
Landon Haugh
9aaf6e3f3e
[NXP_UCANS32K146] Increase usermain stack size to prevent init overrun
3 years ago
Thomas Debrunner
f4a85fa951
rcS: Allow startup files to be located on SD card
3 years ago
alexklimaj
6daa579e46
Add ARK RTK GPS Debug, turn on UART RX DMA
3 years ago
mcsauder
21163d859e
Whitespace cleanup.
3 years ago
Daniel Agar
4cf8eb8226
ekf2: EKF vehicle_at_rest always require some rotation in addition to vibration metrics
3 years ago
Daniel Agar
33954a904f
lib/tunes: never play tunes if circuit breaker is set
3 years ago
Daniel Agar
b08f20806b
ROMFS: rcS don't play startup tune until after UAVCAN and px4io
...
- fixes potential duplicate startup tune
3 years ago
Tia
6e3e6846f4
Fix srf05 driver.
3 years ago
bazooka joe
b35dd86d04
mc_pos_control: remove unused var
3 years ago
bazooka joe
c8d6f8f5e5
remove proto for unused function limit_thrust_during_landing()
3 years ago
Daniel Agar
9d7c4596f7
navigator: increase stack 1800 -> 1864 bytes
3 years ago
Daniel Agar
b20d8207a7
Jenkins: compile delete obsolete px4_fmu-v5_ctrlalloc
3 years ago
Beat Küng
3e9c88e48e
px4/fmu-v5 test, uavcanv0periph: disable modules to reduce flash
3 years ago
Beat Küng
da1df5352c
fix pwm: only update oneshot timers owned by the current pwm_out instance
...
This fixes the case where oneshot was enabled with multi-instance pwm_out,
triggering oneshot updates too close to each other and as a result could
lead to spinning motors while disarmed.
3 years ago
Daniel Agar
2ed623c8ae
boards: px4_fmu-v6x_default disable modules to save flash
3 years ago
Daniel Agar
be868aae92
boards: px4_fmu-v5_uavcanv0periph disable modules to save flash
3 years ago
Daniel Agar
a7a2aa3b74
boards: px4_fmu-v3_test disable modules to save flash
3 years ago
Beat Küng
cc1d24a5fe
ci compile_nuttx: disable fail-fast
...
So that all failures can be evaluated.
3 years ago
Beat Küng
d01f2b1d40
cubepilot/cubeorange test: disable uavcan to reduce flash usage
3 years ago
Beat Küng
dbd4426271
nxp/fmurt1062-v1: set CONSTRAINED_FLASH
3 years ago
Beat Küng
e36a8f3765
ROMFS: disable vtol airframes for kakutef7
3 years ago
Beat Küng
f1686b1abf
px4io: add dynamic mixing support
3 years ago