Julian Oes
ec95378821
logger: fix uninitialized coverity warnings
5 years ago
Julian Oes
8e625285fc
platforms: initialize strings
...
This might fix a warning about argv being a TAINTED_SCALAR further down.
5 years ago
Timothy Scott
cf8f03f190
Changed listener to not busy-wait ( #13157 )
...
* Changed listener to not busy-wait
5 years ago
Nicolas de Palezieux
40bb209fd2
dshot telemetry: enable telemetry publishing for setups with only one ESC
5 years ago
Daniel Agar
6ccb4af8b0
CollisionPrevention: remove unnecessary double precision floating point math
5 years ago
Daniel Agar
e942d3a3b2
FlightTasks: remove unnecessary double precision floating point math
5 years ago
Beat Küng
25aded36ec
WorkQueue: avoid potential semaphore counter overflow
...
This could happen in the following cases:
- IRQ/publisher rate is faster than the processing rate, and therefore
WorkQueue::Add is called at a higher rate
- a long-running or stuck task that blocks the work queue a long time
Both cases are not expected to happen under 'normal' circumstances (if the
system runs as expected).
5 years ago
Beat Küng
2296c9acfa
uavcan_virtual_can_driver: fix invalid use of px4_sem_getvalue
...
sem_getvalue returns 0 on success, -1 on error, and never a value > 0.
5 years ago
Beat Küng
884621415d
dataman: fix invalid use of px4_sem_timedwait
...
px4_sem_timedwait expects an absolute time (from CLOCK_REALTIME), but a
relative time was provided.
This is only relevant if FLASH_BASED_DATAMAN is set (only on Intel aero).
5 years ago
Daniel Agar
bde36f0f4a
ROMFS: rc.vtol_defaults limit inner loop rate ( #13196 )
...
- temporary remedy for https://github.com/PX4/Firmware/issues/13149
5 years ago
ThomasRigi
17c17f26a9
VTOL GPSF: fix fixed bank loiter ( #12778 )
...
* GPS Failsafe fix for VTOL
* navigator: use new uORB API for VTOL publication
5 years ago
TSC21
412c364e90
microRTPS bridge: templates: do not change naming of topics based on the fasrtpsgen version
5 years ago
Matthias Grob
a053b7f69b
vtol_att_control_main: only reset thrust when disarmed
...
to see flaps moving according to attitude control before arming
and not have tailsitter elevons move to follow north heading.
5 years ago
Julien Lecoeur
4cc7b1319f
Fix param update in mc_att_control
...
ModuleParams::updateParams() was never called
5 years ago
Beat Küng
17551a99f8
io_timer: fix potential invalid memory access
5 years ago
Beat Küng
617f37afbf
mixer_{multicopter,helicopter}: add buffer size check
...
Fixes a potential buffer overflow if an MC/helicopter mixer is used that
exceeds the number of physical pins.
This is not a useful/flyable configuration, but the system still should
not crash.
5 years ago
Beat Küng
173337e49c
uORBManager: print errno for advertisement failures
...
Helps with debugging.
5 years ago
Matthias Grob
45a53726d6
LandDetector: switch to uORB::Publication
5 years ago
Matthias Grob
679e4fedf5
LandDetector: switch land flags to properies instead of one state
5 years ago
modaltb
1e1549a169
Add support for Bosch BMP388 barometer
5 years ago
Ilya Petrov
c58cfce6be
do not check VP fusion during GPS startup
...
This is solution for https://github.com/PX4/Firmware/issues/11864
5 years ago
kamilritz
a4e035d338
Add param to choose vision observation noise source
5 years ago
RomanBapst
6bfb50df8a
run arm authorization as last pre-arm check, as it used to be implemented
...
Signed-off-by: RomanBapst <bapstroman@gmail.com>
5 years ago
Matthias Grob
e843090383
Replace a lot of memset with {} initializers
5 years ago
Matthias Grob
b8f70e865c
voted_senors_update: remove memset 0 initializations because of zero initializer in header
5 years ago
Matthias Grob
185e2811dc
gyro_calibration: use constexpr instead of const
5 years ago
Matthias Grob
09faa4647b
ekf2_params: correct typo
5 years ago
TSC21
bfab544a64
Jenkins CI: reactivate Catkin build stage
5 years ago
Mark Sauder
0cbb693a8d
Add `return INFINITY;` to the LandDetector class `_get_max_altitude()` method declaration ( #12343 )
5 years ago
Matthias Grob
9f639d1f3b
mc_att_control: move rate control to RateControl class
...
This makes the controller more modular, more readable and hence
better maintainable.
5 years ago
TSC21
97e1edc835
microRTPS: templates: fix support for ROS2 Dashing
5 years ago
TSC21
f91770f9cd
generate_microRTPS_bridge: fix fastrtpsgen version check handler
5 years ago
Daniel Agar
c51475640e
mavlink: only send ATTITUDE/ATTITUDE_QUATERNION msgs on vehicle_attitude update
...
- fixes #13182
5 years ago
mcsauder
fb12ddb69a
Cherry pick the directory and voted_sensors_update.h from PR #9756 .
...
Consolidate _update_params() methods for improved inheritance from the LandDetector base class.
Move common uORB::Subscriptions to the base class for inheritance.
Deprecate redundant override methods.
5 years ago
David Sidrane
c44e4b9578
imu/mpu6000: support ICM20689 rev 4 ID
5 years ago
Silvan Fuhrer
51374aec7b
px4_fmu-v5: add here2 mag to startup
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
5 years ago
Nick
b72d010c34
Update vehicle_local_position.ref_alt comment to reflect how ref_alt is being used in PX4
5 years ago
Matthias Grob
bb91db2057
AttitudeControlTest: fix adaptAntipodal() function
5 years ago
Matthias Grob
83dfa227a7
AttitudeControlTest: include all corner case combinations
...
Which revealed antipodal quaternion corner cases when
the first element is zero.
5 years ago
Matthias Grob
511828bfd2
AttitudeControlTest: add first controller convergence test
5 years ago
TSC21
10e3bcd138
ulog stream msgs: rename 'sequence' fields as they are protected names in fastrtpsgen
5 years ago
TSC21
88a7e3df09
microRTPS bridge: fix templates for ROS2 usage
5 years ago
BazookaJoe1900
3007b0876c
mavlink: add protection against setting wrong type of parameters
5 years ago
Travis Bottalico
5324c37d04
Add support for voxlpm (I2C power monitor)
5 years ago
Jin Chengde
13c3ae3b52
FW RWTO: add throttle_ramp_time parameter RWTO_RAMP_TIME
...
* add throttle_ramp_time parameter support fixed wing runway takeoff
5 years ago
Matthias Grob
7e2fb6b4da
arch.sh: switch permissions of pip install (again)
...
after testing the right solution on a fresh installation
5 years ago
Martina Rivizzigno
123f769306
enable safe landing test
5 years ago
Martina Rivizzigno
7f4ddde378
enable avoidance test
5 years ago
Matthias Grob
001da78089
mc_pos_control: improve failsafe handling
...
See issue #12307
Since commander should still handle all failsafes we should only run
into this case as last resort to not crash.
If all failsafe actions are disabled but data is missing
e.g. RC loss action disabled but flying in manual and no RC
this can be tested.
5 years ago
Matthias Grob
068f56d66f
FlightTasks: fix switchTask() comment typo
5 years ago