Roman Bapst
20457c5e2e
position_setpoint: replaced loiter_direction integer by boolean ( #20317 )
...
* position_setpoint: replaced loiter_direction integer by boolean (loiter_direction_counter_clockwise)
Signed-off-by: RomanBapst <bapstroman@gmail.com>
2022-09-29 11:06:10 +02:00
Yang Hau
5d39fdba6d
fix: Add boundary protection for array access
2022-09-29 08:11:03 +02:00
Yang Hau
2dcde93d96
fix: Fix misuse of atoi()
2022-09-29 08:11:03 +02:00
Yang Hau
e2f3157ecb
fix: Add missing comma for const strings
2022-09-29 08:11:03 +02:00
David Sidrane
99ef597719
Nuttx with backport of stm32h7:SDMMC fix unaligned access
2022-09-29 07:56:46 +02:00
Ville Juven
59e86c490d
Remove include <log.h> from defines.h
...
The reason for this is that log.h includes drv_hrt.h which sucks in
half the project's include files with it, which causes strange build
issues
2022-09-29 07:56:24 +02:00
Daniel Agar
1f7080a710
ekf2: extend sensor bias stability requirement
...
- for accel/gyro/mag estimated bias only consider them stable (valid
for calibration updates) if the value isn't changing (10% of limit) over
the validity period
2022-09-28 10:40:52 -04:00
Daniel Agar
16f8adb4b3
hysteresis: avoid subtracting unsigned integers
...
- avoid potential errors with timestamp passed in from different sources
2022-09-28 09:51:16 -04:00
bresch
06f2004580
Mag: fix estimated bias save to calibration
...
Clear the calibration at the end only otherwise everything gets erased
at the end of the first iteration of the outer loop
2022-09-28 10:43:54 +02:00
Karthik S
70d73c8690
Advanced Plane Airframe for SITL Advanced Lift-Drag Plugin ( #20207 )
...
* Changed sitl_gazebo to the advanced liftdrag plugin fork.
* Added advanced plane and its associated parameters to PX4. Also tweaked one of the plugins to fix a compilation error (upcasting from float to double).
* Switched gazebo back to main branch, to avoid merge conflicts.
* Change simulator bridge back to what it was in main branch
* Changed sitl_gazebo to match the PX4 main branch's (commit hash b968405)
* Changed SimulatorIgnitionBridge to match most recent main.
2022-09-27 23:09:27 +02:00
jmackay2
0ee4d89744
drivers/osd/msp_osd: fix uorb_to_msg isnan floating-point check ( #20309 )
2022-09-27 14:41:43 -04:00
Eric Katzfey
a5bfc3fbc2
Added a self test feature to the VOXL 2 muorb module ( #20307 )
...
* Removed exit after dsp signature generation.
* First full test suite
* Cleaned up the muorb tests
* Improved VOXL 2 self test trigger in startup file
* Removed unneeded include file
2022-09-26 16:25:24 -04:00
Daniel Agar
7bc79b491f
sensors/vehicle_magnetometer: more granular in flight mag cal reset on parameter changes
...
- if mag calibration parameters change only reset any inflight mag cal
for the corresponding magnetometer
2022-09-26 12:42:32 -04:00
Daniel Agar
462d0af384
uORB: fix static orb_exists call for protected build
...
- unify ORBSet to maximum code coverage
2022-09-26 12:38:58 -04:00
Silvan Fuhrer
2717137982
RTL params: remove some unnecessary param constraints
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-26 13:32:35 +02:00
Silvan Fuhrer
b0a7d206f3
RTL params: increase max of RTL_RETURN_ALT and improve description
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-26 13:32:35 +02:00
Charles Cross
cfdaba35cc
Adds reset counter logic to EV height fusion
2022-09-26 11:48:18 +02:00
Daniel M. Sahu
779e738143
MSP OSD Revision
2022-09-24 18:40:47 -04:00
chris1seto
770f8080c0
CRSF: Validate unknown packet sizes to be smaller than max packet size
...
Co-authored-by: Chris Seto <chris1seto@gmail.com>
2022-09-24 16:36:17 -04:00
Daniel Agar
57bdac2b26
cmake: px4_parse_function_args re-enable failure on unparsed (invalid) arguments
2022-09-24 13:48:51 -04:00
Daniel Agar
ca0465aeca
Tools/generate_board_targets_json.py: properly exclude VOXL2 for now
2022-09-24 11:27:31 -04:00
Daniel Agar
e58275e6f5
platforms/posix: restore none SITL helper target for replay
2022-09-23 19:20:01 -04:00
chris1seto
77fdce9f3c
drivers/rc/crsf_rc: update standalone driver for CRSF and direct support for lq/rssi ( #20084 )
...
Co-authored-by: Chris Seto <chris1seto@gmail.com>
2022-09-23 19:19:25 -04:00
chris1seto
86cddc6a52
fw_autotune_attitude_control : Add better support for RC TX control while in FW AT ( #20069 )
...
Co-authored-by: Chris Seto <chris1seto@gmail.com>
2022-09-23 19:17:51 -04:00
Daniel Agar
b7fab39165
icm20948_i2c_passthrough: PX4_ERR is reset/configure fails and check temperature for validity
2022-09-23 19:16:10 -04:00
Daniel Agar
eb2a714aa5
ak09916: PX4_ERR if reset/configure is failing after 5s
2022-09-23 19:16:10 -04:00
Daniel Agar
16b4149492
Tools/generate_board_targets_json.py exclude VOXL2 for now (dev environment not yet available to github)
2022-09-23 16:40:56 -04:00
Thomas Debrunner
32277f6332
uavcan rgbled: Scale brightness for constant illumination
2022-09-23 14:33:20 -04:00
Eric Katzfey
d30ccb2b1d
initial board and platform support for the ModalAI VOXL 2 (POSIX + QuRT)
2022-09-23 12:03:05 -04:00
David Sidrane
e6b292b693
Revert "boards: px4_fmu-v6x_default remove gyro_fft to save flash (will be restored later)"
...
This reverts commit ed16354413
.
2022-09-23 09:32:43 -04:00
David Sidrane
d749389f95
fmu-v6x:CUAV HW Version changes
2022-09-23 09:32:43 -04:00
bresch
cddade2047
ekf2: use validated airspeed from airspeed sensor only
...
don't use synthetic measurements to prevent circular dependency
2022-09-23 09:26:47 -04:00
Julian Oes
8080ca966a
boards/platform: remove confusing override
...
This removes the odd px4_i2c_bus_external override which was confusing
me and lead to odd and inconsistent results.
The function is now only available with an int as the argument.
2022-09-23 20:54:08 +12:00
Junwoo Hwang
13d565d707
payload_deliverer: Add gripper state output to "status" CLI output
...
- Previously it was hard to check which state the gripper was in
(GRAB/GRABBED/ etc), not even whether it was correctly initialized, this
commit adds that functionality
2022-09-23 07:41:51 +02:00
Junwoo Hwang
e65d48c070
payload_deliverer: Fix Gripper unitialized message spamming
...
- When the gripper was uninitialized, the error message popped up
everytime the module had 'any' vehicle command received. But we should
be spamming only when we do actually get 'DO_GRIPPER' command received,
this commit adds that feature
- Also converted error messages for CLI when gripper test functinality
fails, so that user would get a feedback (originally, the PX4_DEBUG was
of course not outputting everything)
2022-09-23 07:41:51 +02:00
alexklimaj
fdf4b668eb
Ark flow rev 3 with PAA3905"
...
Add AFBR-S50LX85D
2022-09-22 20:36:43 -04:00
Daniel Agar
38d332a553
ekf2: inhibit accel bias dynamically when fake position/height fusion active
...
- inhibit accel bias learning dynamically depending on the angle between an accelerometer and the vertical axis when fake position fusion is active
2022-09-22 20:32:20 -04:00
Daniel Agar
1806f0d2b4
boards: delete broken flywoo_gn-f405_rtps
2022-09-22 17:44:24 -04:00
Silvan Fuhrer
300288b57e
FW Attitude Controller: fix polling of rate setpoint for tailsitter
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-22 19:13:36 +02:00
Daniel Agar
ed16354413
boards: px4_fmu-v6x_default remove gyro_fft to save flash (will be restored later)
2022-09-22 11:36:16 -04:00
David Sidrane
e284d4aa52
fmu-v6x:CUAV HW Version changes
2022-09-22 11:36:16 -04:00
CUAVmengxiao
21daa0f398
drivers: add support for ICP101XX and ICP201XX
2022-09-22 11:36:16 -04:00
CUAVmengxiao
9493008dbb
px4_fmu-v6X: add CUAV board
2022-09-22 11:36:16 -04:00
Silvan Fuhrer
0df878bc18
Navigator: use NAV_FW_ALTL_RAD only for FW landings, not VTOL landings
...
Also containst a mini refactor by removing the unnecessary function
get_default_altitude_acceptance_radius().
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-22 16:52:51 +02:00
Silvan Fuhrer
c6c7733587
FW Position control: add option to scale min airspeed wtih wind magnitude
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-22 16:39:27 +02:00
Beat Küng
e8ac9b266b
px4events: add @skip-file tag
2022-09-22 09:42:39 -04:00
Daniel Agar
54c97db8b2
ekf2: fix covariance comment typo
2022-09-21 15:29:07 -04:00
Silvan Fuhrer
d7fab74727
VTOL: remove _flag_was_in_trans_mode from standard vtol (not used)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-21 14:18:43 -04:00
Silvan Fuhrer
828f629413
VTOL: remove some pwm hackery leftovers from legacy mixing systems
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2022-09-21 14:18:43 -04:00
Beat Küng
d948fcd72b
fix control_allocator: check if 2. thrust and torque sp topic is valid
...
Otherwise the 2. setpoint is equal to the first one. This is only an issue
if the 2. instance isn't advertised.
2022-09-21 15:11:11 +02:00