Alexander Lerach
8447a8d75e
boards v6x: save FLASH by removing param longDesc from parameters.json
2025-08-28 17:57:32 +02:00
Marco Hauswirth
073013cf85
reset terrain w flow based on current horizontal velocity
2025-08-28 13:58:29 +02:00
Silvan Fuhrer
547582b16b
DSHOT: fix unit for DSHOT_MIN parameter ( #25493 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-08-27 09:21:16 -08:00
Alexander Lerach
8f2c36689d
logging: allow logging backend config
...
* logging: allow logging backend config
* correct board comments
* documentation: updated logging section
2025-08-27 15:44:36 +02:00
Jacob Dahl
30fcb4fcb1
uavcan: esc: init msg to avoid publishing random values ( #25485 )
2025-08-27 17:09:36 +12:00
Davide Iafrate
ec436d3be3
Enable selectively disabling sensors in the Gazebo bridge. ( #25484 )
...
* Initial plan
* Add configurable sensor subscription parameters
Co-authored-by: Tuxliri <3532595+Tuxliri@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Tuxliri <3532595+Tuxliri@users.noreply.github.com >
2025-08-26 10:00:47 -08:00
Beat Küng
6ec8dec63a
commander: add valid_registrations_mask to ArmingCheckRequest.msg
...
This allows external modes to individually check if they are flagged as
invalid/unresponsive.
Previously this was done only based on whether or not ArmingCheckRequest
was received, which does not work when multiple modes are running.
2025-08-26 14:38:05 +02:00
Beat Küng
edfcdaa008
commander: check for stale arming_check_reply messages
...
based on the message timestamp.
Previously it was possible to run into the following case:
- 2 external modes are registered (running inside the same ROS node)
- they time out due to the micro xrce agent being blocked for some reason
- PX4 removes them
- the latest arming check replies still arrive to PX4
- the application restarts
- the first mode gets registered
- PX4 handles the previous arming check reply, and clears
waiting_for_first_response, which reduces the timeout
- the second mode registers and as part of that checks for message
compatibility. This takes ~1s, triggering a timeout of the first mode
2025-08-26 14:38:05 +02:00
Silvan
a1ee9eb2c4
mavlink: remove streams from LOW_BANDWIDTH that are deprecated
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-08-25 17:34:34 +02:00
bresch
4a697d0191
ekf2: stop GNSS altittude and velocity aiding when gnss_fault is set
2025-08-25 10:22:23 +02:00
mahima-yoga
db3f33760e
docs: add instructions for controlling actuators in SIH
2025-08-25 09:28:43 +02:00
mahima-yoga
dd09cdf986
Commander: remove HIL_STATE_ON from arming lockdown
...
Removing this from the boolean allows users to send pwm values in SIH.
2025-08-25 09:28:43 +02:00
chfriedrich98
4a5eabb61e
rover: constrain update steps
2025-08-22 12:13:01 +02:00
chfriedrich98
248f113141
rover: improve hold position logic ( #25466 )
2025-08-22 12:10:16 +02:00
Peter van der Perk
c1d15d0e09
Zenoh: use strncpy and bool
2025-08-22 08:22:59 +02:00
Peter van der Perk
8689c00be7
Zenoh: cleanup and review
2025-08-22 08:22:59 +02:00
Peter van der Perk
17e843a985
zenoh: remove MessageFormat since Zenoh RIHS01 already provides it
...
RIHS01 has the same functionality and already provides type safety with
rmw_zenoh_cpp. The user on ROS2 can compare the PX4 ros2_lv hashes with
their own px4_msgs for a mismatch
2025-08-22 08:22:59 +02:00
Peter van der Perk
44ff6d9c62
zenoh: exclude src/modules/zenoh/dds_topics.yaml from yaml check
2025-08-22 08:22:59 +02:00
Peter van der Perk
747bcc9db5
zenoh: Move ROS2 Rmw attachment code to rmw_attachment.h
...
Allows for re-use for later ROS2 Service / Zenoh queryable
2025-08-22 08:22:59 +02:00
Benjamin Chung
c41216376a
Add an explicatory comment to Zenoh publisher's handling of the uOrb topic number (or lack thereof)
2025-08-22 08:22:59 +02:00
Benjamin Chung
88c1412d25
Zenoh CLI improvements
2025-08-22 08:22:59 +02:00
Benjamin Chung
01bf700f3d
Fix dds topics naming
2025-08-22 08:22:59 +02:00
Benjamin Chung
0bb9e5952a
Pubsub constructor template fix
2025-08-22 08:22:59 +02:00
Benjamin Chung
70054fc567
Implement instance selection & pub/sub deletion for Zenoh
2025-08-22 08:22:59 +02:00
Benjamin Chung
7a98c87fcb
Copy the uxrce config for Zenoh
2025-08-22 08:22:59 +02:00
Benjamin Chung
80b5cf2ed7
Prevent conversion warnings from static integers in zenoh-pico
2025-08-22 08:22:59 +02:00
Peter van der Perk
9ffd31097d
zenoh: Use CDRv1 to match ROS2
...
Fixes various padding related serialization issues.
2025-08-22 08:22:59 +02:00
Peter van der Perk
f99759db87
zenoh: Fix status keyexpr printf
2025-08-22 08:22:59 +02:00
Peter van der Perk
231128c68e
Zenoh set transport lease to 60000 to match ros2
2025-08-22 08:22:59 +02:00
Peter van der Perk
5622565eea
Zenoh optimize memory usage and add optional publish on matching
2025-08-22 08:22:59 +02:00
Peter van der Perk
7887f16daa
Update NuttX config for use with Zenoh
2025-08-22 08:22:59 +02:00
Peter van der Perk
0763bbe2cf
Generate default Zenoh config from dds_topics.yaml
...
For easy transition from uxrce to zenoh and a sane base config to begin with
2025-08-22 08:22:59 +02:00
Peter van der Perk
bac009c2b8
Enable Zenoh by default on big-flash targets
...
These targets can easily support Zenoh by default eases adoption and testing
2025-08-22 08:22:59 +02:00
Peter van der Perk
ac2627cca9
rmw attachment serialization changes
...
Use new atachment serialization format
Subscriber fix parsing payload and remove uorb publisher on destructor
2025-08-22 08:22:59 +02:00
Peter van der Perk
61e2f566ca
Zenoh config, lv and connection fixes
...
Fixes a bug in the csv parsing
Use % for / seperators in ros2_lv
On startup retry connecting
2025-08-22 08:22:59 +02:00
Peter van der Perk
3d30eaae5f
Fix NuttX keepalive socketoption
2025-08-22 08:22:59 +02:00
Peter van der Perk
e052f35664
zenoh: omit timestamp attachment
...
This isn't needed for the rmw_zenoh zenohd configuration
2025-08-22 08:22:59 +02:00
Peter van der Perk
2bc9cb4ead
zenoh: implemement experimental liveliness to get ROS2 graph to work
2025-08-22 08:22:59 +02:00
Peter van der Perk
5211d9c92e
zenoh: pubsub factory fix datatype naming convention
2025-08-22 08:22:59 +02:00
Peter van der Perk
575923b534
Zenoh: fix topic_name and datatype mapping
...
Using substring was buggy instad we make dictionary based on datatypes and the get_topics function
2025-08-22 08:22:59 +02:00
Peter van der Perk
e37f20e94d
zenoh: Don't use uORB o_name as type but check for parent type
...
For example vehicle_local_position_groundtruth has ROS2 type
vehicle_local_position, so we've to use px4_msgs/VehicleLocalPosition as typename
2025-08-22 08:22:59 +02:00
Peter van der Perk
cb74cee970
zenoh: Increase CDR safety margin
...
Figure out by trial and error with padding on vehicle_local_position
2025-08-22 08:22:59 +02:00
Peter van der Perk
70536766db
zenoh: Handle parsing errors in config
2025-08-22 08:22:59 +02:00
Peter van der Perk
40bba0069d
zenoh: Fix handling for non-existing types
2025-08-22 08:22:59 +02:00
Peter van der Perk
35004e357c
zenoh: Add px4_sitl_zenoh to cmake-variants.yaml
2025-08-22 08:22:59 +02:00
Peter van der Perk
923257779a
zenoh: Default to 127.0.0.1 when using sitl/posix
...
Also improve error message when connection failed
2025-08-22 08:22:59 +02:00
Peter van der Perk
a24b3a121c
zenoh: Improve error message when there are no scouting results
2025-08-22 08:22:59 +02:00
Peter van der Perk
85cab5a4db
sitl: autostart zenoh if enabled
2025-08-22 08:22:59 +02:00
Peter van der Perk
859ba81e33
Zenoh fix gcc/sitl compile errors
2025-08-22 08:22:59 +02:00
Peter van der Perk
4aff095f9b
IDL 2 RIHS01 remove tempfile and print
2025-08-22 08:22:59 +02:00
Peter van der Perk
796efeebe7
Implement Domain id parameter and move gid to zenoh
2025-08-22 08:22:59 +02:00
Peter van der Perk
9d02698987
Update Zenoh for library and implement rmw_zenoh features
...
New zenoh-pico library
Keyexpr instrospection
RIHS01 Types
2025-08-22 08:22:59 +02:00
Peter van der Perk
e1a7fbce71
Update cdrstream code generator including typehash
2025-08-22 08:22:59 +02:00
Peter van der Perk
a87456b38b
Update rosidl
...
Adds support for typehashes
2025-08-22 08:22:59 +02:00
Peter van der Perk
33a5122916
Update Zenoh-pico
2025-08-22 08:22:59 +02:00
ljarvela
b53ecf7f68
uavcan: increase battery filter sample interval to 500ms ( #25454 )
...
Fixes issue #25430
Co-authored-by: Lasse Järvelä <lasse.jarvela@iceye.com >
2025-08-21 19:19:52 -07:00
Alexander Lerach
138427b3a8
config: add dynamic init file
...
* config: add dynamic init file
* added review feedback
* added docs
2025-08-21 16:46:06 +02:00
Alexander Lerach
785ea1a137
ubx: add new mode for GCS usage
...
* ubx: add new mode for GCS usage
* use head ref
2025-08-21 15:45:40 +02:00
chfriedrich98
8e5cd59502
rover: fix setpoint generation
2025-08-21 13:33:19 +02:00
Beat Küng
df11aa1d69
fix commander: handle mode executor correctly on disarm
...
There were a number of cases where the state was not correct or not as
desired after disarming, when running an external mode 'MyMission' with
executor:
- run MyMission, which triggers Hold, then Land
- before: Mode: Hold, executor_in_charge: 1
- after: Mode: MyMission, executor_in_charge: 1
- run MyMission, then user switches to RTL
- before: Mode: MyMission, executor_in_charge: 0
- after: Mode: MyMission, executor_in_charge: 1
- run MyMission, then while in Hold mode, low battery failsafe (RTL)
- before: Mode: Hold, executor_in_charge: 1
- after: Mode: MyMission, executor_in_charge: 1
- run MyMission, then stop external mode (terminate the process)
- before: Mode: (mode not available), executor_in_charge: 0
- after: Mode: Hold, executor_in_charge: 0
This case is unchanged:
- run MyMission, then low battery failsafe (RTL)
- before: Mode: MyMission, executor_in_charge: 1
- after: Mode: MyMission, executor_in_charge: 1
2025-08-21 10:06:30 +02:00
chfriedrich98
a1bc09a6ad
rover: seperate speed control
2025-08-20 10:54:16 +02:00
Hamish Willee
e81c62cc36
Add note on INS page about adding the driver modules ( #25464 )
2025-08-20 18:01:37 +10:00
Hamish Willee
18d76b18b9
docs_flaw_checker.yml3 - use sed to strip out the escapes ( #25463 )
2025-08-20 16:40:56 +10:00
Hamish Willee
722580760c
docs_flaw_checker.yml pt 2 ( #25462 )
2025-08-20 16:35:49 +10:00
Hamish Willee
c65b1d845a
docs_flaw_checker.yml - attempt to fix the flaw safely ( #25461 )
2025-08-20 16:31:12 +10:00
Hamish Willee
71b8e299fd
MAV_CMD_REQUEST_MESSAGE support for MESSAGE_INTERVAL ( #25460 )
...
* MAV_CMD_REQUEST_MESSAGE support for MESSAGE_INTERVAL
* Default should be -1 for stream
* Format
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-08-20 15:07:44 +10:00
chfriedrich98
eeaf1d7959
docs: new rover stick input scaling parameters ( #25427 )
...
* docs: new rover stick input scaling parameters
* docs: clarify rover basic setup
* Update docs/en/config_rover/basic_setup.md
* Minor subedit
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-08-20 14:12:31 +10:00
Andrew Wilkins
35ff853f76
Docs/test card update ( #25451 )
...
* added VIO test card
* added tickets for regression testing
* Subedit
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-08-20 12:08:49 +10:00
henrykotze
8b58c01cd7
ESP32 Support Sponsored by AutonoSky
...
nsh console running on USB
param module running
working with i2c and common drivers
provided implementation for drv_pwm_output.h
i2cdetect working as expected with no device
mavlink started succesfully
mounts sd card and logger runs
logger to file succesfully
pwm_servo implemented without using Nuttx lib
pwm_out outputs expected waveforms
- however currently if the frequency is higher than what the pwm_out
driver runs, there will be aliasing, based on how the registers gets
resets
wifi softap working
- Seeing wifi hotspot
- cant connect due to wrong password
- problems with adjusting ssid and password
wifi ssid and password being set accordinglu
connected to wifi hotspot with dhpcd
- made some changes to nuttx to only build for SoftAP mode, however this
was effectivelyy removing the ifdef for STATION mode. Should investigate
the coexist option again
added ifdef to not use timer 0 when wifi enabled
- reverted esp32 rt_timer to make use of timer 0 by default
fix setting incorrect bit in hrt timer register
- hrt running as expected, but on startup the pwm_out driver starts up
at about 200Hz and then rises over a minute or so 250Hz. Not sure if
this was present previously, and could be due to Wifi running at time
priority on timer 0
pull xtensa compilers in setup.ubuntu.sh
revert logger stacksize and cmake argument
esp32 chip revision and PX4 UUID implemented
spi board reset implemented, formatting checked
devkit acts on startup as a wifi bridge for comms
- the most usefull setting for the general developer when buying a esp32 devkit
- testing Mavlink shell using ./Tools/mavlink_shell.py
- todo: Test mavlink messages being forward
improve wifi telemetry by increasing prio
- Remove power save mode on wifi
- increased daemon thread schedule priority to 50
compiles without Nuttx changes
- updated compiler settings to match those of nuttx on px4 side
add espressif_esp32 to excluded boards
ci: allow docker to find xtensa compilers
2025-08-19 11:09:56 -07:00
Silvan Fuhrer
b3c7667f41
Fw rate controller: enable yaw rate controller when feeding in yaw rate setpoints outside of manual control ( #25457 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-08-19 18:41:49 +02:00
Alvaro Fernandez
333b77cb38
fw_mode_manager: fixed altitude hold for auto fixed-bank loiter ( #25456 )
2025-08-19 17:05:13 +02:00
dawr68
6934bc908e
airspeed calibration: save offset only when full procedure succeed ( #25412 )
...
* feat: save offset only when full procedure succeed
* feat: zero dpres off on all failures
* feat: remove unnecessary param_save_default calls
2025-08-19 14:28:13 +02:00
Niklas Hauser
8c4d998931
[board] Use HSE as RTC clock for FMUv6s
2025-08-19 11:18:49 +02:00
Niklas Hauser
450f1d33f6
[board] Increase CPU speed to 480MHz for FMUv6s
...
The Ethernet clock output is not used anymore so there are no
restrictions on the clock tree configuration.
This aligns the clock speeds with FMUv6x.
2025-08-19 11:18:49 +02:00
Alexander Lerach
68fa5fc312
mavlink: add message spacing for AVAILABLE_MODES, for low bandwidth
...
* mavlink: add message spacing for AVAILABLE_MODES, for low bandwidth links
* calculate delay based on rate
* fixed transmit time calc & not delay single mode send
Co-authored-by: bkueng <beat-kueng@gmx.net >
---------
Co-authored-by: bkueng <beat-kueng@gmx.net >
2025-08-19 10:36:37 +02:00
Silvan Fuhrer
16f97635ce
Separate RC and manual control terms
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-08-18 18:11:03 +02:00
Atsunori Saito
e15752099f
fix: correct hex format for CRC output ( #25442 )
...
- switch to PRIx32 for proper hex formatting
- keep zero-padding and casing consistent
- ensure status prints CRC correctly
2025-08-18 08:03:44 -08:00
Liu1
b52a9e7e32
boards: Modify the cuav_x25-evo GPIO_nARMED level state ( #25431 )
...
PULLUP and PULLDOWN change actions for the board.
2025-08-18 08:51:15 -04:00
PX4 Build Bot
a70a558393
New Crowdin translations - ko ( #25438 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-08-18 09:47:28 +10:00
PX4 Build Bot
b8936083d8
New Crowdin translations - uk ( #25439 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-08-18 09:47:17 +10:00
PX4 Build Bot
fdf0e60c11
New Crowdin translations - zh-CN ( #25440 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-08-18 09:47:12 +10:00
PX4 BuildBot
c2e2d8231e
Update submodule mavlink to latest Thu Aug 14 12:39:27 UTC 2025
...
- mavlink in PX4/Firmware (4acabda9cef8bfa6ea670672dddbc45d97276612): https://github.com/mavlink/mavlink/commit/b27d03bffd7969b30242a00aeaa6c0430d34d429
- mavlink current upstream: https://github.com/mavlink/mavlink/commit/f9dbd8c4968e9e135383e007244e4911ad4f729f
- Changes: https://github.com/mavlink/mavlink/compare/b27d03bffd7969b30242a00aeaa6c0430d34d429...f9dbd8c4968e9e135383e007244e4911ad4f729f
f9dbd8c4 2025-08-14 Julian Oes - C example fixup (#2333 )
e261db27 2025-08-14 Nick E - common.xml: Add COASTING flag to CAMERA_TRACKING_STATUS_FLAGS (#2326 )
4f0efaaa 2025-08-14 Nick E - common.xml: Add "Power On" action to MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN command (#2329 )
6a98757c 2025-08-14 vlad-serbanica - Add new component IDs for multiple radios (#2327 )
2ca0cb55 2025-08-14 Nick E - common.xml: Add commands, capability and flag for Moving Target Indicators (MTI) (#2323 )
115f1c83 2025-08-14 Christian Clauss - Typos: Run codespell on all files (#2328 )
2025-08-14 14:40:34 -04:00
czx-fly
1f2cdf44dc
Fix custom name ( #25426 )
...
* board:xc-fly misspelling rename (slam to slim)
2025-08-14 14:03:32 -04:00
chfriedrich98
e06f7f243c
rover: add exponential scaling to manual yaw rate input
2025-08-14 12:00:33 +02:00
Hamish Willee
8eb1c6063e
Fix up uorb message spacing to add whitespace ( #25421 )
...
* Fix up uorb message spacing for already updated messages
* Apply suggestions from code review
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-08-14 19:39:52 +10:00
Hamish Willee
01db727fa2
Fix workflow vulnerabilities in flaw checker and comments ( #25419 )
...
* docs_pr_comment.yml - fix script expansion issue
* Fix flaw checker too
* docs_flaw_checker.yml - tj-actions/changed files to latest
Fixes security bug in using vulnerable version
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-08-14 17:38:14 +10:00
Hamish Willee
f3e7d14efa
[Docs] msg/VehicleAirData.msg - to standard ( #25228 )
...
* [Docs] msg/VehicleAirData.msg - to standard
* Update msg/VehicleAirData.msg
* Update msg/VehicleAirData.msg
* Update msg/VehicleAirData.msg
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
* Update msg/VehicleAirData.msg
* Fix up build issue related to docs_deploy2
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-08-14 11:37:48 +10:00
chfriedrich98
72796a9844
docs: update ackermann sih ( #25418 )
...
* docs: update ackermann sih
* Update metadata to fix broken link
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-08-14 11:03:07 +10:00
accton-iot
2333fb2853
boards: new accton-godwit_ga1
2025-08-13 11:28:37 -04:00
chfriedrich98
9a1845902e
ackermann: add SIH airframe ( #25405 )
2025-08-13 15:41:14 +02:00
Andrew Brahim
a46125b135
SF45 revert missing bin logic ( #25173 )
...
* revert missing bin logic
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
* removed else and initialized at variable declaration
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
---------
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
Co-authored-by: Claudio Chies <61051109+Claudio-Chies@users.noreply.github.com >
2025-08-13 08:46:52 -04:00
Hamish Willee
c320a9240b
Add docs deploy 2 for testing ( #25416 )
2025-08-13 15:51:44 +10:00
chfriedrich98
c475ec2c1f
docs: ackermann rover sih ( #25229 )
...
* docs: ackermann rover sih
* prettier
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-08-13 09:04:33 +10:00
PX4 Build Bot
7984562e6f
New Crowdin translations - uk ( #25401 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-08-13 09:02:09 +10:00
PX4 Build Bot
cc78aa5728
New Crowdin translations - zh-CN ( #25402 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-08-13 09:01:33 +10:00
PX4 Build Bot
1060d3a43e
New Crowdin translations - ko ( #25400 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-08-13 09:01:22 +10:00
Niklas Hauser
5f5984b9b8
[work_queue] Configure stack size and priority via KConfig ( #25406 )
2025-08-12 22:54:35 +01:00
Daniel Agar
f161a32c55
ekf2: revert minor baro ctrl check change from 078e4c9 (ekf: always publish baro and gnss bias even if zero ( #25385 ))
2025-08-11 21:38:22 -04:00
PX4 BuildBot
a69e0c6efc
boards: update all NuttX defconfigs
2025-08-11 21:03:07 -04:00
Alex Klimaj
e05d8f2168
heater: fix on blips when the heater is off ( #25398 )
...
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-08-11 20:52:53 -04:00
Shara
947c71e1cb
mavlink: deprecated usage of MISSION_REQUEST at initial flight plan message ( #24992 )
2025-08-09 10:06:32 -04:00
czx-fly
37475d2557
boards: new xc-fly xc-slam board support ( #25364 )
2025-08-08 23:38:53 -04:00
cuav-liu1
e07598d838
boards: add cuav fmu-v6x
2025-08-08 23:35:03 -04:00
Jacob Dahl
078e4c911f
ekf: always publish baro and gnss bias even if zero ( #25385 )
...
* ekf: always publish baro and gnss bias even if zero
* [SQUASH] ekf2: simplify hgt bias publish
---------
Co-authored-by: Daniel Agar <daniel@agar.ca >
2025-08-08 11:18:50 -08:00
Alex Klimaj
eef01b1b9a
AFBR scheduling fix ( #25397 )
...
* always reschedule from measurementReadyCallback, don't update range mode is processMeasurement fails, reschedule trigger faster if Argus_TriggerMeasurement fails, refactor mode switching logic, update perf counters
* make format
* make format exclude microstrain submodule
---------
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com >
2025-08-08 10:50:05 -08:00
Beat Küng
bb3fd295ea
mavlink: reduce rate multiplier to 0.25 while sending parameters
...
Co-authored-by: alexcekay <alexander@auterion.com >
2025-08-08 16:43:29 +02:00
bresch
cfe1666add
Mavlink: Stream the received auxiliary global position from dds over Mavlink
2025-08-08 10:57:30 +02:00
PX4 BuildBot
e0af42a797
Update submodule tflite_micro to latest Fri Aug 8 01:46:23 UTC 2025
...
- tflite_micro in PX4/Firmware (a5c5ed74d0d2c43a4c9aafafa3eec58ba06f9a18): https://github.com/PX4/tflite-micro/commit/9d35a74b03fa313026982abb4d2c4ffe29de88bc
- tflite_micro current upstream: https://github.com/PX4/tflite-micro/commit/3c0b1e3091e4ea423e1bf9da89d41d09517eb0c9
- Changes: https://github.com/PX4/tflite-micro/compare/9d35a74b03fa313026982abb4d2c4ffe29de88bc...3c0b1e3091e4ea423e1bf9da89d41d09517eb0c9
3c0b1e30 2025-05-20 Shlomi Regev - Add a Makefile option to a Cortex-M FPU (#3105 )
2025-08-07 22:51:07 -04:00
Silvan Fuhrer
f4fb485b21
AirspeedSelector: increase default of ASPD_WERR_THR
...
The previous default of 0.55m/s was very restrictive, the
ground-minus-wind airspeed estimate was barely ever valid
with it.
Signed-off-by: Silvan <silvan@auterion.com >
2025-08-07 22:10:32 -04:00
Alexis Guijarro
a33b194d1d
mRo boards: Explicit storage of parameters on microsd card as workaround due to present FRAM bug
2025-08-07 21:59:19 -04:00
Liu1
8462ead986
boards: add new cuav x25-evo ( #25176 )
2025-08-07 21:54:33 -04:00
Ian Scholl
4812311c6c
ekf2: Add GPS fix type check bit ( #25215 )
2025-08-07 21:50:58 -04:00
alexklimaj
9531262cfe
mavlink: new mode MAVLINK_MODE_DISTANCE_SENSOR
2025-08-07 21:26:13 -04:00
alexklimaj
bc60307163
boards: ARK DIST
2025-08-07 21:26:13 -04:00
PX4 BuildBot
1dacd1dc7f
Update submodule jsbsim_bridge to latest Fri Aug 8 00:42:56 UTC 2025
...
- jsbsim_bridge in PX4/Firmware (3619a876011bac0495e5fe88ec0ff71602fd1be2): https://github.com/PX4/px4-jsbsim-bridge/commit/68de2cc63ded9a0d6641d45e9eb3ed2b43454cba
- jsbsim_bridge current upstream: https://github.com/PX4/px4-jsbsim-bridge/commit/f37ec259bd7a43565fe0ff4722465b7a303200f6
- Changes: https://github.com/PX4/px4-jsbsim-bridge/compare/68de2cc63ded9a0d6641d45e9eb3ed2b43454cba...f37ec259bd7a43565fe0ff4722465b7a303200f6
f37ec25 2025-03-19 Jaeyoung Lim - Populate sensor id for sensor message (#14 )
2025-08-07 21:25:45 -04:00
PX4 BuildBot
13e0134b51
Update submodule gz to latest Fri Aug 8 00:42:54 UTC 2025
...
- gz in PX4/Firmware (fb8c43efc3 ): https://github.com/PX4/PX4-gazebo-models/commit/929d55e8832fcd1a1432d2ae1b36601455ec7ed7
- gz current upstream: https://github.com/PX4/PX4-gazebo-models/commit/6cfb3e362e1424caccb7363dca7e63484e44d188
- Changes: https://github.com/PX4/PX4-gazebo-models/compare/929d55e8832fcd1a1432d2ae1b36601455ec7ed7...6cfb3e362e1424caccb7363dca7e63484e44d188
6cfb3e3 2025-08-04 Sai Aravind - Added helipad model (#115 )
d679f3a 2025-07-27 Gilbert Tanner - Add gz_frame_id's to sensors (#114 )
2025-08-07 21:06:17 -04:00
PX4 BuildBot
2b9cfa21f4
Update submodule mavlink to latest Fri Aug 8 00:43:14 UTC 2025
...
- mavlink in PX4/Firmware (76c2147b774662653b16b7275b48bebb1d5ef219): https://github.com/mavlink/mavlink/commit/067abb83cd2755f0e49491032d63438c64fd0aed
- mavlink current upstream: https://github.com/mavlink/mavlink/commit/b27d03bffd7969b30242a00aeaa6c0430d34d429
- Changes: https://github.com/mavlink/mavlink/compare/067abb83cd2755f0e49491032d63438c64fd0aed...b27d03bffd7969b30242a00aeaa6c0430d34d429
b27d03bf 2025-08-06 Mathieu Bresciani - Add GLOBAL_POSITION message (#2256 )
ffecddeb 2025-08-06 Hamish Willee - Move AUTOPILOT_VERSION to standard.xml (#2306 )
8384e908 2025-08-06 Peter Hall - common: AIS update and bug fixes (#2281 )
f459afd4 2025-07-30 Matthias Grob - common: remove wip tag from MAV_CMD_DO_ORBIT and ORBIT_EXECUTION_STATUS (#2316 )
e9d76096 2025-07-30 github-actions[bot] - ardupilotmega dialects from ArduPilot/mavlink: Wed Jul 30 02:32:07 UTC 2025 (#2322 )
99456420 2025-07-30 Andrew Voznytsa - Update Pymavlink to latest (#2321 )
a367c1aa 2025-07-30 Balduin - command: MAV_CMD_ACTUATOR_GROUP_TEST (#2224 )
e7cdcf4b 2025-07-24 Christian Clauss - Fix ruff rules E711,E712,F841 (#2314 )
e8e2d919 2025-07-23 Andrew Voznytsa - Rename BOOL to MAV_OPTION (#2317 )
0bcf338f 2025-07-16 Christian Clauss - ruff check --select=E713,E714,F401,F541 —fix
1912f5f5 2025-07-02 Christian Clauss - GitHub Actions: Lint Python code with ruff
b8af1bb2 2024-03-13 Marek S. Lukasiewicz - Add MARSH dialect
d01b4fbc 2025-07-09 Christian Clauss - mavgenerate.py: Remove support for Python 2
3db6daae 2025-07-03 Christian Clauss - Add codespell of four XML files to GitHub Actions
1fb5daac 2025-07-09 Hamish Willee - Update Pymavlink to latest 20050709
121bb736 2025-07-03 Christian Clauss - useless-semicolon: ruff check --select=E703 --fix
0f70d319 2025-05-22 TedObrien - fix: spelling mistake
77fc612f 2025-07-02 Christian Clauss - Fix typos discovered by codespell
5e27ca1a 2025-07-03 Hamish Willee - Fix errors and some flake8 crap
c1f2807f 2025-06-26 Hamish Willee - common.xml - fix up bad rendering of version fields
8e6345cb 2025-07-02 Christian Clauss - Remove useless object inheritance
56782c7d 2025-07-01 Julian Oes - development: remove SET_AT_S param
11961497 2025-03-20 Hamish Willee - Add BOOL enum for true/false cases
d0c683f1 2025-06-28 Christian Clauss - GitHub Actions: Test on LTS versions of Node.js and Python (#2296 )
6cf16a3e 2025-06-26 Hamish Willee - Gripper - support discovery and addressing (#2287 )
fcfa6cc8 2025-06-26 dependabot[bot] - build(deps): bump the github-actions group with 3 updates (#2294 )
32a1cd3c 2025-06-26 Hamish Willee - Fix camera information firmware version (#2295 )
69614ceb 2025-06-26 Christian Clauss - Keep GitHub Actions up to date with GitHub's Dependabot (#2292 )
c27f4593 2025-06-18 Peter Hall - remove display="bitmask" (#2289 )
a9d41b50 2025-06-18 Peter Hall - common: DO_REPOSITION: support relative yaw (#2280 )
81c09011 2025-06-11 Peter Hall - Replace `MAV_MODE` with `MAV_MODE_FLAG`. (#2195 )
ebfa4609 2025-06-09 Emmanuel Ferdman - Fix incorrect field name assignment from minValue to maxValue (#2284 )
2025-08-07 21:06:00 -04:00
Jacob Dahl
5775a48543
ark: fpv: add rover.px4board
2025-08-07 20:48:12 -04:00
Daniel Agar
fb8c43efc3
gitmodules specificy branch for fuzztest and tflite_micro
2025-08-07 20:40:05 -04:00
jobs
79bfc07c13
boards: add new NarinFC-H7
2025-08-07 20:39:46 -04:00
PX4 BuildBot
81ff0925f8
boards: update all NuttX defconfigs
2025-08-07 20:35:04 -04:00
Ramon Roche
f9b9ef5b59
boards: disable INS for micoair boards
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-08-07 19:06:54 -04:00
Hamish Willee
25ae4ef71a
ModalAI Starling - fix up links and undeprecated ( #25272 )
2025-08-07 16:04:21 +10:00
Hamish Willee
fba3c08945
Apply suggestions from code review
2025-08-07 14:22:50 +10:00
Ramon Roche
42432fdbdf
docs: v1.16 stable release notes
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-08-07 14:22:50 +10:00
Hamish Willee
5415aeb9fe
Metadata update and fixes to internallinkerrors
2025-08-07 09:47:51 +10:00
Peter van der Perk
aa15512762
fmu-v6xrt: Add V6XRT001 and V6XRT002 sensor set
2025-08-06 16:49:42 -04:00
Peter van der Perk
d9bc3bc6bb
fmu-v6xrt: Enable lis2dml and bmm350 magnetometer
2025-08-06 16:49:42 -04:00
Beat Küng
ee62a55adc
ci: automatically open an issue in case the fuzzing CI fails
2025-08-06 16:49:00 -04:00
Beat Küng
ba678120d8
ci: update fuzzing.yml container to px4io/px4-dev:v1.16.0-rc2-4-gb67c65bfe6
...
There was a build error with the previous container:
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.28/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
build/px4_sitl_test/_deps/abseil-cpp-src/CMakeLists.txt:98 (find_package)
See https://github.com/PX4/PX4-Autopilot/actions/runs/16235116238/job/45844179833
2025-08-06 16:49:00 -04:00
Jacob Dahl
4cf7bb2429
correct ARK Flow
2025-08-06 12:45:36 -06:00
Jacob Dahl
c2db8ab313
docs: ARK CAN node LED meaning
2025-08-06 12:45:36 -06:00
Eric Katzfey
a6b90eb050
VOXL2: Updated startup script to patch EKF2_EV_CTRL set default value issue
2025-08-06 09:52:55 -07:00
Jacob Dahl
86f049ead1
romfs: generic_250: set MPC_Z_VEL_MAX_DN to match UP
2025-08-06 09:58:58 -06:00
mahima-yoga
204539015a
docs: Shrink images
2025-08-06 11:34:29 +02:00
mahima-yoga
a55f3afc14
docs: Clarify difference between Wind.msg and AirspeedWind.msg
2025-08-06 11:34:29 +02:00
mahima-yoga
ecceb403a0
docs: Clarify bit 0 handling in ASPD_DO_CHECKS
2025-08-06 11:34:29 +02:00
mahima-yoga
19f22416fd
docs: Add documentation & examples around airspeed validation
2025-08-06 11:34:29 +02:00
Hamish Willee
c737df3e82
mavlink_main.cpp - PROTOCOL_VERSION
2025-08-06 16:30:06 +10:00
Crowdin Bot
40797895fd
New Crowdin translations - ko
2025-08-06 15:46:03 +10:00
Crowdin Bot
cb0ecd12b3
New Crowdin translations - uk
2025-08-06 15:43:37 +10:00
Crowdin Bot
52e9ab6a5a
New Crowdin translations - zh-CN
2025-08-06 15:35:42 +10:00
Jacob Dahl
ca3a1c77c4
fix submodule ( #25368 )
2025-08-05 20:41:31 -07:00
Pernilla
d70eecc17d
define M_PI if not defined in math.h
2025-08-05 20:27:05 -07:00
Eric Katzfey
7e5cc020c3
QURT: HITL: Moved heartbeat send into actuator send thread to avoid race conditions
2025-08-05 17:16:05 -07:00
Eric Katzfey
5b9e099fd1
Fixed Posix and Qurt platform build error introduced in earlier commit
2025-08-05 17:14:12 -07:00
Minderring
f8bfe01eca
Add MSP_OSD and other drivers for micoair boards
2025-08-05 16:58:31 -07:00
Alexander Lerach
38c776784e
auterion pm: set max current based on eeprom
2025-08-05 08:30:13 -07:00
Alexander Lerach
900f108a2e
auterion pm: add eeprom-based pm selection
2025-08-05 08:30:13 -07:00
JoelJ18
b5e5d214fe
drivers: MicroStrain Inertial Sensors ( #23858 )
2025-08-05 08:05:46 -07:00
Ramon Roche
e021a1c946
Tools: Update macos dependencies ( #25361 )
...
* tools: macos.sh update cross-compiler
* tools: editor styleguide for bash scripts
---------
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-08-04 22:15:30 -04:00
Jacob Dahl
50fce15a75
ark: v6x: add rover.px4board
2025-08-04 12:01:22 -06:00
bresch
77e8ccaf6a
fw-atune: fix immediate failure on first try
...
The flight mode needs to be updated before starting the autotune,
otherwise it appears as a mode change and aborts the autotune
2025-08-04 16:42:54 +02:00
amovlgf
8c6337e94e
add rgbled_aw2023 drivers ( #25158 )
...
* add rgbled_aw2023 drivers
* delete a newline to the end of the file
2025-08-03 18:45:41 -08:00
Jacob Dahl
a48ed22f9f
docs: fix typo mgs ( #25352 )
2025-08-03 08:19:01 +02:00
Eric Katzfey
c5b8445ffc
Added Qurt platform Serial implementations for bytesAvailable() and flush(). ( #25348 )
2025-08-01 13:22:00 -08:00
Ramon Roche
0cddd3dfb0
drivers: disable INS by default ( #25303 )
...
* drivers: disable INS by default
With the growing number of INS drivers some targets are running out of flash
and its becoming challenge to keep them under the limit.
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* Update boards/nxp/tropic-community/default.px4board
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Update boards/px4/fmu-v6xrt/default.px4board
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
---------
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-07-31 11:42:21 -08:00
Jacob Dahl
9e811136a2
ci: clang-tidy: fix attempt ( #25328 )
2025-07-31 10:35:38 -07:00
Hamish Willee
c546e7c1f7
Update docs/en/sensor/inertial_navigation_systems.md
2025-07-31 21:50:27 +10:00
Hamish Willee
bda79492fc
Update ILabs.cpp
2025-07-31 21:50:27 +10:00
Hamish Willee
009661b842
Apply suggestions from code review
2025-07-31 21:50:27 +10:00
Hamish Willee
ff2e82c0fd
Update docs/en/sensor/inertiallabs.md
2025-07-31 21:50:27 +10:00
Hamish Willee
23bc81078a
Subedit
2025-07-31 21:50:27 +10:00
Hamish Willee
b3e0231a18
docs: Add InertialLabs sensors configuration page
2025-07-31 21:50:27 +10:00
Matthias Grob
887ca6d497
ManualControlSelector: address invalid prioritized input and don't check if sample is from the future
2025-07-31 11:34:53 +02:00
Matthias Grob
461433d7f6
ManualControlSelector: is InputValid refactor with switch case for code readability
2025-07-31 11:34:53 +02:00
Matthias Grob
a09352c079
ManualControl: add option to prioritize RC or MAVLink but with fallback
2025-07-31 11:34:53 +02:00
Matthias Grob
b876aa5b45
ManualControlSelector: robust timeout check
2025-07-31 11:34:53 +02:00
Crowdin Bot
543f8cba35
New Crowdin translations - zh-CN
2025-07-31 17:34:07 +10:00
Crowdin Bot
f37c8fe511
New Crowdin translations - ko
2025-07-31 17:33:58 +10:00
Crowdin Bot
e8859a7e0d
New Crowdin translations - uk
2025-07-31 17:33:50 +10:00
Denis Rosset
78e70d85a9
docs: Fixed ARK Flow MR mislabeled in rangefinders.md
2025-07-30 11:10:24 -06:00
Mahima Yoga
a7e01b18d8
MC PositionControl: Add timeout for invalid TrajectorySetpoint ( #25283 )
...
* MulticopterPositionControl: Add timeout before triggering emergency setpoint on invalid TrajectorySetpoint
* Apply suggestions from code review
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Cleanup & address review comments
* Safegaurd against using old setpoint if states aren't valid anymore
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-07-30 17:18:34 +02:00
Ian Scholl
5736b948ac
increase battery max logging instances to 3
2025-07-30 16:43:21 +02:00
Alexander Lerach
369039c28c
prefer RC_SERIAL_PORT, as older boards may have incorrect CONFIG_BOARD_SERIAL_RC
2025-07-30 15:09:39 +02:00
Alexander Lerach
c0d1717897
detect px4io conflicts, don't set sbus as default
2025-07-30 15:09:39 +02:00
Alexander Lerach
2ecc7226e6
common_rc: enable on v5x/v6x/v6s, disable rc_input
2025-07-30 15:09:39 +02:00
Marco Hauswirth
c9206d6bd1
EKF2: gnss reset improvements ( #25297 )
...
* ekf2: allow manual position reset when horizontal aiding is active
This allows the pilot to override position esitmates manually
* mavlink sim: add support of failure gps struck
* mavlink sim: add GNSS failure "wrong" type
* ekf2-gnss: add reset mode
This allows the user to choose whether the position should immediately
be reset to GNSS on fusion timeout or if the EKF can continue with
velocity dead-reckoning.
* ekf2: fix unit test changes due to GNSS start logic
Especially because the EKF doesn't need to reset the states if the test
ratio is already passing
* rename mode enum
* reset to gps lat lon on init
* remove obsolete reset-condition (handled in #25223 )
* WIP try to upgrade compiler externally
---------
Co-authored-by: bresch <brescianimathieu@gmail.com >
Co-authored-by: Niklas Hauser <niklas@auterion.com >
2025-07-30 11:39:56 +02:00
Hamish Willee
f4ea6feb47
Update metadata for modules and params
2025-07-30 14:29:57 +10:00
Jacob Dahl
996f9a82e1
dshot: refactor telemetry to use serial abstraction
2025-07-29 15:37:51 -06:00
Matthias Grob
6cf494dde1
Publish RTCM stream telemetry also for UAVCAN GNSS receivers ( #25315 )
...
* uavcan gnss: publish rtcm instance and injection rate
* GPS drivers minor refactor (#25316 )
* GPS drivers: adhere to message name based variable naming convention
* uavcan gnss: use matrix norm calculation
* GPS drivers: rate naming refactor and robust timeout checks
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-07-29 09:55:21 -08:00
Jacob Dahl
b5bf28c204
platform: serial: add bytesAvailable() function
2025-07-29 09:07:03 -08:00
bresch
61e741e7d0
FlightTask manual acc: handle ekf position reset properly
2025-07-29 14:29:19 +02:00
bresch
b740a43b3d
ekf2: reset manual position update through fusion
...
This provides a position reset-like behavior while still updating the
correlated states through fusion of position information.
2025-07-29 14:29:19 +02:00
bresch
582b8f0a2b
ekf2: allow manual position reset when horizontal aiding is active
...
This allows the pilot to override position esitmates manually
2025-07-29 14:29:19 +02:00
bresch
646133a4bf
AGP: format enum names
2025-07-29 14:29:19 +02:00
bresch
0b2e4f1ab6
ekf-agp: add reset mode behavior
2025-07-29 14:29:19 +02:00
GuillaumeLaine
2106c6ca82
fix(msg): bump VehicleLocalPosition version which was previously modified
2025-07-29 13:29:45 +02:00
mahima-yoga
e4ffed099c
msg: add Wind.msg to versioned messages
...
Was added as a default DDS topic recently.
2025-07-29 11:54:04 +02:00
Jacob Dahl
344064f941
astyle: exclude tflite_micro ( #25327 )
2025-07-29 10:22:25 +02:00
MDLZCOOL
bab6dc2ac6
fix(lib/perf): Fully reset mean and M2 in perf_counter
2025-07-28 22:28:38 -08:00
Jacob Dahl
42ef7a4f9a
ark: fpv: enable payload deliverer module ( #25322 )
2025-07-28 14:03:30 -06:00
Jacob Dahl
463ddcab86
payload deliverer: remove PD_GRIPPER_EN as unnecessary, reduce gripper timeout to 1s
2025-07-28 11:25:17 -08:00
Jacob Dahl
8d4993e654
ark: v6x: enable payload deliverer
2025-07-28 11:25:17 -08:00
Jacob Dahl
75acb13c36
ark: v6x: encrypted: remove FW and VTOL modules to save flash ( #25319 )
2025-07-28 11:08:03 -08:00
Matthias Grob
79b46e08a8
Rename manual_lockdown to kill for clarity
2025-07-28 17:07:08 +02:00
Matthias Grob
32531c870e
px4io: terminated -> termination
...
fogotten to allign completely in the last step
2025-07-28 17:07:08 +02:00
Matthias Grob
359cad3636
Add back original quadrotor X unit test cases from old multirotor mixer
2025-07-28 14:10:50 +02:00
Matthias Grob
88460db44a
ControlAllocationSequentialDesaturation: improve unit test fixture in terms of parameter update and defaulting to no airmode
2025-07-28 14:10:50 +02:00
Matthias Grob
40e1e82cb0
ControlAllocationSequentialDesaturationTest: convert existing unit test cases to improved fixture
2025-07-28 14:10:50 +02:00
Matthias Grob
a80e89255c
ControlAllocationSequentialDesaturation: adopt improved unit test fixture
...
This makes it much easier to go through allocation secnarios in one line with comprehensive numbers.
2025-07-28 14:10:50 +02:00
Matthias Grob
cd1bac0a55
ControlAllocationSequentialDesaturation: add unit tests
2025-07-28 14:10:50 +02:00
Matthias Grob
53efcbd2c2
control_allocation: Consistently replace with ActuatorVector alias for readability
2025-07-28 14:10:50 +02:00
Matthias Grob
6a3a0d136b
ActuatorEffectiveness: add comments to EffectivenessUpdateReason
...
from information previously only available in the commit message.
2025-07-28 14:10:50 +02:00
Matthias Grob
37899269a8
control_allocator: fix PID dependency definition
2025-07-28 14:10:50 +02:00
Matthias Grob
ef6866cd08
ControlAllocationSequentialDesaturationTest: fix include instead of duplicating definitions
2025-07-28 14:10:50 +02:00
Matthias Grob
4b4cc2164c
Revert "Remove inclusion of rotors in library to enable test ( #24286 )"
...
This reverts commit f7dadd9b89 .
2025-07-28 14:10:50 +02:00
Matthias Grob
930c0451b5
ActuatorEffectivenessRotorsTest: add Hexarotor X
2025-07-28 14:10:50 +02:00
Matthias Grob
b9f7b8f705
commander failsafe: never override user intended termination + unit test
2025-07-28 11:36:21 +02:00
Silvan Fuhrer
82569aad8d
PositionSetpoint.msg: define range of loiter_radius
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Silvan
e0a35b21a8
Navigator: fix param description of NAV_LOITER_RAD
...
Account for negative=CCW.
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Silvan
63f9acfa84
Navigator: loiter direction check: use -FLT_EPS instad of <0
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Silvan
85ccc064bd
FW Mode Manager: handle loiter radius and direction correctly if not from position_sp
...
In that case we take radius and direction from the param NAV_LOITER_RAD,
CCw if negative.
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Silvan
44be2a3f91
Navigator: add get_default_loiter_CCW() to get loiter direction
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Silvan
9f83ccfca7
Navigator: in get_default_loiter_rad return absolute of NAV_LOITER_RAD
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Silvan
431f507d29
Navigator: rename get_loiter_radius to get_default_loiter_rad
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-28 10:57:56 +02:00
Matthias Grob
972acf0203
commander params: disable remaining flight time failsafe by default
...
Currently if you configure a battery capacity the battery library calculates a remaining flight time and you by default get an RTL when the flight time - return time is running out.
Since the state of charge threshold based battery failsafes `COM_LOW_BAT_ACT` are disabled by default I was asked to also disable the flight time based failsafe to be consistent.
2025-07-28 10:37:43 +02:00
mahima-yoga
f66192326c
commander: only clear hold delay when failsafes are being deferred
2025-07-28 09:48:34 +02:00
Silvan Fuhrer
edfcbc7c9b
boards: remove duplicated enabling of AUX_GLOB_POS
...
EKF2_AUX_GLOBAL_POSITION is y by default.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-28 09:42:30 +02:00
Hamish Willee
bae1b25b0c
Run make format
2025-07-28 12:50:08 +12:00
Hamish Willee
01abe35563
MAV_CMD_DO_SET_MODE - add support
2025-07-28 12:50:08 +12:00
E-Krantz
600c717eb9
Add namespace support for uxrce-dds client during firmware upload ( #25291 )
2025-07-25 11:43:30 -08:00
Matthias Grob
200be07021
action_request: rename ACTION_TERMINATE to ACTION_TERMINATION for clarity
2025-07-25 13:01:25 -06:00
Matthias Grob
9d75bdbe62
IO: rename FORCE_FAILSAFE to TERMINATION for clarity
2025-07-25 13:01:25 -06:00
Matthias Grob
7fe78e184e
Rename force_failsafe to termination for clarity
2025-07-25 13:01:25 -06:00
Matthias Grob
34dacffc4a
Commander: shell command commander termination instead of lockdown on for clarity
2025-07-25 13:01:25 -06:00
Sindre Meyer Hegre
3be0cb077c
Neural Control Mode ( #24366 )
...
* Add tflm to px4 with module
- Add TensorFlow Lite Micro(TFLM) as a library in px4
- Make a module that uses neural network inference for control, which uses TFLM for inference
- Make board config files for PX4 with neural module
* Added neural flight mode
* Add posibility to read of inference times
* Fix comments from review:
- Switch ssh link to https link in submodule
- Remove mc_nn_control from startup
* Add tflm to px4 with module
- Add TensorFlow Lite Micro(TFLM) as a library in px4
- Make a module that uses neural network inference for control, which uses TFLM for inference
- Make board config files for PX4 with neural module
* Added neural flight mode
* Add posibility to read of inference times
* Remove auto start
* Add logging from neural control module
* Fix automatic startup to only be when module is included
* Switch to flight mode registration
* Add docs
* Change min/max/coeff to actual parameters
* add figures to neural network docs
* Switch to e2e network
* Remove toolchain changes and replace with instructions in docs
* Get ready for merge after toolchain upgrade
* switch back to submodule
* Try to figure out cmake
* Get CI working with new toolchain
* Remove fork dependency
* Finalize PR
* fix toolchain inclusion
* Fix ctype_base.h include
* Cleanup includes for TFLM
* Remove redundant std
* Update FW module names in board files
* Fix docs
* Remove cstdlib copy
* Copy header from nuttx
* Prettier, markup, layout
* NeuralControl.msg - update uorb comments to current standard
* Add description to neural topic
* Fix typo
* Typo
* TFLM and Module utitlities
* Neural networks top level
* Update docs
* Add manual control
* Update docs
* Revert the manual control attempt
* Update docs/en/advanced/nn_module_utilities.md
* Add posibility to set trajectory setpoint with manual control
---------
Co-authored-by: Pedro Roque <padr@kth.se >
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
Co-authored-by: Ramon Roche <mrpollo@gmail.com >
2025-07-25 09:42:12 -08:00
Alexander Lerach
132f7e9e0d
cdcacm_autostart: add low bandwidth profile ( #25302 )
2025-07-25 09:26:51 -08:00
Sandesh Sharma
959587d2c9
fix: let UXRCE DDS agent IP to be set via parameter in SITL ( #25231 )
...
* Read XRCE_DDS IP from ENV
* just remove the -h flag from the launch command
* add 127.0.0.1 as default IP
* add default value for IP
2025-07-25 15:10:02 +02:00
Matthias Grob
539ef8b0d1
PositionControlTest: Additional test case velocity setpoint with invalid states ( #25286 )
2025-07-25 09:04:56 +02:00
Jacob Dahl
4117aa5bd3
gps: explicit type cast ( #25293 )
2025-07-25 00:40:31 +02:00
Hamish Willee
a5dbcada9f
Update msg/ActionRequest.msg
...
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-07-25 06:13:20 +10:00
PX4BuildBot
7069190d30
[Docs] ActionRequest UORB topic
...
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-07-25 06:13:20 +10:00
Pedro Roque
be2e0b8990
feat: airframe config for spacecraft ( #25287 )
2025-07-24 12:07:56 -08:00
E-Krantz
23ad974f30
fix: spacecraft airframe naming ( #25289 )
2025-07-24 21:29:18 +02:00
Jacob Dahl
dce58637af
ark_fpv: flash savings: remove FW and VTOL from encrypted_logs.px4board
2025-07-24 12:45:07 -06:00
Pedro Roque
5f797fa210
fix: removes buoyancy from all default worlds from server config ( #25285 )
2025-07-24 09:36:49 -08:00
Valentin Bugrov
9b4bfc0d99
Tools: Add InertialLabs driver to codestyle-check
...
Signed-off-by: Valentin Bugrov <vladbvnsk@gmail.com >
2025-07-24 09:28:22 -07:00
Valentin Bugrov
7735971900
drivers/ins: Add driver for InertialLabs INS
...
Signed-off-by: Valentin Bugrov <vladbvnsk@gmail.com >
2025-07-24 09:28:22 -07:00
Alexander Lerach
752ecd3d1b
ubx: add option to wipe flash
2025-07-24 11:06:54 +02:00
Hamish Willee
9c1a22e74e
Improve flight termination docs
2025-07-24 11:21:29 +10:00
Hamish Willee
a84d085ce7
Add uorb message meta
2025-07-24 10:06:39 +10:00
Hamish Willee
efb4ff3353
update modules ref
2025-07-24 10:06:39 +10:00
Hamish Willee
3848b754a5
Update parameter reference
2025-07-24 10:06:39 +10:00
Hamish Willee
633c380240
Delete orphans
2025-07-24 10:06:39 +10:00
Claudio Chies
f42dbeef82
only publish input_rc, if the IO RC status in ok
2025-07-24 10:05:38 +10:00
Hamish Willee
324b305b2d
Add discontinued markup to vehicle
2025-07-24 08:40:43 +10:00
Hamish Willee
4247383bae
50001_aion_robotics_r1_rover - discontinued
2025-07-24 08:40:43 +10:00
Pedro Roque
e14eea5615
feat: BlueROV2 Heavy updated control (attitude and position) and model ( #25052 )
...
* rft: clean merge to PX4
* fix: formatting
* fix: extra line
* fix: moved submarine out of "is_ground_vehicle", added proper check for center-throttle
* feat: updated gazebo models to include bluerov update
* fix: use 'is_uuv_vehicle', remove FW_MM/LLC from uuv build
* fix: added saturation to thrust and torque messages via param
* doc: updated parameters documentation for uuv
* fix: formatting
* feat: matching hardware reference
* fix: thrusters kg
* rft: removed commented lines
* fix: update gz reference given hw setup
* fix: hardware references
* fix: recommendations
* fix: updated settings to match hardware
* rft: check only for fixed and rotary wing for high throttle
Co-authored-by: Daniel Agar <daniel@agar.ca >
* fix: commit oupsie
* fix: format
* rft: remove is_uuv
* fix: hw parameters, uuv build target for v6x
* feat: added support for D-pad attitude changes in stabilized position control
* fix: position setpoint update and parametrized trajectory age and att change
* fix: format
* fix: removed duplicated call to check_validity_setpoint
* fix: setpoint update on arming logic
* fix: setpoint initialization for stabilized mode
---------
Co-authored-by: Daniel Agar <daniel@agar.ca >
2025-07-23 10:29:22 -07:00
Pedro Roque
09fe34af0e
fix: enable control allocator for spacecraft on v6x ( #25276 )
2025-07-23 18:58:54 +02:00
Pedro Roque
2f55dff8b9
feat: spacecraft support ( #24734 )
...
* rft: initial merging of controllers for spacecraft vehicles
* feat: rate controller nominal
* feat: spacecraft tooling for commander and VehicleStatus
* feat: spacecraft tooling for commander and VehicleStatus
* fix: format
* fix: format
* fix: remove iostream
* fix: remove iostream
* feat: spacecraft attitude control and minor refactoring of params
* feat: add position controller
* fix: format
* fix: moved trajectories to new message, removed derivative filters
* fix: format
* fix: removed extra newline
* fix: spacecraft allocation builds
* feat: add thrusters to effectivenes, add spacecraft build to cmake, clean comments
* feat: required changes for allocation
* feat: thruster simulation interface
* fix: update maximum and minimums
* fix: format
* fix: added newline at the end of spacecraft actuator effectiveness
* feat: configurable board pwm freq from Kconfig
* feat: mavlink compliant spacecraft definition
* feat: add orbiter to define
* boards: Increase TELEM2 rx buffer size for DDS over serial use-case (ARK Jetson)
feat: spacecraft tooling for commander and VehicleStatus
fix: format
fix: remove iostream
feat: mavlink compliant spacecraft definition
* feat: add orbiter to define
* feat: add orbiter to define
* fix: change mav_type to new spacecraft orbiter enum value
* fix: build issue
* feat: update mavlink
* feat: update mavlink to latest master with spacecraft
* feat: update mavlink
* feat: update mavlink to latest
* feat: cleanup and synchronization with new mavlink vehicle definition
* fix: get away without specifying spacecraft vehicle
* fix: removed unnecessary definition
* fix: format
* feat: cmake variant for spacecraft
* feat: proper mav_type and rc init
* fix: removed dart from build system
* add: thrusters to actuator type
* rft: reordering actuator type
* rft: initial merging of controllers for spacecraft vehicles
* feat: rate controller nominal
* fix: format
* feat: spacecraft attitude control and minor refactoring of params
* feat: add position controller
* fix: format
* fix: moved trajectories to new message, removed derivative filters
* fix: format
* fix: removed extra newline
* fix: spacecraft allocation builds
* feat: add thrusters to effectivenes, add spacecraft build to cmake, clean comments
* feat: required changes for allocation
* feat: thruster simulation interface
* fix: update maximum and minimums
* fix: format
* fix: added newline at the end of spacecraft actuator effectiveness
* feat: configurable board pwm freq from Kconfig
* feat: add orbiter to define
* feat: cleanup and synchronization with new mavlink vehicle definition
* fix: get away without specifying spacecraft vehicle
* fix: conflicts
* fix: format
* fix: remove duplicate entry
* rft: remove Kconfig changes
* rft: revert main Kconfig
* rft: revert main kcoonfig on platforms
* rft: remove changes to board PWm (go on another PR)
* rft: revert changes to commander (main is correct)
* fix: extra char on commander_helper
* rft: removed extra spaces
* rft: moved effectiveness to spacecraft
* fix: spacecraft effectiveness
* fix: extra space
* feat: preliminary version, still using thrusters
* rft: initial pipeline on PX4 side with rotors instead of thrusters
* feat: add atmos model
* feat: spacecraft with rotor pipeline tested, working
* feat: update gz
* rft: removed thruster interfaces
* fix: format
* fix: remove control allocation
* fix: thruster normalization
* fix: format
* fix: nuttx version
* fix: clang tidy error
* feat: updated gz to add atmos model
* fix: update gz
* fix: update mavlink
* fix: remove friend class from allocation lib
* fix: remove actuator_outputs/motors
---------
Co-authored-by: Alexander Lerach <alexander@auterion.com >
2025-07-23 08:26:27 -07:00
Pedro Roque
6474e5d7c1
feat: configurable board pwm freq from Kconfig ( #24787 )
...
* feat: configurable board pwm freq from Kconfig
* feat: add board_pwm_config to submenu
* fix: define sequence correction
* fix: revert Tools/simulation/gz
* fix: track upstream gz
* fix: track upstream mavlink
* feat: adjustable pwm for multiple board types
* feat: add conditional check for CONFIG_ for correct fallback
* add: spacecraft board with correct BOARD_PWM_FREQ supporting 10Hz actuation rate
* fix: set dependencies for submenu arch chips
* fix: keep only upper arch level
* fix: proper checking - still not showing up for board config
* feat: add hidden kconfig for platforms
* Merge Nuttx config into px4board
Allows to expose nuttx into PX4 if needed
* Kconfig: Include nuttx symbols in updateconfig
Only if applicable i.e. defined in the kconfig
* fix: merged config with previously generated boardconfig
* doc: updated code comment
---------
Co-authored-by: Daniel Agar <daniel@agar.ca >
Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com >
2025-07-23 08:23:13 -07:00
Hamish Willee
8b2c0b4250
msg/Airspeed.msg update description to reflect standard
...
* [Docs] msg/Airspeed.msg - to standard
* Apply suggestions from code review
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
* Update msg/Airspeed.msg
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-23 13:02:31 +02:00
Matthias Grob
dbc36c9e3d
commander params: Further clarify termination vs kill
2025-07-23 11:13:11 +02:00
mahima-yoga
a5f92a4615
docs: clarify RC termination switch behavior
2025-07-23 11:13:11 +02:00
Matthias Grob
6c5c88f72e
Commander: only trigger MAVLink parachute on termination
...
This can now be tested using the new termination RC switch.
2025-07-23 11:13:11 +02:00
Matthias Grob
52e8a0a0db
Add RC termination switch
2025-07-23 11:13:11 +02:00
Nicolas MARTIN
f0dcd06f5e
HITL/SIH: Battery status depend on battery configuration from parameters ( #24103 )
...
* HITL/SIH: Battery status depend on battery configuration from parameters
* fix format
2025-07-23 00:25:37 -08:00
Jacob Dahl
9cd6840695
fix formatting ( #25270 )
2025-07-23 19:52:16 +12:00
Jacob Dahl
af878cee7b
uavcan: add node status logging to uORB ( #23890 )
...
Co-authored-by: Jordan Leiber <jordan.leiber@vertiq.co >
2025-07-22 23:17:58 -08:00
Patrik Dominik Pordi
ce57153ce5
ARK SCH16T driver updated for new Murata modules ( #24029 )
...
* Added the ranges for the new ARK Murata IMUs and added the logic to the driver to handle it
* Ran make format
* sch16t fix COMP_ID
* Revert "sch16t fix COMP_ID"
This reverts commit 38bf02bc8616490a37a57257938086b8e8d5fa0f.
* sch16t add production k10 id
* Added B13 as REV_1
---------
Co-authored-by: Alex Klimaj <alex@arkelectron.com >
2025-07-22 23:16:13 -08:00
Sebastian Domoszlai
4e3d090d1a
Shorten messages to prevent clipping in QGroundControl ( #24080 )
...
* Shorten messages to prevent clipping in QGroundControl
* Update src/modules/commander/HealthAndArmingChecks/checks/failureDetectorCheck.cpp
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-07-22 23:07:18 -08:00
Daan Smienk
3c6e927359
Rewrote info about USB inside wsl ( #24726 )
2025-07-22 22:42:39 -08:00
Marco Hauswirth
6e9fb2ca3c
use imu-timestamp instead of hrt_abstime during replay for aid-srcs ( #25117 )
2025-07-22 22:35:45 -08:00
mtzm
5144bd5b9f
shorten power redundancy check message to less then 50 chars (mavlink limit) ( #24738 )
2025-07-22 22:30:56 -08:00
jmackay2
eb274775d7
Update tools shebangs to python3 ( #24739 )
...
Co-authored-by: jmackay2 <jmackay2@gmail.com >
2025-07-22 22:30:04 -08:00
Hamish Willee
7559196195
Apply suggestions from code review
2025-07-23 13:38:10 +10:00
Teddy Zaremba
15c55245b3
Update mc_06_optical_flow.md
2025-07-23 13:38:10 +10:00
Teddy Zaremba
124910ee7c
Update docs/en/test_cards/mc_06_optical_flow.md
...
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-07-23 13:38:10 +10:00
Hamish Willee
7c552ebe0e
Summary and subedit
2025-07-23 13:38:10 +10:00
Teddy Zaremba
4c94abd672
Update mc_06_optical_flow.md
2025-07-23 13:38:10 +10:00
Teddy Zaremba
f7c25089de
Update test_flights.md
2025-07-23 13:38:10 +10:00
Teddy Zaremba
40086a88b1
Update test_flights.md
2025-07-23 13:38:10 +10:00
Teddy Zaremba
551f73c6e9
Create mc_06_optical_flow.md
2025-07-23 13:38:10 +10:00
Crowdin Bot
f413b0c4d2
New Crowdin translations - ko
2025-07-23 09:58:57 +10:00
Crowdin Bot
fea845082f
New Crowdin translations - uk
2025-07-23 09:58:46 +10:00
PX4 Build Bot
5cd7cd9389
New Crowdin translations - zh-CN ( #25256 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-07-23 09:58:30 +10:00
Claudio Chies
095ab9d27a
add PWM_Input as default for ats-based flight termination ( #25209 )
2025-07-22 09:30:53 +02:00
William Freidank
13122c29c0
Fix simulated gimbal behavior with zero velocity ( #25217 )
...
* fix simulated gimbal behavior with zero velocity
* check for PX4_ISFINITE before checking for magnitude
2025-07-21 12:59:55 -08:00
dusan19
8dd14d9aaa
platforms/stm32_common: hrt.c: define timer 1 IRQ properly for H7 platform ( #25260 )
2025-07-21 09:53:38 -08:00
mahima-yoga
1e4d7429e1
mavlink_mission: improve mission_state handling with mission_result validity check
2025-07-21 10:18:23 +02:00
Julian Oes
2c97a875bf
commander/mavlink: use home attitude, not only yaw
...
According to the mavlink spec we should be publishing the home attitude
as a quaternion rather than just the yaw/heading.
Additionally, this allows setting the landing roll and pitch angle using
DO_SET_HOME (this yet needs to go into the MAVLink spec though).
This time including the message versioning and translation.
2025-07-20 07:51:14 +12:00
Dusan Zivkovic
2065f577d6
EKF: fix compilation error when CONFIG_EKF2_TERRAIN is not defined
2025-07-18 10:20:42 -06:00
Silvan Fuhrer
a0560d2d82
Internal combustion engine control: disable module by default
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-18 17:45:05 +02:00
mahima-yoga
3c79f25e10
fmu-v6s: disable analog battery monitoring when digital power module is enabled
2025-07-18 16:42:54 +02:00
mahima-yoga
db85e12b9f
battery-monitoring: allow disabling analog battery monitoring through BAT{i}_V_CHANNEL param
2025-07-18 16:42:54 +02:00
mahima-yoga
5125059b8f
fmu-v6s: add ina226/ina228/ina238 support
2025-07-18 16:42:54 +02:00
Silvan
e22329d074
add GYRO_FFT to v6s build
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-18 14:15:46 +02:00
Alexander Lerach
3041960cf1
auav: enable on v5x/v6x/v6s boards
2025-07-18 09:58:03 +02:00
Hamish Willee
78a2a3d0dd
COM_FAIL_ACT_T - fix description of zero value
2025-07-17 07:55:49 +02:00
Hamish Willee
8e0f223b3a
Link fixes and removal of dead docs ( #25239 )
...
* Remove Zubax Orel - not available and no other presence
* Fix up zubax product links
* Snapdragon flight - delete as no longer relevant hardware
* Delete intel aero docs
* Brushless whoop - remove docs except for link to old version
* Many link fixes
2025-07-17 15:30:56 +10:00
Hamish Willee
06d25b9400
[Doc] FW Takeoff update for waypoint and position loss + relnote ( #25226 )
...
* [Doc] FW Takeoff update for waypoint and position loss + relnote
* Update docs/en/flight_modes_fw/takeoff.md
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
* Update for clarity
* Update docs/en/flight_modes_fw/takeoff.md
---------
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-17 11:19:51 +10:00
bresch
bfbc76189e
ekf-agp: use same timeout value as other aid sources
2025-07-16 10:07:15 +02:00
Beat Küng
80febaf0f0
mc_pos_control: immediately switch out of goto setpoint when receiving trajectory_setpoint
...
Previously, when switching from a goto setpoint into a mode that publishes
trajectory_setpoint, the previous goto setpoint was still used for 500ms,
which then caused a setpoint jump.
This change makes sure that when a trajectory_setpoint is received, any
existing goto setpoint is marked as invalid immediately.
2025-07-16 09:02:47 +02:00
Beat Küng
f0ecd9e757
fix commander: set failsafe action state immediately after failsafe update
...
There was a race condition: for example when an external mode disabled
failsafe deferring, that then triggered a failsafe, while the mode executor
immediately sends a command (to e.g. switch modes).
In that case the failsafe got triggered but the mode switch was still
allowed.
This was because of the processing ordering:
- mode updates (and propagating the failsafe_action_active state)
- failsafe updates
- command handling
This patch makes sure failsafe_action_active is set immediately after
updating the failsafes.
2025-07-15 17:18:54 +02:00
Beat Küng
168d99cd18
commander: do not trigger obsolete failsafe when deactivating failsafe deferring
...
Previously, when deferring was active and e.g. RC loss was triggered, and
RC regained, the action was not cleared, as the RC loss action only clears
on mode switch/disarm (when set to RTL for example).
When deferring was then disabled, the RC loss failsafe would still trigger.
This changes the behavior to immediately remove those actions when
deferring is active.
It also ensures to reset the Hold delay when deferring is disabled and no
failsafe is being deferred.
2025-07-15 17:18:54 +02:00
chfriedrich98
b8dacf5ae4
rover: fix speed setpoint in position controller
2025-07-15 13:55:28 +02:00
bresch
54f2652329
ekf2: always decorrelate pos and vel in vel reset
2025-07-15 13:44:55 +02:00
Matthias Grob
f9b811b0c5
Commander: add option to ignore manual control loss in external modes
2025-07-15 13:08:18 +02:00
Marco Hauswirth
a755dfa07f
enable baro-gnss autocalibration by default ( #25196 )
2025-07-15 10:53:04 +02:00
chfriedrich98
b4bfbbb5e0
ackermann: add SIH ( #25194 )
2025-07-15 09:58:41 +02:00
Silvan Fuhrer
35a3f519f2
Revert "commander: publish full home attitude, not only yaw ( #19717 )"
...
This reverts commit 6855aa57c4 .
2025-07-15 09:24:55 +02:00
Hamish Willee
a3f1fb2e01
[Docs] Airframe param reset on update ( #24964 )
...
* Airframe param reset on update
* Update docs/en/dev_airframes/adding_a_new_frame.md
* Apply suggestions from code review
Co-authored-by: Matthias Grob <maetugr@gmail.com >
* Update adding_a_new_frame.md
* Update adding_a_new_frame.md
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-07-15 13:32:44 +10:00
Hamish Willee
f224d27e4d
Docs: Prettier on takeoff and fix some links ( #25218 )
...
* Prettier on takeoff and fix some links
* Fix flaw link
2025-07-15 12:30:55 +10:00
Matthias Grob
7d33df4650
Doc Orbit: update and clarify configurability and behavior around limits ( #25208 )
...
* Doc Orbit: update and clarify configurability and behavior around limits
* run prettier
* Fix up link to table
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-07-15 12:29:29 +10:00
Stefano Colli
3c0a0ed129
mavlink_main: add profile handling ( #25214 )
2025-07-14 10:19:30 -08:00
Alexander Lerach
7f5119f402
sensors: autostart bmm350 and add it to common mags
2025-07-14 17:52:18 +02:00
mahima-yoga
4896099232
dds: rate_limit /fmu/out/wind to 1Hz
2025-07-14 16:12:00 +02:00
mahima-yoga
fcbe017221
dds: add Wind topic to dds bridge
2025-07-14 16:12:00 +02:00
Silvan Fuhrer
b326714d7c
FWModeManager: use always bearing to Takeoff waypoint (if defined)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-14 14:29:59 +02:00
Silvan Fuhrer
782e510105
Navigator: Takeoff mode: add state 2-state takeoff for fixed-wing
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-14 14:29:59 +02:00
Silvan Fuhrer
e9e5c45bf3
FW mode manager/Commander: hanlde invlaid pos in FW manager
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-14 14:29:59 +02:00
Silvan Fuhrer
b1af09d391
FW mode manager: during takeoff only set height rate, not altitude setpoint
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-14 14:29:59 +02:00
Silvan Fuhrer
bdf1895145
Commander: on completion of takeoff, force state transition to Loiter
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-07-14 14:29:59 +02:00
PX4 Build Bot
84cdc05195
New Crowdin translations - ko ( #25200 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-07-13 10:37:31 +10:00
PX4 Build Bot
a5920edbb1
New Crowdin translations - uk ( #25201 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-07-13 10:37:19 +10:00
PX4 Build Bot
a01f39707e
New Crowdin translations - zh-CN ( #25202 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-07-13 10:37:13 +10:00
Jacob Dahl
ce4dfaf39a
fix missing function update
2025-07-11 08:53:52 -06:00
Jacob Dahl
09ebd21e55
mixer: remove used flag stop_outputs
...
dshot: fix motor test on CANnode
Also includes fixes for the DShot driver since stop_outputs is removed. The esc info command has been removed because it doesn't work with AM32, can only be used via command line, and complicates the driver
2025-07-11 08:53:52 -06:00
Jacob Dahl
6a1cefd7a6
uavcan: esc: fix uavcan ESC control
...
This fixes a number of issues with uavcan ESC control.
- Motor Testing when using a CANnode as a PWM expander now works by allowing the FunctionMotors class to perform prearm control
- The esc.RawCommand message is now always published for configured uavcan ESC outputs. Previously prior to arming the message would be published empty, which causes certain ESCs to enter an error state.
- Useless and redundant code has been removed and small name changes have been applied.
2025-07-11 08:53:52 -06:00
Hamish Willee
572a06b2f3
docs: update fuzz tests (split into separate page)
2025-07-11 10:39:28 +02:00
Beat Küng
3cfaaf73b4
docs: add section about fuzz testing
2025-07-11 10:39:28 +02:00
Beat Küng
8721269c78
septentrio: avoid compilation error
...
Even though all enum values fit into 13 bits, there's an error:
../../src/drivers/gnss/septentrio/sbf/messages.h:101:21: error: ‘septentrio::sbf::Header::id_number’ is too small to hold all values of ‘enum class septentrio::sbf::BlockID’ [-Werror]
This is with GCC 13.3.0 under Ubuntu 24.04
2025-07-11 10:39:28 +02:00
Beat Küng
d5942bd631
septentrio: fix clang-tidy warnings
2025-07-11 10:39:28 +02:00
Beat Küng
c801fd36d3
ci: add fuzzing workflow
...
This will run all fuzzing tests for 15 minutes once a day.
2025-07-11 10:39:28 +02:00
Beat Küng
9ba2ac4e10
fix adsb: cast enum in printf
...
Build failure with clang:
fatal error: format specifies type 'int' but the argument has type
'TRAFFIC_STATE' [-Wformat]
2025-07-11 10:39:28 +02:00
Beat Küng
7594a270f7
tests: remove previous fuzz testing
...
We now use https://github.com/google/fuzztest (see previous commits).
And the test was also failing to build
(https://github.com/PX4/PX4-Autopilot/actions/workflows/cflite_batch.yml )
This reverts these commits:
- 9eda5b373c
- 2cbc993976
- be0a5b4b32
2025-07-11 10:39:28 +02:00
Beat Küng
e50f1774ae
septentrio: add fuzz tests
2025-07-11 10:39:28 +02:00
Beat Küng
d31f227f15
tests: add mavlink fuzz test
...
Based on the previous fuzz tests in main_fuzztesting.cpp
2025-07-11 10:39:28 +02:00
Beat Küng
9472b4b1f7
refactor: remove '#define MODULE_NAME' from tests
...
And use target_compile_definitions() instead
2025-07-11 10:39:28 +02:00
Beat Küng
6ce1634dea
fix msp_osd: ASAN raised some buffer overflows when running the unit tests
2025-07-11 10:39:28 +02:00
Beat Küng
8370ae1701
test_dataman: remove invalid item tests
...
They caused ASAN failures. And since the dm_item_t is an enum, I don't
think it needs a test.
2025-07-11 10:39:28 +02:00
Beat Küng
fd2ded08e4
pxh: do not use variable sized array on the stack
...
This is a compiler-specific extension
2025-07-11 10:39:28 +02:00
Beat Küng
d9743cc0ef
septentrio: add to sitl build & fix compile problems
...
posix defines a macro OK, so the enum needed to be renamed
2025-07-11 10:39:28 +02:00
Beat Küng
3d1cace7b7
test: add google fuzztest to unit test build
...
From https://github.com/google/fuzztest .
This will now also add gtest (via cmake FetchContent)
And requires newer cmake (container updates):
CMake 3.19 or higher is required. You are running version 3.16.3
2025-07-11 10:39:28 +02:00
mahima-yoga
6daec07bbe
fix: RTL during mission after a landing
...
For delivery use-case, the mission contains a land item followed by other mission items. For the
section after the land, the current sequence number is greater than the land start index. If an RTL
is triggered, then isLanding returns true and the vehicle continues with the mission instead of
executing the RTL.
The land index marks the actual landing. So, is landing should only be true for the items between
land_start_index and land_index. If there are items after the land index, then they don't belong
to the landing anymore.
2025-07-11 09:10:43 +02:00
Kitsios Konstantinos
6e1ab343f6
ci: EKF change indicator concurrency limit ( #25189 )
...
Signed-off-by: Konstantinos <konstantinos.kitsios@uzh.ch >
2025-07-10 19:15:25 -07:00
Matthias Grob
a4115db669
FlightTaskOrbit: replace hardcoded 10m/s maximum speed with multicopter speed configuration ( #25192 )
2025-07-10 11:16:11 -08:00
Matthias Grob
140b426720
stylecheck script: improve bash consition because of error iwth newer terminal versionsstylecheck script: improve bash condition to avoid error with newer terminal versions ( #25193 )
2025-07-10 10:59:19 -08:00
Jacob Dahl
79f6b84190
add check for DFMMode after setting it
2025-07-10 11:18:54 -06:00
Jacob Dahl
abf53826b5
add warning about afbr spi comms
2025-07-10 11:18:54 -06:00
Jacob Dahl
864eeb2bd3
switch measurement trigger scheduling
2025-07-10 11:18:54 -06:00
mahima-yoga
fbddf9655b
(fix) mavlink_mission: keep mission active when vehicle disarms mid-mission.
2025-07-10 15:17:26 +02:00
mahima-yoga
1e84c2de6b
(fix) mavlink_mission: avoid double-checking MissionResult by using SubscriptionData
...
code was checking for an updated MissionResult twice in a row, leading to _mission_state
not being set correctly when the second check had no new message.
Switched to SubscriptionData to safely retrieve the latest message using .get().
2025-07-10 15:17:26 +02:00
chfriedrich98
14c0908082
gz_classic: update submodule
2025-07-10 10:11:58 +02:00
chfriedrich98
beb62c2aad
docs: remove docs for deprecated rover module
2025-07-10 10:11:58 +02:00
chfriedrich98
d2d3d8a5fd
lib: remove unused l1 library
2025-07-10 10:11:58 +02:00
chfriedrich98
e266d1f22f
rover: remove deprecated module
2025-07-10 10:11:58 +02:00
Hamish Willee
dd0dcbb82c
Link fixes - mostly redirects ( #25186 )
2025-07-10 17:35:07 +10:00
Hamish Willee
5d5e23bcfa
[Docs] Fix links and tidy config ( #25184 )
...
* Fix links and tidy config
* Add updated lock files
2025-07-10 16:11:58 +10:00
Julian Oes
6855aa57c4
commander: publish full home attitude, not only yaw ( #19717 )
...
According to the mavlink spec we should be publishing the home attitude
as a quaternion rather than just the yaw/heading.
Additionally, this allows setting the landing roll and pitch angle using
DO_SET_HOME (this yet needs to go into the MAVLink spec though).
2025-07-09 14:43:31 -08:00
chfriedrich98
9a0b666deb
rover: base setpoint generation on nav_state
2025-07-09 10:38:20 +02:00
chfriedrich98
90a4b4798d
rover: expose rover messages to DDS
2025-07-09 08:58:13 +02:00
chfriedrich98
60010ba057
rover: Update rover setpoints to new uORB message standard
2025-07-09 08:58:13 +02:00
Hamish Willee
98e0fefd4f
Add cannonicalref support ( #25177 )
...
* Add cannonicalref support
2025-07-09 16:44:12 +10:00
Hamish Willee
f3919d98fe
labeler.yml - attempt to fix labeller
2025-07-09 15:26:42 +10:00
mahima-yoga
ee953640ee
MAVSDK: bump version to 3.7.0
2025-07-09 07:43:20 +12:00
Jacob Dahl
6a8eea1df9
ekf: update parameter names for consistency ( #25137 )
2025-07-08 12:11:28 -06:00
Silvan
3f5b46a68c
Commander: for VTOL_Takeoff only req relaxed position if fixed-wing phase
...
When in the fixed-wing phase of the VTOL Takeoff we do not want to
failsafe due to position inaccuracy.
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-08 15:04:44 +03:00
Stefano Colli
d79302c366
mavlink_parameters: throttle MAVLink param transmission on low-bandwidth links ( #25126 )
...
* mavlink_parameters: throttle MAVLink param transmission if in low-bandwidth mode
* mavlink_parameters: simplify param transmission throttling
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-07-08 13:48:23 +02:00
Silvan Fuhrer
5a2b26f931
FW land detector: only force to landed if launch detection is STATE_WAITING_FOR_LAUNCH ( #25167 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-07-07 16:09:15 +02:00
Ramon Roche
dcde7b47d1
ci: remove paths ignore
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
a54bbe0b24
coverage: move coverage flags within its own cmake
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
5faa46fa0a
cmake: use atomic profile updates for coverage
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
f01e589010
make: lcov ignore mismatch errors
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
6bd66d50e9
shellcheck: fix SC2268 Avoid x-prefix
...
if [ "x$PRT_GPS1_" = "x" ]; then
^-----------^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
58dcfb0a02
shellcheck: fix SC3014 == in place of =
...
Fixes SC3014 (error): In dash, == in place of = is not supported.
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
83606cb0fc
ci: concurrency cancel in progress
...
save compute time
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
8a44f10cf9
ci: trigger on pull request for .github/workflows
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
13f3a7ec6d
ci: fix branch trigger strategy
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Ramon Roche
d46420e1dc
ci: check with updated container
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-07 10:25:40 +02:00
Marco Hauswirth
6ee6a3a578
GNSS: Don't send 'spoofing' warnings form driver ( #25160 )
...
* removing logic from driver to send warnings when state-change to spoofing is detected, handled in estimatorChecks
* also remove jamming warnings from drivers, those are handled in the estimator checks as well
2025-07-07 09:44:26 +02:00
Crowdin Bot
588fd9d684
New Crowdin translations - zh-CN
2025-07-07 09:04:54 +10:00
Hamish Willee
8aecc7e588
Incorrect URLS for dronecan/cyphaal in params
2025-07-07 09:04:39 +10:00
Crowdin Bot
29a40f37e2
New Crowdin translations - ko
2025-07-07 09:03:49 +10:00
PX4 Build Bot
389b76bd3a
New Crowdin translations - uk ( #25163 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-07-07 09:03:31 +10:00
bresch
d35c5f4a4e
SIH-plane: tune angular rate controllers
2025-07-04 16:14:27 +02:00
Connor Denihan
33fed67c07
Update community_supported_simulators.md ( #25155 )
...
Fixed wording
2025-07-04 09:01:37 +10:00
Marco Hauswirth
f7ffe27d4c
GNSS Spoofing Warning Sensitivity Adjustment ( #25144 )
2025-07-03 14:13:03 +02:00
Hamish Willee
2c31e2bad5
Fix all possible HTTP to HTTPS docs links ( #25153 )
2025-07-03 18:09:58 +10:00
Hamish Willee
375f421c61
Link fixes galore ( #25151 )
2025-07-03 14:53:12 +10:00
Sergei Grichine
dd0d00aedc
Update 4009_gz_r1_rover ( #25150 )
2025-07-03 08:14:01 +09:00
Ramon Roche
6deac08b42
docs: remove old doxygen builds ( #24743 )
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-02 14:51:18 -07:00
Hamish Willee
d3de49a867
Rename labeler.yml
2025-07-02 14:43:55 -07:00
Hamish Willee
dddf18872f
Add label to new pull requests that touch docs files
2025-07-02 14:43:55 -07:00
Hamish Willee
0622f12285
Create Labeler workflow
2025-07-02 14:43:55 -07:00
Sergei Grichine
a4518580ac
Update TransponderReport.msg - correct "heading" description ( #25125 )
2025-07-02 11:10:46 -08:00
QiTao Weng
30c8c23716
Correct all ADSB heading related field to be in positive range ( #25128 )
2025-07-02 11:10:28 -08:00
xue
cb71aea7fa
boards: Updated ZeroOne X6
...
* Starts pwm_voltage_apply
* Enable Septentrio modules
* Enable IIM42653 IMU
* Enable SCH16T IMU
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-07-02 09:13:01 -07:00
DATAGNSS
81000f4c71
Docs: update GEM1305 specs and add NANO HRTK Receiver ( #24707 )
...
* update GEM1305 specs and add NANO HRTK Receiver
- add NANO HRTK Receiver
- update GEM1305 specifications
* Update SUMMARY.md for NANO HRTK Receiver
- Update SUMMARY.md for NANO HRTK Receiver
* Fix up images
* Minor tweak
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-07-02 11:59:27 +10:00
Hamish Willee
b2b6a5f44e
Fix up hitl too
2025-07-02 11:49:08 +10:00
Hamish Willee
93a4ff8d01
Rework to check-first
2025-07-02 11:49:08 +10:00
Beniamino Pozzan
e3e48d01d3
docs(sih): just mention CONFIG_MODULES_SIMULATION_SIMULATOR_SIH
...
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-07-02 11:49:08 +10:00
Hamish Willee
36485a0920
Split out the firmware setup
2025-07-02 11:49:08 +10:00
Beniamino Pozzan
8998a5baf9
docs(sih): Update instructions for sih
...
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-07-02 11:49:08 +10:00
Beniamino Pozzan
af5f2f8b74
docs(hitl): Update instructions for hitl simulations
...
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-07-02 11:49:08 +10:00
Crowdin Bot
0f57d634f4
New Crowdin translations - ko
2025-07-02 09:11:14 +10:00
Crowdin Bot
9ed47b87f7
New Crowdin translations - uk
2025-07-02 09:10:43 +10:00
Crowdin Bot
f180cf8b03
New Crowdin translations - zh-CN
2025-07-02 09:10:08 +10:00
chfriedrich98
5bb183afde
Update fmu rover builds ( #25139 )
...
* rover: add rover build for all fmu versions
* rover: remove board specific exclusion of rover airframes
2025-07-01 10:31:12 -08:00
Ramon Roche
725d800a38
boards: save flash for KakuteH7-Wing
2025-07-01 10:23:49 -07:00
chfriedrich98
8af75adcbe
gz: update submodule
2025-07-01 10:38:53 +02:00
chfriedrich98
5b1f58c069
differential: add generic differential rover gazebo airframe
2025-07-01 10:38:53 +02:00
Julian Oes
84c3abbba2
boards: LED fixup for Kakute
2025-07-01 10:48:18 +12:00
Julian Oes
75031fe375
boards: save flash on KakuteH7 dualimu
...
Due to trying to being compatible with the ArduPilot flash layout with
two sectors reserved for parameters.
2025-07-01 10:48:18 +12:00
Julian Oes
9cf3893266
boards: fixup image size of KakuteH7 dualimu
...
We have 1 sector for the bootloader and the last 2 for parameters.
That's to match how ArduPilot has it.
2025-07-01 10:48:18 +12:00
Julian Oes
8870d16ae0
Move NUM_MISSION_ITEMS_SUPPORTED to dataman
...
The define is used in dataman, not navigator, so this config variable
needs to be moved to the dataman module, otherwise it breaks the build
if navigator is not included in the build.
2025-07-01 10:25:00 +12:00
amovlgf
fdef302e06
Add new Compass QMC5883P ( #25115 )
...
* add qmc5883p drivers
* format correction for qmc5883p
* make format
* remove extra newlines
---------
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com >
2025-06-30 10:33:21 -08:00
Hamish Willee
acc12bb21d
SIH Hexacopter X
2025-06-30 18:33:56 +02:00
Julian Oes
e46e4dc80e
commander: prevent race condition after mission
...
When a mission finishes with an RTL command, there's a race condition
between:
1. RTL command setting user_mode_intention RTL
2. Mission completion logic forcing LOITER
The auto-loiter transition was checking current nav_state (which is
still AUTO_MISSION) instead of any pending user_mode_intention,
causing it to override the RTL request.
Fix: Only auto-transition to loiter if no mode change is already
pending.
2025-06-30 09:20:44 -07:00
Julian Oes
bfbd9bfe27
mavsdk_test: fix mission timeout check
...
We shouldn't adjust for lockstep speedup twice.
2025-06-30 09:20:44 -07:00
Julian Oes
d03b1171f9
mavsdk_tests: fix mission finished state
...
This is an attempt to use MAVSDK's is_mission_finished APIs instead.
2025-06-30 09:20:44 -07:00
mahima-yoga
8c5dcbea12
mission: add RTL to is_mission_item_reached_or_completed()
...
This ensures that a mission is marked as completed when RTL is the last item or that the mission can continue if there is an intermediate RTL.
2025-06-30 09:20:44 -07:00
Matthias Grob
daa491dc19
rc_update: make payload power switch an optional 3-way switch
...
to support 3 different power states for the payload.
2025-06-30 16:50:28 +02:00
Matthias Grob
1bccd5557a
rc_update: add unit tests for two way payload power switch
...
with the intention to extend it to an optional 3 way switch.
2025-06-30 16:50:28 +02:00
Matthias Grob
8e7c2ed440
rc_update: allow payload power switch to be used for other boards than ARK FPV
2025-06-30 16:50:28 +02:00
Matthias Grob
64b92e46f8
rc_update: follow parameter member naming convention for payload power switch mapping
2025-06-30 16:50:28 +02:00
Matthias Grob
fc3fd43fc7
rc_update: specify 2 decimal places for all float threshold parameter metadata
2025-06-30 16:50:28 +02:00
Beniamino Pozzan
6f972bbd43
chore: unify MC_RATE* param metadata ( #25133 )
...
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-06-29 13:56:06 -08:00
Davide Iafrate
650320281b
Add support for ICM42688P IMU on mamba f405 mk2 v2 target ( #25047 )
...
Co-authored-by: Ramon Roche <mrpollo@gmail.com >
2025-06-29 13:46:41 -08:00
Matthias Grob
2bc04f91f8
docs: fix all end of file newlines
...
Note: Some files are autogenerated and I did not yet
go through each source of generation to fix it there.
Instead I adjusted the filter to only exclude those
such that we can fix things in steps.
2025-06-26 11:03:23 -07:00
Matthias Grob
e9bac962ab
docs index: fix special character encoding to be UTF-8
2025-06-26 11:03:23 -07:00
Hamish Willee
35096d3278
Remove images not linked from docs
2025-06-26 13:13:30 +10:00
Hamish Willee
b3441b7221
Remove legacy translations
2025-06-26 13:13:30 +10:00
Hamish Willee
2bda1b08c9
Add image to repo, prettier
2025-06-26 12:49:44 +10:00
Jakub Kákona
804af78245
Update docs/en/telemetry/index.md
...
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-06-26 12:49:44 +10:00
Jakub Kákona
56e8d23fb0
Adding the TFSIK01 page.
2025-06-26 12:49:44 +10:00
Jakub Kákona
3ea9069ada
Adding TFSIK01 telemetry radio docs page.
2025-06-26 12:49:44 +10:00
Matthias Grob
bb6d43d5e3
uavcan battery: add support for cuav::equipment::power::CBAT message
...
emitted by e.g. uavcan Tattu batteries.
2025-06-25 21:11:23 +02:00
Matthias Grob
30d4ff3c6c
uavcan battery: fix battery_status.scale, time_remaining and timestamp
...
- timestamp was 0 if uavcan::BatteryInfo was received before uavcan::BatteryInfoAux
- scale was not set as unknown (-1) even though it is since it's never updated
- time_remaining was not initialized correctly and could sometimes be 0
unexpectedly which causes the drone to failsafe because there's reportedly no flight time left
2025-06-25 21:11:23 +02:00
Marco Hauswirth
adc299d019
remove paths-ignore in workflows to enable CI-checks for pure CI changes...
2025-06-25 08:04:43 -07:00
Jakub Kákona
1a52656e8a
Update broken airspeed sensors links
...
Add new TFPITOT01 Pitot Tube
2025-06-25 16:38:23 +10:00
Jakub Kákona
b9ff50f92b
Update thunderfly_auto_g2.md
...
Fix typos and update the note message.
2025-06-25 15:49:49 +10:00
Jakub Kákona
6ef8add164
Improve documentation links.
2025-06-25 15:49:49 +10:00
Crowdin Bot
bcd5f6e208
New Crowdin translations - zh-CN
2025-06-25 13:33:35 +10:00
Crowdin Bot
f0a20c19f9
New Crowdin translations - uk
2025-06-25 13:33:27 +10:00
Crowdin Bot
bcd516f6af
New Crowdin translations - ko
2025-06-25 13:33:22 +10:00
Hamish Willee
81ec385c3e
Fix up link to flashing
2025-06-25 13:03:46 +10:00
Hamish Willee
3a54b482d2
Fix up cross links
2025-06-25 13:03:46 +10:00
Hamish Willee
a1b8b3dabb
Prettier, typos, minor wording
2025-06-25 13:03:46 +10:00
chfriedrich98
22f4222795
docs: overhaul rover documentation
2025-06-25 13:03:46 +10:00
PX4BuildBot
ee3708ca82
docs: update parameter reference metadata
2025-06-25 12:13:22 +10:00
PX4BuildBot
940ce18e59
Failsafe web metadata updates
2025-06-25 12:13:22 +10:00
PX4BuildBot
ae4322126a
docs: metadata: update uORB graph JSONs
2025-06-25 12:13:22 +10:00
Alex Klimaj
c6bb6cd435
extend satellite info to 40 ( #25067 )
...
Co-authored-by: Pedro Roque <padr@kth.se >
2025-06-24 13:14:08 -06:00
Alexander Lerach
160ae487ff
auav: use correct sign during calib data reading
2025-06-24 17:58:53 +02:00
Sergei Grichine
256b329aab
Differential: Update 4011_gz_lawnmower to match recent changes in Rover controls ( #25079 )
2025-06-24 09:17:10 +02:00
Jacob Dahl
95119027a9
ekf2: variable to parameter name consistency ( #25042 )
...
Rename various EKF2 variable names to match the PX4 parameter names
2025-06-24 09:15:50 +02:00
Jakub Kákona
9e90fd193f
doc: Improve I2C devices links and explanation ( #24701 )
...
* Improve links URL by swithing from GitHub URL to actual documentation.
* Update i2c_general.md
Clean up and simplify the explanatory text.
2025-06-23 11:06:37 -08:00
Liu1
832a90e07f
cuav_7-nano:use new sensors ( #25098 )
2025-06-23 07:24:28 -08:00
Hamish Willee
2e6fd9dd72
Updates from feedback
2025-06-20 08:27:03 +10:00
Hamish Willee
94dc757363
Prettier and add context
2025-06-20 08:27:03 +10:00
Hamish Willee
5cfa0d548c
Update docs/en/peripherals/dshot.md
2025-06-20 08:27:03 +10:00
Jacob Dahl
fa9f8734d0
update warning, add imxrt targets
2025-06-20 08:27:03 +10:00
Jacob Dahl
3d5cb891a6
docs: bidirectional dshot
2025-06-20 08:27:03 +10:00
Beat Küng
afbaa71bfc
fix mavlink: add mutex for mavlink shell ( #25082 )
...
There was a race condition when closing the shell:
- the main thread checks if _mavlink_shell is not nullptr (which is true)
- the receiver thread closes the shell, which clears _mavlink_shell
- the main thread continues with _mavlink_shell->available()
2025-06-19 13:03:01 -08:00
Hamish Willee
873aa89022
[Docs] Update QGC Bootloader instructions ( #25072 )
...
* [Docs] Update QGC Bootloader instructions
* Add release note
2025-06-18 09:02:00 -08:00
Daniel Agar
1b3c6f7fd2
drivers/magnetometer: remove Vtrantech VCM1193L from common magnetometer set
2025-06-18 11:56:13 -04:00
Marco Hauswirth
6604c52c98
Commander: Adjust home position altitude after GNSS altitude correction ( #25003 )
...
Within the first 2min of a flight, check if the integrated GNSS vertical velocity and the baro
measurements disagree with the reported GNSS altitude, and in that case update the
set home position altitude to cancel out GNSS altitude drift.
* prevent re-init when reaching negative altitudes
* only allow correction during the first 120 second after takeoff
* add dependency to COM_HOME_EN parameter. reset vel-integral for multiple takeoffs
2025-06-18 13:26:45 +02:00
Hamish Willee
ef252481a8
Collision mode only works with mpc_pos_mode that is acceleration based
2025-06-18 16:38:37 +10:00
chfriedrich98
f35b92a487
rover: replace RX_MAX_THR_YAW_R with a correction factor RO_YAW_RATE_CORR
2025-06-18 08:35:48 +02:00
chfriedrich98
3e8f054a1c
ackermann: rename DriveModes to AckermannDriveModes
2025-06-18 08:35:48 +02:00
chfriedrich98
eed966a1c6
rover: reduce speed based on course error
2025-06-18 08:35:48 +02:00
chfriedrich98
5a430f0ba6
rover: streamline rover steering setpoint
2025-06-18 08:35:48 +02:00
Hamish Willee
4a5c00d0e4
EKF2_GPS_POS_X/Y/Z have same long description ( #25068 )
2025-06-17 21:07:09 -08:00
PX4BuildBot
778f80ca59
CellularStatus - fix to doc standard
2025-06-18 13:26:45 +10:00
Jacob Dahl
339e0f9691
params: srcparser: don't strip newlines ( #25058 )
2025-06-17 12:04:33 -08:00
Peter van der Perk
7687e6e33f
dshot: Telem set baudrate before pin-swapping
...
On IMXRT setbaudrate resets swap state
2025-06-17 14:54:48 +02:00
Peter van der Perk
001efc1c0b
Bosch: BMM350: Fix self-test on high ODR rate
...
We've to wait for atleast 6000us before doing self-test
2025-06-17 12:01:45 +02:00
Matthias Grob
eccfb18b51
battery_status message: remove serial_number which is now in battery_info message
2025-06-17 09:05:22 +02:00
Matthias Grob
1d86ede6c6
msg translations: sort headers alphabetically
2025-06-17 09:05:22 +02:00
Matthias Grob
84ce7d2fc6
cyphal: switch to battery_info.serial_number
2025-06-17 09:05:22 +02:00
Matthias Grob
a18453d632
uavcan battery: switch to battery_info.serial_number
2025-06-17 09:05:22 +02:00
Matthias Grob
3ec684153a
batmon: switch to battery_info.serial_number
2025-06-17 09:05:22 +02:00
Matthias Grob
2237bfa9a9
smbus_sbs: switch to battery_info.serial_number
2025-06-17 09:05:22 +02:00
Matthias Grob
7895976a17
batt_smbus: switch to battery_info.serial_number
2025-06-17 09:05:22 +02:00
Matthias Grob
d7ab21b8d6
Add battery_info message with serial number compatible with UAVCAN, MAVLink and drivers
...
I'm starting the separate battery info message because no char[32] should be published and logged
at high rate and we need a separate battery info message for static information as discussed.
2025-06-17 09:05:22 +02:00
Qiaosen Liu
59710b15ae
params: COM_RC_LOSS_T: clarify safe adjustment of RC loss timeout ( #25062 )
...
* params: COM_RC_LOSS_T: clarify safe adjustment of RC loss timeout
* Update src/modules/commander/commander_params.c
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-06-16 18:50:43 -08:00
Julian Oes
0180ad3a63
mavlink: implement extended MISSION_CURRENT
...
The message MISSION_CURRENT got extensions regarding mission state in
https://github.com/mavlink/mavlink/pull/1869
This is an attempt to actually populate those fields.
2025-06-17 13:37:47 +12:00
Silvan Fuhrer
e0663cd6ad
Sensor params: improve board rotation parameter description and meta data ( #25037 )
...
* Sensor params: add @decimals and @min, @max to SENS_BOARD_ params
Signed-off-by: Silvan <silvan@auterion.com >
* Sensor params: Improve parameter description
Signed-off-by: Silvan <silvan@auterion.com >
---------
Signed-off-by: Silvan <silvan@auterion.com >
Co-authored-by: Ramon Roche <mrpollo@gmail.com >
2025-06-16 14:59:03 -08:00
Silvan Fuhrer
a6863f0930
FW mode manager: open up / remove some arbitrary params constraints ( #25036 )
...
* performance model: remove arbitrary min/max parameter constraints
Signed-off-by: Silvan <silvan@auterion.com >
* FW mode manager: open up/remove unnecessary param @max constraints
Signed-off-by: Silvan <silvan@auterion.com >
---------
Signed-off-by: Silvan <silvan@auterion.com >
Co-authored-by: Ramon Roche <mrpollo@gmail.com >
2025-06-16 14:58:38 -08:00
Ramon Roche
34d4eb7b9e
ci: update build container ( #25059 )
...
adds lark python dependency #25056
https://github.com/PX4/PX4-Autopilot/pull/25056
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-06-16 14:57:17 -08:00
Ramon Roche
efc3e64c00
ci: update rosdistro apt keys ( #25060 )
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-06-16 13:46:33 -08:00
Peter van der Perk
0369abd556
Add lark to python requirements for the rosidl parser
2025-06-16 12:41:48 -07:00
QiTao Weng
75e4047f2a
Fix ADSB heading angle obtained from driver by removing +pi. Adjusted downstream accordingly
2025-06-13 15:28:25 +02:00
Beat Küng
310cbbedb1
fix septentrio: check for buffer underflow
...
_message.header.length - 4 is passed as unsigned to the CRC method, so if
_message.header.length < 4, the length wraps and causes invalid memory
access.
2025-06-13 14:39:57 +02:00
Alexander Lerach
6f81998e27
hardfault: add option to stream via mavlink
2025-06-13 13:32:00 +02:00
Jacob Dahl
edda54b26b
build: romf: fix generation of rc.board_bootloader_upgrade ( #25032 )
2025-06-13 00:45:14 -08:00
Beat Küng
e29771cd97
septentrio: add static assertions to ensure the buffer is large enough
...
And check the access for dynamic sized input. This is only a precaution
if the device sends invalid data (too large sb_length) with valid crc.
2025-06-13 09:46:10 +02:00
Beat Küng
ac74a02d7c
fix septentrio: ensure the crc check does not read past the buffer size
...
in case the input data is invalid.
2025-06-13 09:46:10 +02:00
Beat Küng
d13692ca46
fix septentrio: initialize _current_index
...
Decoder::reset sets it to 0, but it could have been accessed before the
first call to reset().
2025-06-13 09:46:10 +02:00
Hamish Willee
77d854b045
Update ll40ls.cpp ( #25007 )
2025-06-12 16:08:12 -08:00
Jacob Dahl
fae563b35e
[bug] AFBRS50 fix scheduling and refactor ( #24837 )
...
* fix scheduling bug for afbrs50
* cleanup and refactor
* format
* clean up
---------
Co-authored-by: Alex Klimaj <alex@arkelectron.com >
2025-06-12 16:59:02 -06:00
Julian Oes
4c130769bd
boards: set RC serial for KakuteH7-Wing
...
This was missed earlier.
2025-06-13 10:19:54 +12:00
Julian Oes
599ea7545d
boards: fixup image size of KakuteH7-Wing
...
We have 1 sector for the bootloader and the last 2 for parameters.
That's to match how ArduPilot has it.
2025-06-13 10:19:54 +12:00
Julian Oes
9fd126194b
vscode: add KakuteH7-Wing
2025-06-13 10:19:54 +12:00
Pedro Roque
6d15019717
feat: spacecraft tooling for commander and VehicleStatus ( #24716 )
...
* feat: spacecraft tooling for commander and VehicleStatus
* fix: format
* fix: remove iostream
* feat: mavlink compliant spacecraft definition
* feat: add orbiter to define
feat: spacecraft tooling for commander and VehicleStatus
fix: format
fix: remove iostream
feat: mavlink compliant spacecraft definition
* feat: add orbiter to define
* feat: update mavlink to latest
* fix: get away without specifying spacecraft vehicle
* fix: removed unnecessary definition
* fix: format
2025-06-12 21:48:48 +02:00
Matthias Grob
6b2b20bd6e
imu_gyro_parameters: lower default angular acceleration filter from 30Hz to 20Hz
...
to avoid noise getting into the derivative term of the PID rate control loop on integration flights.
2025-06-12 17:15:12 +02:00
Hamish Willee
e6e42fa043
BatteryStatus.msg - docs update ( #24789 )
...
* BatteryStatus.msg - docs update
* Update msg/versioned/BatteryStatus.msg
* Units/enum/range before description
* Update msg/versioned/BatteryStatus.msg
* Apply suggestions from code review
Co-authored-by: Matthias Grob <maetugr@gmail.com >
* MOve MAX_INSTANCES to top
* Fix up full stops
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-06-12 16:06:13 +02:00
Hamish Willee
3b35676afe
Update ActuatorServos.msg - remove terminating full stops.
2025-06-12 18:46:29 +10:00
Hamish Willee
b0d48ce786
unit/range first
2025-06-12 18:46:29 +10:00
Hamish Willee
f014bea723
ActuatorServos.msg - uORB docs
2025-06-12 18:46:29 +10:00
Hamish Willee
a9e67d4142
Remove field terminating full stops
2025-06-12 18:45:01 +10:00
Hamish Willee
46f3e2ea71
units/range first
2025-06-12 18:45:01 +10:00
Hamish Willee
dd1b435460
Update msg/versioned/ActuatorMotors.msg
2025-06-12 18:45:01 +10:00
Hamish Willee
9e07813005
Update msg/versioned/ActuatorMotors.msg
...
Co-authored-by: PX4 Build Bot <bot@px4.io >
2025-06-12 18:45:01 +10:00
Hamish Willee
80b1f5532b
Update msg/versioned/ActuatorMotors.msg
...
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-06-12 18:45:01 +10:00
Hamish Willee
3de41e1847
Update msg/versioned/ActuatorMotors.msg
...
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-06-12 18:45:01 +10:00
Hamish Willee
828b6f5232
ActuatorMotors.msg - uORB docs
2025-06-12 18:45:01 +10:00
Crowdin Bot
2cec05e44a
New Crowdin translations - uk
2025-06-12 11:15:48 +10:00
Crowdin Bot
f56e6b0bda
New Crowdin translations - zh-CN
2025-06-12 11:15:39 +10:00
Crowdin Bot
bd17df8c29
New Crowdin translations - ko
2025-06-12 11:15:18 +10:00
Crowdin Bot
a19d6e4f6e
New Crowdin translations - zh-CN
2025-06-12 08:54:05 +10:00
Crowdin Bot
71e553c67e
New Crowdin translations - uk
2025-06-12 08:53:55 +10:00
Crowdin Bot
359d58effd
New Crowdin translations - ko
2025-06-12 08:53:45 +10:00
Crowdin Bot
e0b5342e98
New Crowdin translations - zh-CN
2025-06-12 08:34:11 +10:00
Crowdin Bot
f9c36b8235
New Crowdin translations - uk
2025-06-12 08:33:00 +10:00
Crowdin Bot
5af5bdb478
New Crowdin translations - ko
2025-06-12 08:32:09 +10:00
Hamish Willee
dc8e313c0d
Fix up alt _sidebar
2025-06-12 08:26:34 +10:00
Hamish Willee
53ae458fb5
Update dds_yaml links to the markdown doc
2025-06-12 08:26:34 +10:00
PX4BuildBot
cd2e970249
Add dds_topics
2025-06-12 08:26:34 +10:00
Alexis Guijarro
26499b3c8b
3DR Control Zero H7 OEM RevG: MTD driver fix ( #25015 )
2025-06-11 12:43:00 -04:00
Peter van der Perk
0fe8738ed9
msp_osd: Add VTX config, stick commands and arming status
...
- Adds MSPv1 rx parsing to fetch VTX config
- Allows to inspect and change VTX channel through CLI
- Forward MSP_RC for stick commands osd
- Forward MSP_STATUS for arming status for PIT and LP mode
2025-06-11 11:32:32 -04:00
Beat Küng
50626f6848
VehicleStatus.msg: restore VEHICLE_TYPE_* indexes
...
This was changed in 7cb6464cfb and broke flight review
(https://github.com/PX4/flight_review/issues/310 )
2025-06-11 11:24:47 -04:00
chfriedrich98
d348bf4828
mecanum: centralize mode management, resets and checks
2025-06-11 14:17:23 +02:00
chfriedrich98
f0c15af426
mecanum: update position controller
2025-06-11 14:17:23 +02:00
chfriedrich98
5e9322899b
mecanum: seperate actuator control
2025-06-11 14:17:23 +02:00
Hamish Willee
85c2f8ebbb
Clarify how the queue works
2025-06-11 19:06:14 +10:00
Hamish Willee
412e5169e9
Add ORB_QUEUE_LENGTH info
2025-06-11 19:06:14 +10:00
Jacob Dahl
74570d5abe
docs: ekf replay: require log from boot ( #24675 )
2025-06-10 11:11:34 -06:00
Jacob Dahl
bb423bc007
dshot: fix bidirectional dshot stream sharing ( #24996 )
...
Freeing the DMA stream in the hrt callback causes other peripherals on that DMA controller to lock up (namely GPS). Moving the free back into thread context, right before allocation, solves the problem
2025-06-10 00:36:45 -08:00
Jacob Dahl
6e7638c14b
dshot: fix scaling ( #25001 )
2025-06-10 00:26:17 -08:00
Mahima Yoga
c9658f28e9
commander: use existing class state to track mission progress ( #24947 )
...
Replaced the local variable landed_amid_mission with the class member _mission_in_progress for consistency and to reduce redundancy.
No functional change.
2025-06-09 18:17:13 -08:00
Ramon Roche
df2ee22d1b
maintainers: adds Jake Dahl
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-06-09 12:44:17 -07:00
Crowdin Bot
9a2a8d4d3c
New Crowdin translations - zh-CN
2025-06-08 10:20:34 +10:00
Crowdin Bot
da39385544
New Crowdin translations - uk
2025-06-08 10:20:12 +10:00
Crowdin Bot
c0f6cfa30f
New Crowdin translations - ko
2025-06-08 10:19:49 +10:00
Balduin
e346e24158
gz: Use pose specified by PX4_GZ_MODEL_POSE ( #24956 )
...
* gz: use pose specified by PX4_GZ_MODEL_POSE
* gz: fix empty PX4_GZ_MODEL_POSE case
* gz: no pose rather than zero on empty argument
2025-06-06 10:30:56 -08:00
bresch
457ce90541
ekf2: run simplified GNSS checks after initial fix
...
This prevents stopping GNSS fusion on slightly degraded solution when
tight checks are set
2025-06-06 15:59:56 +02:00
Silvan Fuhrer
ff87361ffa
Navigator: RTL reverse: when landing set next to invalid
...
This makes sure that there is no weird line following logic executed
by the flight task when the vehicle should just come down vertical
for landing.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-06-06 15:47:35 +02:00
Jacob Dahl
64989c3b8d
dshot: add perf counter for hrt callback (15us avg) ( #24976 )
2025-06-05 14:45:28 -08:00
Jacob Dahl
7f4e6189ae
ark_fpv: cleanup board_dma_map.h ( #24975 )
2025-06-05 14:43:23 -08:00
Matthias Grob
c7ef12545c
mc_att_control_params: lower default roll and pitch attitude gains from 6.5 to 4
...
6.5 is a relatively high value that was used mostly on smaller, low inertia vehicles ~250-500mm diagonal. There it works great but on larger, higher intertia vehicles this leads to problems.
2025-06-05 19:28:53 +02:00
Ramon Roche
bdb0e4270c
ci: updates branch name strategy
...
fixes #24866
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-06-05 06:43:23 -07:00
PX4BuildBot
7008cb0aeb
Tweak words
2025-06-05 06:43:01 -07:00
PX4BuildBot
04e1c603f7
Hide unsupported list in twistie
2025-06-05 06:43:01 -07:00
PX4BuildBot
91ee9f437f
Fix up rate-limit and title
2025-06-05 06:43:01 -07:00
PX4BuildBot
5e35856033
Generate dds yaml as part of msg_docs generation
2025-06-05 06:43:01 -07:00
Peter van der Perk
b8fa208bb5
Update NuttX
...
Fixes RT117X OCRAM M7 memory freeze
2025-06-05 06:03:59 -07:00
Hamish Willee
48c54afc85
ArmingCheckXxxx.msg - uorb docs
2025-06-05 17:56:30 +10:00
Matthias Grob
fdc4766da6
Make sure vehicle_thrust_setpoint is always published before vehicle_torque_setpoint
...
After f0b05ea7cf
the control allocator only has a callback on the torque setpoint and even though this should work
I'm paranoid and would like to avoid surprises by always publishing the thrust before torque
then the samples that were published together are also allocated together.
2025-06-05 08:46:30 +02:00
Hamish Willee
ff2b82dc51
Move commands into microservices
2025-06-05 11:39:40 +10:00
Hamish Willee
485cfa0c0f
Fix broken link
2025-06-05 11:39:40 +10:00
Hamish Willee
39e51b2a6b
Apply suggestions from code review
...
Co-authored-by: Julian Oes <julian@oes.ch >
2025-06-05 11:39:40 +10:00
Hamish Willee
d1e7f01994
Docs: add skeleton topic for indicating protocol support
2025-06-05 11:39:40 +10:00
Niklas Hauser
6d35ad5d9b
[uavcan] Fix safety state not getting published ( #24972 )
2025-06-04 09:20:34 -08:00
Hamish Willee
6095fc710c
Update rcS - fix trivial typo ( #24963 )
2025-06-04 09:07:44 -08:00
Alexis Guijarro
82c2e6c159
3dr_ctrl-zero-h7-oem-revg: Adding missing module which prevented the USB interface to start
2025-06-04 11:43:26 -04:00
Matthias Grob
84cb748080
esc_calibration: simplify the logic and consider battery only connected if there's no message timeout and the connected flag is set
2025-06-04 17:11:33 +02:00
Don Gagne
7018e1b74b
Fix reporting of connected battery
2025-06-04 17:11:33 +02:00
Matthias Grob
7e055656b0
uavcan esc: translate temperature field from Kelvin to Celsius
2025-06-04 16:44:16 +02:00
Seungbin Lee
8e399ed78e
Update jfi_telemetry.md
...
Change the range from 500 meters to 1000 meters.
2025-06-04 17:18:51 +10:00
bresch
e487d59521
Vehicle_odometry: protect angular_velocity field against aliasing
...
Accumulate delta-angles between each publication to get the correct
angular velocity between two attitudes
2025-06-04 09:01:33 +02:00
Hamish Willee
09d734955d
Add ignore errors
2025-06-04 12:39:33 +10:00
Hamish Willee
3a4dc784eb
Fix up badges refering to main/v116 to just be 116
2025-06-04 12:39:33 +10:00
Hamish Willee
c3946ff56f
Add FW release note to Main release notes
2025-06-04 12:39:33 +10:00
Hamish Willee
ee49469cb6
Remove content of main
2025-06-04 12:39:33 +10:00
Hamish Willee
265ab85414
prettier
2025-06-04 12:39:33 +10:00
Ramon Roche
ae93d931d6
docs: second pass at 1.16 release notes
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-06-04 12:39:33 +10:00
bresch
0e32b155f3
ekf2: simplify names of scoped variables
2025-06-03 09:22:32 +02:00
bresch
c33d79cfb4
ekf2: move gnss_checks to their own class
2025-06-03 09:22:32 +02:00
bresch
2dbce4d958
ekf2: replace defines with enum class
2025-06-03 09:22:32 +02:00
bresch
5332010b13
ekf2: move on ground GNSS checks to separate function
2025-06-03 09:22:32 +02:00
Silvan
66fe3aa2b3
ControlAllocator: only run allocator on torque updates, not thrust
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-06-02 09:26:13 -07:00
Silvan
f0b05ea7cf
ControlAllocator: only use torque, not thrust sp as callback item
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-06-02 09:26:13 -07:00
Niklas Hauser
3971db3cb4
[iis2mdc] Help device detection by retrying probing
2025-06-02 16:54:15 +02:00
Niklas Hauser
56d53b60c0
[bmp388] Initialize multiple times with delay
2025-06-02 16:54:15 +02:00
Silvan Fuhrer
cff5ecfd88
ICE: allow throttle setpoint to be set to NAN to stop motor without disarming
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-06-02 16:50:30 +02:00
Silvan Fuhrer
ed15258abb
ICE: small cosmetic changes and make message definition clearer
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-06-02 16:50:30 +02:00
GuillaumeLaine
99f974e82e
docs: update uxrce_dds rate_limit example to reflect firmware values
2025-06-02 12:01:40 +02:00
GuillaumeLaine
17cadf7739
dds_topics: set more sensible ROS2 publication rate limits
2025-06-02 12:01:40 +02:00
Mahima Yoga
2110da73ad
Commander: don't reset Home position if landed during a (uncompleted) mission. ( #24902 )
2025-06-02 10:50:03 +02:00
Marco Hauswirth
8d3c94c947
Baro offset calibration based on GNSS height ( #24859 )
...
* apply offset to baro sensors based on gnss measurements when gnss is selected as hgt-ref
* always calibrate baro with gnss if new param SENS_BAR_AUTOCAL is set accordingly
* always do baro-gnss calibration when AUTOCALIB is set, but ensure epv is small enough and gnss data is consistent with baro
* avoid update and reset in the same step
* minor change of constexpr usage
2025-06-02 08:38:11 +02:00
Beniamino Pozzan
a2c23acc65
fix (msp_ods): clear buffers before writing and adjust sizes ( #24951 )
...
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-06-01 18:33:09 -08:00
PX4 Build Bot
5c6645e6ef
New Crowdin translations - zh-CN ( #24950 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-06-02 07:43:39 +10:00
PX4 Build Bot
8204331fa9
New Crowdin translations - uk ( #24949 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-06-02 07:43:29 +10:00
PX4 Build Bot
7936937320
New Crowdin translations - ko ( #24948 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-06-02 07:43:23 +10:00
Bastian Jäger
7f569542a2
feat: allow PX4_UXRCE_DDS_NS override with empty sting ( #24921 )
2025-05-31 20:55:10 +01:00
Ramon Roche
d24893a847
tools: update docker_run.sh to use px4-dev
...
updates to use the latest px4 development container
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-31 11:41:30 -07:00
lgf
b7f07a1ff7
manifest: Add AmovLab ICF6
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-29 13:06:19 -07:00
Peter van der Perk
1656278b5e
Update NuttX
2025-05-29 05:15:18 -04:00
Peter van der Perk
64b9b52eb4
tropic-community: Update PX4 config
2025-05-29 05:15:18 -04:00
Peter van der Perk
a89ec34e95
tropic-community: Add DTCM to heap move vectors to ITCM
2025-05-29 05:15:18 -04:00
Jacob Dahl
e338d8713b
docs: add gazebo plugins doc ( #24904 )
...
* docs: add gazebo plugins doc
* add to sidebar and summary
* prettier and link to sources
* review feedback
* Minor subedit and crosslink
* Update docs/en/sim_gazebo_gz/plugins.md
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-29 09:03:33 +10:00
mahima-yoga
029e0a7740
DOCS: add OdometryAirspeed docs
2025-05-28 15:47:50 +02:00
mahima-yoga
255216e471
DOCS: VTOL API documentation in px4-ros2-interface-lib
2025-05-28 15:47:50 +02:00
mahima-yoga
418b653160
DOCS: add FwLateralLongitudinalSetpointType documentation in px4-ros2-interface-lib
2025-05-28 15:47:50 +02:00
Niklas Hauser
62c9bf8a47
[uavcan] Param for interface mask of ESC actuators
2025-05-28 15:03:59 +02:00
chfriedrich98
38bcc50127
differential: centralize mode management, resets and checks
2025-05-28 09:03:27 +02:00
chfriedrich98
d5dc0a7eb8
differential: update position control
2025-05-28 09:03:27 +02:00
chfriedrich98
ac80958cc5
differential: seperate actuator control
2025-05-28 09:03:27 +02:00
Roman Bapst
b26dd4d3f3
Commander: Introduce global_position_relaxed ( #24280 )
...
To separate accuracy requirements for VTOL hover and cruise.
- global_position_relaxed refers to having a valid horizontal velocity aid source
in the estimator and a set global reference position, but poses no requirements
on the accuracy of the provided position estimate.
- Auto flight modes Mission, Loiter and RTL, while in fixed-wing mode,
only require the relaxed global position going forward
- COM_POS_FS_EPH is thus no longer used on fixed-wing vehicles (resp. VTOL in FW)
- rename failsafe_flags.local_position_accuracy_low to failsafe_flags.position_accuracy_low
---------
Signed-off-by: RomanBapst <bapstroman@gmail.com >
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
Co-authored-by: Silvan <silvan@auterion.com >
2025-05-28 08:16:10 +02:00
Hamish Willee
eb72925045
Docs Metadata updates ( #24929 )
...
* Failsafe metadata update
* docs: update module reference metadata
* docs: update parameter reference metadata
* docs: metadata: update uORB graph JSONs
* uorb message metadata updates
* Add new uorb topics to sidebar
* Remove uorb topics that no longer exist
* fix up resulting docs links
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-05-28 12:23:02 +10:00
Abhishek Choithani
effcb32a3e
Contibuting to docs - open editor on linux ( #24907 )
...
* Update docs.md
Tested on Ubuntu
* Fix layout
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-28 11:39:23 +10:00
Hamish Willee
ba11f75067
CellularStatus.msg - fix to standard ( #24928 )
...
* CellularStatus.msg - fix to standard
* Update CellularStatus.msg
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-05-28 10:34:22 +10:00
Matthias Grob
ce9bb0dc6b
multicopter defaults: use PX4 default <2g ublox GNSS dynamic model also for multirotors
...
It currently defaults to 1g for multirotors, which works in most cases. However, during extended high-acceleration flight (e.g. in Stabilized mode), the limited dynamic model can upset the EKF, causing repeated resets due to data inconsistencies. Recovery is sometimes quick but can also be too slow to maintain position after high acceleration flight. This issue was observed on an 850mm vehicle, not a racer.
2025-05-27 15:27:32 +02:00
Mahima Yoga
4abe2d1dab
Navigator: allow executing a disarm command during a mission
2025-05-27 13:26:30 +02:00
GuillaumeLaine
e1167f0888
dds_topics: rate limit BatteryStatus ROS2 publication to 1 Hz
2025-05-27 13:21:56 +02:00
GuillaumeLaine
b7702d3604
docs: uxrce_dds rate_limit option
2025-05-27 13:21:56 +02:00
GuillaumeLaine
238dffcd1b
uxrce_client: add option to set polling rate limit per topic
2025-05-27 13:21:56 +02:00
Niklas Hauser
8c6d7235e4
[drivers] Allow swapping RX/TX pins of DShot Telemetry
2025-05-27 11:07:29 +02:00
Jacob Dahl
3bbe3e5268
logger: add new mask for high rate sensors
2025-05-27 08:09:28 +02:00
Julian Oes
c9145a24b4
holybro: hard-select CAM1 for now
...
I don't think there is an easy way to hook this up to RC input at the
moment, so I'm setting it fixed to CAM1 for now.
2025-05-27 13:30:57 +12:00
Julian Oes
9595f12327
holybro: fixup Wing system power setup
...
I don't think we have a way to explicitly detect if BAT1 or BAT2
"bricks" are correct, so we have to assume they are, and rely on the
voltage/current shown.
Additionally, we can now power cycle sensor power.
2025-05-27 13:30:57 +12:00
Julian Oes
7c77cfa6e1
holybro: match AP flash layout
...
That way the ArduPilot bootloader works with PX4.
2025-05-27 13:30:57 +12:00
chfriedrich98
0d9cb1f048
ackermann: only control relevant setpoints in manual modes
2025-05-26 15:56:24 +02:00
chfriedrich98
a129a29793
ackermann: split modes into seperate folder
2025-05-26 15:56:24 +02:00
chfriedrich98
47a9b552f8
ackermann: centralize mode management, resets and checks
2025-05-26 15:56:24 +02:00
chfriedrich98
cd486b2da6
ackermann: update position control
2025-05-26 15:56:24 +02:00
chfriedrich98
45540455fe
ackermann: separate actuator control
2025-05-26 15:56:24 +02:00
Silvan
ea94bc11eb
DDS topics: add FW highlevel interfaces
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
mahima-yoga
8a5e5a411a
msgs: Clean up message definitions and descriptions
...
- Add versioning to interfacing messages
- Add header description
- Add units, frame and range wherever possible
- Add [norm] and @range indentifiers
2025-05-26 14:47:38 +02:00
Silvan
8c1f7ec7c0
rename FWPositionController to FWModeManager
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
Silvan Fuhrer
259e7d1d53
FWModeManger: remove throttle spike during flaring by waiting with height rate change
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
Silvan Fuhrer
2600946172
FW Attitude Controller: Wheel controller rework
...
add RunwayControl messge to pass wheel steering controls to wheel controller
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
Runway takeoff: specify that RWTO_TKOFF is directly applied during takeoff
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
msg/RateCtrlStatus: remove unused wheel_rate_integ field
The wheel rate controller is not run in the moduels that are now
running the MC/FW rate controllers, so thsi field canot be filled.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
wheel rate controller: use speed scaler quadratically on integrator
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
wheel yaw controller: use a time constant of 0.1
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
FW Attitude Controller: lock heading setpoint for wheels to initial heading
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
Silvan
a849ab9de5
FW: Re-organize param sections for FW params
...
Params that are used by FW Mode Manager
- FW NPFG: NPFG params, should be renamed to FW Lateral Control once moved to the lat/lon controller
- FW Auto Takeoff
- FW Auto Landing
Params used by Fw Lat/Long Controller:
- FW Lateral Control
- FW Longitudinal Control
Params used by both:
- FW General
Params used by Performance model:
- FW Performance (could be moerged with FW General?)
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
Silvan Fuhrer
83280dcfec
TECS: protect against NAN in pitch integrator by limiting tas input to min tas
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
mahima-yoga
817b0191e7
NPFG: add unit tests and add back feasible bearing check back
2025-05-26 14:47:38 +02:00
Silvan
0ea109ff5d
perfromance model: add FW_AIRSPD_FLP_SC to reduce with flaps
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
Silvan
3e3f10f5bc
VehicleAttitudeSetpoint.msg: remove reset_integral and fw_control_yaw_wheel
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
Silvan
0276f66b18
TECS: harden interface for NAN altitude input
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-26 14:47:38 +02:00
RomanBapst
779a55c6dc
FW Position Controller rework
...
- split up old module into two, one handling setpoint generation, one control
- add lateral and longitudinal control setpoints topics that can also be
injected from companion computer
- add configuration topics that (optionally) configure the controller
with limits and momentary settings
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-05-26 14:47:38 +02:00
murata,katsutoshi
52f0ef927d
dataman_client: Combine type declarations and processing ( #23593 )
2025-05-24 13:24:13 -08:00
Hamish Willee
b4b3c2a4a1
VehicleCommand.msg - update to new docs standards ( #24855 )
2025-05-24 16:03:04 +10:00
Alexander Lerach
134ee7b640
dds: clean up timesync
2025-05-23 11:30:55 +02:00
Alex Klimaj
31ab3f0ac9
boards: ark_fpv add vtol att control ( #24767 )
...
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-05-22 17:57:13 -08:00
Peter van der Perk
65c180852f
i2c_launcher: Dehardcode battery index
2025-05-22 12:09:05 -07:00
Balduin
f067d7a6d8
Loong: Pitch tuning
2025-05-22 14:43:42 +02:00
PX4 Build Bot
44013e351c
New Crowdin translations - ko ( #24893 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-22 08:12:42 +10:00
PX4 Build Bot
1277cf28bb
New Crowdin translations - uk ( #24894 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-22 07:50:01 +10:00
PX4 Build Bot
700ad7e49f
New Crowdin translations - zh-CN ( #24895 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-22 07:49:55 +10:00
Niklas Hauser
cc199aa807
[board] Disable buzzer on Skynode base boards
2025-05-21 17:43:12 +02:00
Matthias Grob
a9f7f00844
batteryCheck: refine low battery reporting sevirity
...
To make sure QGC also shows a box and reads out for "low battery"
and make events and mavlink_log reports consistent.
Low - Critical
Critical - Critical
Emergency - Emergency
2025-05-21 16:08:27 +02:00
mahima-yoga
fa168c4d4f
address review comments
2025-05-21 16:08:27 +02:00
mahima-yoga
d44991f33a
batteryCheck: change log level to 'warning' for low and critical battery.
2025-05-21 16:08:27 +02:00
mahima-yoga
0b3b5d9450
framework: only log "Failsafe activated" when failsafe action =! Warn.
2025-05-21 16:08:27 +02:00
Matthias Grob
30df381f0e
multicopter_autonomous_params: adjust yaw acceleration and maximum rate for exclusive use with HeadingSmoothing
2025-05-21 13:25:46 +02:00
Matthias Grob
a8f5b6dc1b
FlightTaskOrbit: also use HeadingSmoothing to avoid steps during the approach
2025-05-21 13:25:46 +02:00
Matthias Grob
70ad2e6fe5
FlightTaskAuto: Smooth yaw follow-up, bring back necessary previous yaw setpoint and reset smoothing when yaw is not locked
2025-05-21 13:25:46 +02:00
Dawid Rudy
508dc030b8
Smooth yaw by limiting acceleration
2025-05-21 13:25:46 +02:00
Marco Hauswirth
2cc9221aae
Revert "add flash-analysis for auterion_fmu-v6s board ( #24885 )" ( #24896 )
...
This reverts commit 9e45f077b1 .
2025-05-21 11:49:26 +02:00
Hamish Willee
54ddb14137
Update meta docs ( #24892 )
...
* docs: update module reference metadata
* Update failsafe metadata in docs
* Update parameter metadata
* Fix up uorb graphs based on main
* SUMMARY.md - and radio control for modules
* Add alternate sidebar
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-05-21 15:42:05 +10:00
Matthias Grob
0b3fc0a62d
SIH: add Hexacopter X
...
to enable easy simulation of a motor failure.
2025-05-20 13:23:08 +02:00
Marco Hauswirth
9e45f077b1
add flash-analysis for auterion_fmu-v6s board ( #24885 )
2025-05-20 12:00:29 +02:00
Hamish Willee
c2f872c558
docs: put RC modules into their own category ( #24847 )
2025-05-20 07:34:20 +02:00
Michael Smith
0f2012ba06
MSP_OSD Update: Add original battery status msg. ( #24872 )
...
Co-authored-by: Michael <mfs3ee@gmail.com >
2025-05-19 16:01:02 -08:00
Alexander Lerach
77894b7c83
ci/boards: add itcm checker, update ITCM mapping of v6xrt and tropic-community
2025-05-19 07:44:35 -07:00
Julian Oes
4126dde11f
mavsdk_tests: bump to v3.4.0
...
This should fix some of the lockups and segfaults we see.
2025-05-19 07:37:02 -07:00
Julian Oes
d4be5d3ff0
mavsdk_tests: add events to log
2025-05-19 07:37:02 -07:00
Julian Oes
1f65cc46b9
mavsdk_tests: bump MAVSDK to v3.3.4
2025-05-19 07:37:02 -07:00
Julian Oes
56eb9bcc18
mavsdk_tests: workaround race condition
...
PX4 needs a bit of time to process an uploaded mission before it is
ready to accept the mission mode.
Therefore, we need to wait a bit.
Alternatively, we could wait on the mission progress arriving properly,
but this sleep is simple enough for now.
2025-05-19 07:37:02 -07:00
Julian Oes
e19d245355
mavsdk_tests: remove hacks for rally points
...
We can now just use MAVSDK to upload rally points.
2025-05-19 07:37:02 -07:00
Julian Oes
66deae172d
mavsdk_tests: update to MAVSDK 3.0.0
2025-05-19 07:37:02 -07:00
PX4 Build Bot
e50d5d8567
New Crowdin translations - zh-CN ( #24875 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-18 10:57:05 +10:00
PX4 Build Bot
98a37d8e5d
New Crowdin translations - ko ( #24873 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-18 10:56:53 +10:00
PX4 Build Bot
740cd2e40d
New Crowdin translations - uk ( #24874 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-18 10:56:18 +10:00
Li-Tianming
815a339684
MSP_OSD code changes to support OpenIPC, DJI O3/O4 OSD rendering ( #24695 )
...
* Change MSP_OSD message content and rendering process
* Finish MSP_OSD battery message construct
* Finish MSP_OSD `display message` construct
HOL|DSAM|N
* Finish MSP_FC_VARIANT(0x02) message
BTFL
* Finish MSP_OSD RSSI message
📶 10%
* Finish MSP_OSD GPS message
🛰 10
🌐 000.000000
🌐 00.000000
* Finish MSP_OSD PITCH ROLL message
🔃 -10.5
🔁 13.2
* Change struct filed name
* Change OSD message postion
* Finish MSP_OSD PITCH Altitude message
🔝 15.2
* Finish MSP_OSD distanceToHome message
🏠 5000
* Add Hide/Show option for ALT and homeDist
* Format the code by `make format`
* Clean up stray text
* Remove other commented out dead code
* Change `sprintf()` to `snprintf()`
* Add msg field comment in `display_message` construct
* Init str buffer to 0, Change refresh rate back to 100ms
* Explicit conversion float to double
---------
Co-authored-by: Li.Tianming <Li.Tianming@example.com >
Co-authored-by: Li.Tianming <Li.Tianming>
2025-05-16 11:33:40 -08:00
Ramon Roche
38548ded12
ci: build all with px4-dev container
...
pull from github registry ghcr.io
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-16 09:54:49 -07:00
Ramon Roche
4c369be95e
ci: make sure we run when we need to
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-16 09:54:49 -07:00
Ramon Roche
e6433d443c
ci: use native arch builders
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-16 09:54:49 -07:00
alexcekay
ab6c6ac769
ci: fix failsafe_sim for newer GCC versions
2025-05-16 09:54:49 -07:00
alexcekay
01c23f635f
ci: fix flash analysis for newer GCC versions
2025-05-16 09:54:49 -07:00
alexcekay
c1ffdc8e3e
ci: use dev-container for nuttx targets
2025-05-16 09:54:49 -07:00
Hamish Willee
d1ff1a4c1d
Docs: uorb graph gen for 5x and 6x ( #24856 )
...
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-05-16 08:44:37 +10:00
Matthias Grob
df65e5bced
docs events_interface: fix entire paragraph being declared code by accident ( #24860 )
2025-05-16 08:40:21 +10:00
Ramon Roche
4e8760097d
ci: build px4-dev containers on demand
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-15 21:24:35 +02:00
PX4 Build Bot
cadf69f73c
New Crowdin translations - zh-CN ( #24854 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-15 12:27:25 +10:00
PX4 Build Bot
9b8fe45e04
New Crowdin translations - ko ( #24852 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-15 12:27:10 +10:00
PX4 Build Bot
524a10512b
New Crowdin translations - uk ( #24853 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-15 12:25:46 +10:00
Julian Oes
36bfcf5ec2
boards: keep INA238 shunt value for Skynode
...
This is an attempt to keep backwards compatible with Auterion's power
monitor which uses a shunt value of 0.0003 and not 0.0005.
2025-05-15 11:04:21 +12:00
Vincent Poon
5a76868cff
Change INA238_SHUNT Default Value for Consistency
...
Change INA238_SHUNT Default Value from 0.0003 to 0.0005 for Consistency with INA226 & INA228.
2025-05-15 11:04:21 +12:00
Hamish Willee
fa2b8cbd49
RC driver config Kconfig -typo ( #24848 )
2025-05-14 10:10:44 -08:00
Julian Oes
47cb1133c3
boards: add new target for Kakute H7 with dual IMU
2025-05-14 08:00:17 -07:00
Julian Oes
bf9167da50
ina238: actually run it
...
Without this the driver would not run when started from the
i2c_launcher.
2025-05-14 07:34:02 -07:00
Julian Oes
abf903a851
ina2xx: params require reboot
2025-05-14 07:34:02 -07:00
Julian Oes
117f198891
ina228/ina238: correctly set ADC range
...
It turns out that we set the ADC range incorrectly leading to the
measured current being capped at a certain level as the ADC on the
sensor saturates.
Instead, we need to set the range according to the formula given in the
interface datasheet.
2025-05-14 07:34:02 -07:00
Hamish Willee
3af9a3f76e
Add Niklas Debugging Video to GDB and hard fault sections ( #24845 )
2025-05-14 17:52:59 +10:00
Hamish Willee
79660d0a39
Amov f410 ( #24841 )
...
* add amov_F410_drone
* add amov f410 drone [200~catalogue
* Basic subedit
* Further subediting
* Add parameter file
* Update local param file
---------
Co-authored-by: lgf <1969354053@qq.com >
2025-05-14 13:44:41 +10:00
Hamish Willee
a426d27ff8
Fixup multi vehicle sim (gazebo) plus intro page images for linux/dronecode ( #24840 )
...
* Fix up site logos on front page
* Fix up rendering mult-vehicle sim
2025-05-14 12:05:12 +10:00
maksimdrachov
c79fe7292a
Grippers: added electro-magnetic gripper ( #24833 )
...
* Grippers: added electro-magnetic gripper
* Update docs/en/peripherals/gripper_servo.md
* Update docs/en/peripherals/gripper_servo.md
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-14 11:20:23 +10:00
Hamish Willee
db10fe6a97
Docs update metadata ( #24839 )
...
* Docs: Failsafe simulator update
* docs: update module reference metadata
* docs: update parameter reference metadata
* git commit -m 'docs: metadata: update uORB graph JSONs'
---------
Co-authored-by: PX4BuildBot <bot@pixhawk.org >
2025-05-14 10:53:40 +10:00
PX4 Build Bot
8adb439b58
New Crowdin translations - zh-CN ( #24829 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-14 09:22:33 +10:00
PX4 Build Bot
2b7710122e
New Crowdin translations - ko ( #24827 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-14 09:22:19 +10:00
Jacob Dahl
7ac85d8f99
adis16507: enhance driver to handle and recover from all failure modes ( #24691 )
...
* adis16507: enhance driver to handle and recover from all failure modes
- Clean up driver
- Add optional hardware reset
- Fix scale and range for 125 deg/s variant
- Handle communication errors when read returns zeroes
- Improved perf counters
* change prints to PX4_DEBUG, define BURST_READ_CMD, do both soft and hard reset, use ScheduleNow instead of 1ms delay, change read/write stall period to SPI_STALL value
2025-05-13 09:42:19 -06:00
chfriedrich98
ce9dd237a9
rover: handle invalid bearing setpoint
2025-05-13 10:23:35 +02:00
chfriedrich98
1857920a5f
rover: clean up velocity setpoint
2025-05-13 10:23:35 +02:00
chfriedrich98
b727ce86a0
rover: clean up speed terminology
2025-05-13 10:23:35 +02:00
Jacob Dahl
1d5e58b948
mavlink: set system clock from SYSTEM_TIME ( #24807 )
...
* mavlink: set system clock from SYSTEM_TIME message if behind by more than 60 seconds
2025-05-12 16:11:16 -08:00
Balduin
f01aade729
ZMO airframe: update parameters ( #24803 )
...
* ZMO airframe: update parameters
Including some parameters we found useful during the tests over the
previous months:
- various controller & transition tuning refinements
- remove battery capacity (not reliable enough w battery degradation)
- airspeed scale
- rotor configs:
- remove everything related to rotors 3 and 4 (which don't exist)
- set moment coefficients explicitly even if at default
- Increase roll limit (FW_R_LIM, FD_FAIL_R)
- min and max airspeeds
- tilt servo min and default PWM values
* ZMO airframe: address review
- explicitly set CA_ROTOR3_* to 0 (as these are set in the parent
13100 which describes a quadrotor)
- remove ASPD_SCALE_1 (close enough to default, and better to have
slightly low reading)
- remove MPC_ACC_HOR_MAX (= default)
- remove MPC_TILTMAX_AIR (was temporary)
- remove SENS_EN_SF1XX (= default)
* ZMO airframe: update tilt setup
to describe a setup where tilt servos can provide yaw torque in both
directions in multicopter mode.
* ZMO airframe: wording
2025-05-12 12:13:35 +02:00
PX4 Build Bot
d04d6af696
New Crowdin translations - uk ( #24828 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-11 12:24:56 +10:00
Jacob Dahl
a8618691f0
docs: gz: update docs for multi vehicle simulation ( #24822 )
2025-05-10 20:20:14 +01:00
Matthias Grob
406f0bb470
Fix cellular_status message definition ( #24662 )
...
* msg: fix cellular_status definition
12 * Update msg/CellularStatus.msg
* cellular_status: remove confusing reference to roaming
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-08 15:07:11 +02:00
Hamish Willee
6bca750ab3
crowdin_docs.yml - ignore the param reference
2025-05-07 19:29:57 -07:00
Jacob Dahl
050425af25
gz: specify custom world coordinates ( #24813 )
...
gz: allow custom world coordinates with environment variables and update the docs
2025-05-07 20:36:40 +02:00
Ramon Roche
688e6aafae
ci: introduce px4-dev container with multi arch support ( #24022 )
2025-05-07 12:12:27 -04:00
chfriedrich98
2d23fda77d
rtl_direct: fix function naming
2025-05-07 17:42:07 +02:00
chfriedrich98
4e436cc64e
rover: update land detector
2025-05-07 17:42:07 +02:00
chfriedrich98
771d09b968
navigator: reset next WP in mission fast reverse
2025-05-07 17:42:07 +02:00
chfriedrich98
b78b063fd8
rover: skip to LAND on direct RTL activation
2025-05-07 17:42:07 +02:00
chfriedrich98
f13f9b2240
rover: update rtl time estimator
2025-05-07 17:42:07 +02:00
Beat Küng
fee575f944
docs: update integration tests ( #24671 )
...
* docs: update integration tests
Updates for https://github.com/PX4/PX4-Autopilot/pull/22494 .
Transferred from https://github.com/PX4/PX4-user_guide/pull/2970 .
* Apply suggestions from code review
* Update docs/en/test_and_ci/integration_testing_ros1_mavros.md
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-07 13:52:03 +10:00
Matthias Grob
87db286a88
pps_capture_params: clarify description ( #24641 )
2025-05-07 11:15:20 +10:00
Ramon Roche
b851c3728c
ci: avoid multiple builds with concurrency checks
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-05-06 20:59:26 -04:00
Hamish Willee
93408cc4e2
Update main.md release to indicate may be out of date on a branch ( #24810 )
2025-05-07 10:57:46 +10:00
Seungbin Lee
881d58b79f
[Doc] Update JFI Telemetry v1.1 Changes ( #24747 )
...
* update jfi image
* Update jfi_telemetry.md
* update images
* File size compression
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-07 10:37:32 +10:00
PX4 Build Bot
76a772354c
New Crowdin translations - ko ( #24797 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-07 10:07:34 +10:00
PX4 Build Bot
3eaba5f9eb
New Crowdin translations - uk ( #24798 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-07 10:07:02 +10:00
PX4 Build Bot
2d30a010f4
New Crowdin translations - zh-CN ( #24799 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-07 10:06:44 +10:00
Roman Shtylman
fed1b338c0
Update ulog_file_format.md ( #24809 )
...
* Update ulog_file_format.md
Update Known Parser Implementations with updated information for Foxglove and the typescript parser
* Update docs/en/dev_log/ulog_file_format.md
2025-05-07 08:59:22 +10:00
bresch
6b8bf80423
ekf2-mag: never skip post-takeoff mag yaw reset
2025-05-06 11:24:31 -04:00
chfriedrich98
4e17c5496c
mecanum: streamline flow of information
2025-05-05 11:38:17 +02:00
chfriedrich98
04512ee91f
mecanum: separate velocity control
2025-05-05 11:38:17 +02:00
Julian Oes
3c39095271
[Sponsored by Holybro] Support for Kakute H743-Wing ( #24669 )
...
* hrt: Fix PPM input on channel 2
The CCMR1_PPM define for PPM input on channel 2 was incorrectly set to 2,
which was setting bits for channel 1 instead of channel 2. This prevented
PPM input from functioning properly on channel 2.
Changed CCMR1_PPM for channel 2 from 2 to (1 << 8), which correctly
configures the CC2S bits for input capture mode on TI2.
This fixes an issue noted in the existing code comment:
"FIXME! There is an interaction in the CCMR registers that prevents
using Chan 1 as the timer and chan 2 as the PPM"
Tested on STM32H743 with PPM input on PC7 (TIM8_CH2).
* rc_input: enable sharing serial and PPM pin
By setting RC_SERIAL_PORT_SHARED_PPM_PIN_GPIO_RX it is now possible to
use the same pin on the STM32 for PPM input as well as serial input.
* boards: Add support for Holybro KakuteH7-Wing
2025-05-04 14:44:11 -08:00
Jacob Dahl
2fece23c64
gz small improvements ( #24761 )
...
* gz: print version number in init, remove gst plugin spam, rename function
* fix 0 timestamp issue by waiting for clock callback before subscribing to other topics. Refactor to cleanup topic subscriptions
* format
* change gzerr to gzwarn
2025-05-04 14:41:19 -08:00
Silvan
918848095a
ROMFS: exclude 4020_holybro_px4vision_v1_5 from v6x builds to save flash
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-02 13:37:18 +02:00
Marco Hauswirth
f0fdf0b53b
EKF2: distinguish airspeed source and use synthetic for wind
...
Enable wind-dead-reckoning with airspeed source to synthetic airspeed
2025-05-02 13:37:18 +02:00
Silvan
6d12b04bb0
VTOL: do central handling of airspeed measurement
...
- only use data from airspeed_validated topic if source is SENSOR
- add 1s timeout (set to NAN if older)
- use FW_USE_AIRSPD consitently (treat the same as CAS=NAN)
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-02 13:37:18 +02:00
Silvan
f7bb5d13f7
At every consumation of AirspeedValidated, check for SOURCE
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-05-02 13:37:18 +02:00
Marco Hauswirth
5842c991ec
AirspeedSelector: add synthetic airspeed option
...
Synthetic airspeed is calculated based on the thrust setpoint
and the thrust<->airpseed model as configured in the parameters.
2025-05-02 13:37:18 +02:00
Marco Hauswirth
c3c863ad95
AirspeedSelector: clean up in preparation of synthetic airspeed
2025-05-02 13:37:18 +02:00
bresch
e7250bc8d5
ekf2: do not let mag heading and declination update xy gyro biases
...
This can destabilize the tilt estimate when the mag field is disturbed
2025-05-02 10:23:43 +02:00
bresch
a40377e544
ekf2: always update IMU filters
2025-05-02 10:23:43 +02:00
bresch
6a105bcbdb
ekf2-grav: accelerate tilt alignment
2025-05-02 10:23:43 +02:00
bresch
c59101e8ed
ekf2-gravity: do not estimate accel bias when gravity fusion is active
...
Gravity fusion uses the bias corrected accelerometer data to correct the
tilt estimate. We should not continue to estimate the accel bias when
this is active as it creates an unwanted feedback loop.
2025-05-02 10:23:43 +02:00
bresch
ee30b70a3c
ekf2-gravity: start based on accel LPF instead of peak hold
...
This prevent rapid switching in presence of noise and the innovation
filter is good at rejecting spikes
2025-05-02 10:23:43 +02:00
bresch
6ec6f1b297
ekf2-decl: do not always update tilt
2025-05-02 10:23:43 +02:00
PX4 Build Bot
ef0f0884f0
New Crowdin translations - uk ( #24714 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-05-02 09:33:50 +10:00
Balduin
ea93019b62
Docs: gazebo moving platform ( #24720 )
...
* Docs: add moving platform
documenting the addition in #24471
* Moving platform docs: address review
- Release note, write release in docs
- Describe configuration also in main gazebo sim docs, syntax section
- Tip that plugin can be used in other worlds, linking to plugin readme
* Update docs/en/sim_gazebo_gz/index.md
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-05-02 08:51:21 +10:00
Hamish Willee
9cf3e83197
VehicleCommand.msg - takeoff & global position ( #24574 )
...
* VehicleCommand.msg - takeoff & global position
* Apply suggestions from code review
* Update msg/versioned/VehicleCommand.msg
* Update msg/versioned/VehicleCommand.msg
* Update msg/versioned/VehicleCommand.msg
* Update msg/versioned/VehicleCommand.msg
* Update msg/versioned/VehicleCommand.msg
* Update msg/versioned/VehicleCommand.msg
2025-05-01 18:37:46 +10:00
Hamish Willee
9e6e2df15c
docs_bug_report.yml - fix errors ( #24790 )
2025-05-01 13:56:07 +10:00
Hamish Willee
1a4a44a223
Add docs issue template ( #24788 )
2025-05-01 13:36:17 +10:00
Daniel Agar
38d67f5a93
drivers/ins/vectornav: bump cmake minimum to 3.5
2025-04-30 18:12:33 -04:00
Daniel Agar
00d6bef6a9
cmake/gtest: bump cmake minimum to 3.5
2025-04-30 18:12:33 -04:00
Daniel Agar
45bdf20481
lockstep_scheduler: bump cmake minimum to 3.5
2025-04-30 18:12:33 -04:00
Vincello
ff8c4b918a
boards: new Corvon 743v1 board support
2025-04-30 11:14:04 -04:00
PX4 Build Bot
2f104ed83f
New Crowdin translations - ko ( #24713 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-04-30 16:39:47 +10:00
PX4 Build Bot
601b06532a
New Crowdin translations - zh-CN ( #24715 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-04-30 16:39:31 +10:00
Hamish Willee
3b78df9ec3
docs_deploy.yml - fixes following first test ( #24783 )
2025-04-30 16:22:07 +10:00
Hamish Willee
873f704ae3
docs_deploy.yml - update to create backup and always be single release ( #24781 )
...
* docs_deploy.yml - update to create backup and always be single release
* Add build time variable to make it easier to confirm last successful deploy
2025-04-30 15:50:49 +10:00
chfriedrich98
39fa8b5550
differential: migrate state machine to velocity control
2025-04-29 14:49:44 +02:00
chfriedrich98
ca01d9e37c
differential: update airframe tuning
2025-04-29 14:49:44 +02:00
chfriedrich98
16c9c175ae
differential: streamline flow of information
2025-04-29 14:49:44 +02:00
chfriedrich98
0ab9071606
differential: seperate velocity control
2025-04-29 14:49:44 +02:00
bresch
b5f011a31f
cal: transpose rotation instead of computing inverse
...
This is equivalent for an orthonormal matrix
2025-04-29 10:26:51 +02:00
Silvan Fuhrer
03c7e7aa08
FW Rate Controller: scale static trim offsets with airspeed
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-04-28 13:34:04 +02:00
Silvan
06d3331d71
mavlink streams: remove unused sub from global pos int
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-04-28 13:17:53 +02:00
Tomas Twardzik
94bbd2d69a
[fix]reducing length of Geofence vilations to prevent STATUSTEXT message length overrun ( #24719 )
2025-04-25 10:20:17 -08:00
Matthias Grob
8e89906b9a
docs: update link to navigator's publish_vehicle_command function
2025-04-25 15:32:47 +02:00
Matthias Grob
dfed3970d4
navigator: use reference instead of pointer to pass the vehicle command to publish
2025-04-25 15:32:47 +02:00
Matthias Grob
672d228d79
navigator: fill vehicle_command with float literals and comment what they stand for
2025-04-25 15:32:47 +02:00
Matthias Grob
da870c4dce
navigator: refactor vcmd -> vehicle_command
2025-04-25 15:32:47 +02:00
Matthias Grob
176783dbcb
navigator: clarify publish_vehicle_command() comment
2025-04-25 15:32:47 +02:00
Matthias Grob
f07ddda344
navigator: refactor publish_vehicle_cmd() -> publish_vehicle_command()
2025-04-25 15:32:47 +02:00
Matthias Grob
5f34474ecb
FlightTaskAuto: clean up parameter description and internal variable naming
2025-04-25 15:32:47 +02:00
Silvan
2ba5a455ed
FW land detector: increase some max thresholds
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-04-25 15:21:19 +02:00
Silvan
180658c5f9
sensors: display one decimal for params
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-04-25 15:21:19 +02:00
Silvan
f7bde67f9a
VTOL: make VT_FWD_THRUST_EN more concise
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-04-25 15:21:19 +02:00
Silvan
db25101e52
VTOL: increase max for VT_FWD_THRUST_SC
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-04-25 15:21:19 +02:00
Peter Breuer
38922d10a0
fix: fallback to mode set by COM_POSCTL_NAVL upon navigation loss in pos slow mode
2025-04-25 08:16:21 +02:00
Niklas Hauser
effb9dee11
[tfmini] Configure range and FoV via parameters
2025-04-24 14:51:46 +02:00
Niklas Hauser
43ef690254
[boards] Do not start Mavlink on external connector by default
2025-04-23 15:31:58 +02:00
Peter C.
7aaaa83497
Update photos & diagrams for Pixhawk 6C Mini and 6X ( #24687 )
2025-04-22 18:19:27 -07:00
Matthias Grob
9eaec534ab
mc_att_control_main: fix check for hover thrust estimate update ( #24750 )
2025-04-22 15:53:51 -08:00
dawr68
f08d01b4d5
Make throttle stick scaling more predictable in mc-stabilized mode ( #24710 )
...
* Rescale throttle curve to HTE as option
* Add slew rate to hover thrust estimate
* Update docs to reflect changes
Fix formating
* mc_att_control: suggestions for hover thrust slewing
- Slower slew rate
- Move update of hover thrust estimate into main loop
- Make sure dt for slew rate is correct
- Apply parameter updates if hover thrust estimate not used
- Parameter description in metadata files
* fix: Rescaling cases order
* Rescale to HTE estimate by default
* Update src/modules/mc_pos_control/multicopter_position_control_params.c
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
* Fix hte sub name
* Update MPC_THR_CURVE description
* Swap thr curve values to make hte rescaling default for value 0
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
2025-04-22 16:36:33 +02:00
Matthias Grob
9404783c99
EKF2: more accurate unaided yaw calculation
...
to fix the yaw unlocking in StickYaw
when giving a lot of roll and pitch input
2025-04-22 15:55:38 +02:00
Matthias Grob
d514cb4903
mc_att_control: use StickYaw class for Stabilized
...
to make yawing including reset and drift handling consistent with
Altitude and Position mode.
2025-04-22 15:35:26 +02:00
Matthias Grob
174147208e
Move StickYaw class into a globally available library
2025-04-22 15:35:26 +02:00
biednick
bae6328c7b
Fix typo in SPI signal table ( #24742 )
...
CS! to CS1
2025-04-21 09:56:43 -08:00
Alexander Lerach
937998b739
vtol: reduce schedule frequency, which causes DSHOT150 problems
...
* vtol: reduce schedule frequency, which causes DSHOT150 problems
* vtol_att_control_main: refactor callback handling
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-04-17 18:31:57 +02:00
Alexander Lerach
905b6ac0ba
Use ITCM on v5x
2025-04-17 04:48:37 -04:00
Silvan
921dc67824
FW land detector: only use LNDFW_ROT_MAX if speeds are not valid
...
The rotational speed threshold on fixed-wing vehicles is triggering easily
if the plane is lifted prior to takeoff (hand-launch), and can cause issues
for the auto takeoff state machine. Thus if either airspeed or groundspeed is valid,
it's better to rely on these for land detection, and only use the rotational
speed if they're invalid.
Signed-off-by: Silvan <silvan@auterion.com >
2025-04-16 17:20:55 +02:00
Matthias Grob
fa3f255301
SIH: write out vehicle types for clarity ( #24731 )
2025-04-16 14:03:34 +02:00
Jacob Dahl
ff7c636065
gz: better error message when installation is missing ( #24661 )
2025-04-16 09:36:25 +02:00
Niklas Hauser
154623500e
boards: Add Auterion FMUv6s target
2025-04-15 22:31:37 -04:00
Pedro Roque
9027dc146e
feat: add 6 DoF trajectory setpoints message
...
* feat: add attitude to trajectory setpoints
* feat: proposed new trajectory message for fully actuated vehicles
* fix: moved to unversioned and changed naming scheme
* feat: added space between translation and attitude control
* fix: change cmakelists
2025-04-15 10:24:03 +02:00
Julian Oes
43f5a713db
stm32_common: add timer 12 ( #24680 )
2025-04-15 16:10:11 +12:00
Alexander Lerach
975f743d87
boards: Increase TELEM2 rx buffer size for DDS over serial use-case (ARK Jetson)
2025-04-10 18:06:42 +02:00
Beat Küng
2d899c624e
platforms: update nuttx submodule
2025-04-10 04:30:41 -04:00
Hamish Willee
5f06e861ec
Ubuntu Versions update and Gazebo Classic deprioritisation ( #24702 )
2025-04-10 14:26:06 +10:00
Hamish Willee
0bb0719327
Update mavlink submodule to latest ( #24698 )
2025-04-10 14:43:28 +12:00
João Mário Lago
3968b35ac5
boards: bluerobotics: Add navigator board support ( #24018 )
2025-04-09 14:14:06 -08:00
Jacob Dahl
151c548838
iis2mdc: add note about lis2mdl compatibility and link to datasheet
2025-04-09 09:28:38 -06:00
Jacob Dahl
f0a852918b
lis2mdl: remove driver from source. This part is functionaly equivalent to the iis2mdc
2025-04-09 09:28:38 -06:00
PX4 Build Bot
e58035c57a
New Crowdin translations - ko ( #24677 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-04-09 14:24:28 +10:00
PX4 Build Bot
6704cc14f9
New Crowdin translations - uk ( #24678 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-04-09 14:23:27 +10:00
Hamish Willee
2564022390
Split MAVLink docs into separate topics for sending/receiving/custom ( #24694 )
2025-04-09 12:32:24 +10:00
co63oc
f4cfee6f72
Fix typos in comments ( #24681 )
2025-04-08 16:47:58 -08:00
Patrik Dominik Pordi
03345db36e
Added Flight REview for Encrypted logs ( #24690 )
...
* Added Flight REview for Encrypted logs
* Subedit
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-04-09 10:37:14 +10:00
chfriedrich98
e228456a67
ackermann: update 51001 airframe
2025-04-08 12:27:11 +02:00
chfriedrich98
ca76d287d4
rover: add rover-specific position setpoint
2025-04-08 12:27:11 +02:00
chfriedrich98
9fe98b0724
ackermann: seperate velocity control
2025-04-08 12:27:11 +02:00
chfriedrich98
8eb873a245
ackermann: streamline flow of information
2025-04-08 12:27:11 +02:00
Alex Klimaj
68dc1fcd66
boards: ark_fpv add camera feedback module ( #24686 )
2025-04-07 15:51:29 -08:00
Liu1
47ab0663f6
BMP581: Collect data using normal mode ( #24464 )
2025-04-07 11:48:23 -08:00
PX4 Build Bot
ed0c8eff7b
New Crowdin translations - zh-CN ( #24679 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-04-07 14:15:56 +10:00
Balduin
c0bb482126
Gazebo: Moving platform ( #24471 )
...
* gz_plugins: add MovingPlatformController
This plugin moves the entity to which it is attached to simulate moving
platforms (boats, trucks, ...) to takeoff and land on. Updates
Tools/simulation/gz submodule with corresponding dependency. Use with:
PX4_GZ_MODEL_POSE=0,0,2.2,0,0,0 PX4_GZ_WORLD=moving_platform make px4_sitl gz_standard_vtol
more in README.md
* MovingPlatformController: Wrench implementation
Now it works by applying appropriate forces & torques to make the
platform move as desired. Compared to the previous velocity-based
version it introduces no kinematic constraints, keeping it realistic.
Other updates:
- Also make heading configurable by env var in addition to velocity
- Cleaner error handling (runtime error, gzerr, gzwarn)
- Read parameters (gravity, platform mass & height) from model rather than hardcoding
- Update README with new env vars, usage in sdf, etc.
* MovingPlatformController: fix warning message
* MovingPlatformController: fix build
https://github.com/PX4/PX4-Autopilot/pull/24518 changed some variable
names in CMakeLists. This adapts ours to use the new ones.
* MovingPlatformController: format
* MovingPlatformController: address code review
From feedback on PR
- Parameterise low pass filters with cutoff frequency (rather than
filter coefficient directly).
- Add comment with units of feedback gains.
- Scale attitude gains with platform inertia (rather than mass).
Additionally
- Wait 5 seconds before moving the platform so the model has time to
spawn (was quicker before rebasing...)
- Refactor: separate noise generation and force/torque calculation into
two separate functions
- rename updatePlatformState -> getPlatformState to emphasise
difference from other update* functions that update internal state only
- remove unused gz transport node
- README grammar
* MovingPlatformController: format
* MovingPlatformController: remove redundant call
* MovingPlatformController: clarify explanation
* MovingPlatformController: clarify & comment units
* MovingPlatformController: wait for model to spawn
Rather than waiting a fixed 5s, we now only move the platform once the
model is spawned.
For that we construct the model name from the relevant environment
variables, in the same way as done in px4-rc.gzsim.
If attaching to an existing model, do not wait.
* MovingPlatformController: correct substring extraction
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-04-06 10:57:44 -08:00
jmackay2
561937f35a
Reduce dependency of gstreamer for gz simulation ( #24676 )
...
Co-authored-by: jmackay2 <jmackay2@gmail.com >
2025-04-04 20:22:25 -08:00
Julian Oes
ef932ae8a1
uavcan: fix timer overrides ( #24668 )
...
The older defines without the L for the APB1 Low domain errored for some
of the timers, such as 6 and 7.
I checked and it turns out the defines with and without L are identical.
2025-04-04 12:42:17 -08:00
Matthias Grob
45d7f707d7
mc_att_control: remove useless subscription
...
added in 28fa044386
#19633
2025-04-04 13:23:49 +02:00
Beat Küng
5d3083ec00
ci: copy px4 msgs directly to ros ws & upload failed logs
2025-04-04 09:12:53 +02:00
Beat Küng
845d65fe9b
fix output_groups_from_timer_config.py: avoid invalid escape sequence
...
Python warning:
Tools/module_config/output_groups_from_timer_config.py:38:
SyntaxWarning: invalid escape sequence '\)'
2025-04-04 09:12:53 +02:00
GuillaumeLaine
648e730c4a
ev_odom: always convert reference frame enum
2025-04-04 09:12:53 +02:00
Beat Küng
6fcfd5fac1
uxrce_dds_client: immediately create data writers on startup
...
There is some race condition where in rare cases the topic publication
right after creating the writer did not get received on the ROS side.
This happens even with reliable QoS & reliable transport.
2025-04-04 09:12:53 +02:00
GuillaumeLaine
ba35ca461c
ci: add external navigation integration tests
2025-04-04 09:12:53 +02:00
Beat Küng
0e4c794674
ros_tests: change filter to use all tests
...
The name is being changed in https://github.com/Auterion/px4-ros2-interface-lib/pull/8
2025-04-04 09:12:53 +02:00
Beat Küng
3d6056411f
integration tests: add --force-color & set in CI
...
github actions supports color output, but does not report as a tty.
See https://github.com/actions/runner/issues/241 .
2025-04-04 09:12:53 +02:00
Beat Küng
abb80ae71e
ci: add ros integration tests
2025-04-04 09:12:53 +02:00
Beat Küng
a954ec4d55
test: add ros integration test runner script & config
2025-04-04 09:12:53 +02:00
Beat Küng
7c14a63855
refactor mavsdk_tests: move code into separate classes & extract mavsdk-specifics
...
Allows it to be reused for other integration tests, like ros.
2025-04-04 09:12:53 +02:00
Beat Küng
d78af5436e
mavsdk_tests: highlight px4 errors & reset color on gazebo output
2025-04-04 09:12:53 +02:00
Beat Küng
45285a57ad
fix mavsdk_tests: add ',' to test_filter config
2025-04-04 09:12:53 +02:00
Beat Küng
bbcd153e94
sitl: add generic way to override params via ENV variables
2025-04-04 09:12:53 +02:00
Julian Oes
3bde706cb3
cubepilot: enable heater for CubeOrange+
...
This adds everything required to use the heater on Orange+ but leaves it
disabled by default.
2025-04-04 08:31:06 +02:00
Julian Oes
dbe57fad08
cubepilot: add heater support for CubeOrange
...
This adds the heater (via px4io) in but it's still disabled by default.
2025-04-04 08:31:06 +02:00
Julian Oes
f7740bdfd2
heater: fix invalid file descriptor
...
We need to open the device later in the work queue and not in the
constructor during task_spawn.
There is already a lazy open in place, so just removing this fixes the
problem for me.
2025-04-04 08:31:06 +02:00
Julian Oes
74a8d897b2
ROMFS: start heater after px4io
...
Otherwise the device is not available when we start the heater.
2025-04-04 08:31:06 +02:00
Patrik Dominik Pordi
1ee3b7e77d
[Pending] Updated Encrypted logs docs to reflect #24489 , ( #24580 )
...
* Updated Encrypted logs docs to reflect https://github.com/PX4/PX4-Autopilot/pull/24489
* Subedit
* Subedit the key generation bit
* Updated the docs with multiple command line args for the decryptor and added OpenSSL as a requirement
* Subedit
* Update log_encryption.md
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-04-04 07:36:35 +11:00
Patrik Dominik Pordi
cc492bbf6e
[Sponsored by ARK] Encryption ( #24489 )
...
* Added the board configs for encryption, I had to disable smbus and px4 io in the arkv6x
* Added the key generator script
* Added the decryptor, logs are needed for it though
* Added the log download and modified the decryptor
* Quick fixes & README
* Additional modifications & cleanup
* Tested upd connection
Adjusted the log downloader to handle multiple entry responses from the FC
Edited README
* Reverted IP address change
* Added pycryptodome to the requirements.txt
* fixes for log download and decryption
* Removed old log decryptors and updated README
* Pointed the ark borads to the dummy key updated the README accordingly
* Adjusted the folders in README, removed new lines
* Extended command line arguments for all possibilities for description
* Added MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES after heartbeat received to make sure log request is answered in all cases
* Update Tools/log_encryption/README.md
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Update Tools/log_encryption/README.md
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Update Tools/log_encryption/README.md
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Update Tools/log_encryption/README.md
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Edited README, changed the serial connection logic and updated logdownload, made decryption a bit easier to understand
* Update Tools/log_encryption/README.md
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
* Removed new lines
* arkv6x: add individual mags to default.px4board
---------
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com >
Co-authored-by: Alex Klimaj <alex@arkelectron.com >
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-04-02 23:40:45 -08:00
Seungbin Lee
9cc1e01bd8
[Doc] Added J.Fi Wireless Telemetry Module ( #24656 )
...
* add jmarple product
* update youtube link
* Move/shrink images
* Move above discontinued items
* Minor update
* Fix broken link
* update PX4 Setup guide
* Subedit
---------
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-04-03 15:16:56 +11:00
Hamish Willee
724987d59e
Autotune large MC vehicles ( #24614 )
2025-04-03 14:21:00 +11:00
Hamish Willee
27ff547e07
Updates linkchecker and fixes up the doc contribution sections ( #24660 )
...
* Update yarn linkchecker
* Fix edit page links. Fix contribution pages
2025-04-03 12:41:56 +11:00
Eric Katzfey
db97dd471d
Added setting default for EKF2_EV_CTRL to 15 for VOXL 2 boards
2025-04-02 11:11:56 -04:00
Hamish Willee
5509061803
docs_flaw_checker.yml - attempt update ( #24655 )
2025-04-02 18:47:49 +11:00
Hamish Willee
f2026343d7
[Doc] Data link loss exceptions ( #24652 )
...
* [Doc] Data link loss exceptions
* Tidy
2025-04-02 12:13:12 +11:00
Hamish Willee
fee81a5c88
[Docs] Gimbal - improvements to mavlink setup instructions ( #24613 )
2025-04-02 11:59:28 +11:00
PX4 Build Bot
d06e9cc302
New Crowdin translations - zh-CN ( #24636 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-04-02 11:57:39 +11:00
bresch
e35c1f430c
EKF-AGP: only reset lat/lon when starting
2025-04-01 16:42:26 +03:00
Alex Klimaj
1928758fbc
boards: ark_fpv add camera trigger and capture drivers ( #24643 )
2025-03-31 10:48:32 -08:00
bresch
f73c7977dd
ekf2-flow: limit minimum flow hagl
2025-03-31 11:34:25 +02:00
bresch
53bdceb895
ekf2-flow: check test ratio on Y axis separately
2025-03-31 11:34:25 +02:00
bresch
cdab0cb6e4
ekf2-flow: use same measurement prediction as in jacobian derivation
...
Also avoid double division in flow prediction
2025-03-31 11:34:25 +02:00
bresch
82ea544e8c
ekf2-test: add flow unit test for negative distance
2025-03-31 11:34:25 +02:00
Matthias Grob
ddb9a5d0b9
gz_plugins: do not look for gz-transport12 (Gazebo garden) ( #24633 )
...
this tries to build the plugins and breaks the SITL build if you have
Gazebo garden isntalled even if you're not trying to simulate with
Gazebo.
2025-03-28 10:11:56 -08:00
Roman Bapst
2c8ef05c2d
Add COM_DLL_EXCEPT to specifiy exceptions for data link loss failsafe
2025-03-28 17:41:24 +01:00
Alexander Lerach
72454c4fd2
dataman: clarify default storage backend ( #24626 )
2025-03-28 16:27:12 +01:00
Silvan Fuhrer
69b7a21f02
AirspeedValidated: add VERSION ( #24620 )
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-28 12:15:00 +01:00
Jacob Dahl
7cb7977263
dshot: only use 1 DMA, round robin the channels. Fix esc telemetry. ( #24610 )
2025-03-27 11:41:38 -06:00
Julian Oes
8acf273917
Add RTL_TYPE to continue or reverse ( #24581 )
...
This adds RTL_TYPE 4 which means continue the mission or reverse back to
the takeoff location, whichever is closer in terms of mission items
in-between.
This would be nicer to have on a distance rather than mission item count
basis but that would require access to the dataman and make it more
complex.
2025-03-28 06:29:42 +13:00
Daan Smienk
3870992bac
Fix spelling mistake ( #24623 )
2025-03-27 09:46:02 -06:00
Roman Bapst
550bbd9051
FW rate controller: Don't constrain airspeed for scaling to maximum airspeed ( #24622 )
...
* don't constrain airspeed for scaling to maximum airspeed
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* fix max function
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* remove hardcoded max
Signed-off-by: RomanBapst <bapstroman@gmail.com >
---------
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-03-27 14:22:40 +01:00
Balduin
19d3e6285b
vtol_att_control: shorter elapsed time calculation
2025-03-27 09:29:54 +01:00
Balduin
898d631b24
dds_topics: add vtol_vehicle_status
2025-03-27 09:29:54 +01:00
PX4 Build Bot
e7eca72d02
New Crowdin translations - zh-CN ( #24617 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-27 14:43:25 +11:00
PX4 Build Bot
9f4e642e9f
New Crowdin translations - ko ( #24591 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-27 14:41:16 +11:00
PX4 Build Bot
6f026f35b1
New Crowdin translations - uk ( #24592 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-27 14:39:36 +11:00
Hamish Willee
46d1489d36
docs_crowdin_download.yml - attempt to fix the label ( #24616 )
2025-03-27 14:34:24 +11:00
Hamish Willee
4710366862
Open file locally respects frontmatter ( #24615 )
2025-03-27 14:32:28 +11:00
bresch
82a482ec0b
ekf2: reset heading when mag calibration changed
2025-03-26 22:32:51 -04:00
bresch
49624a6457
mag: synchronize calibration count with newly calibrated data
...
The data contained a mix between the old and new calibration. This
caused the EKF to reset to an incorrect (intermediate) heading.
2025-03-26 22:32:51 -04:00
Alexander Lerach
7acd2e93eb
gps: Parse RTCM3 & NAV in parallel
2025-03-26 17:45:10 +01:00
Ramon Roche
9e99bd3b7a
tools: fixes px4.py when run outside of root
...
its mainly being used by homebrew
2025-03-25 21:00:08 -04:00
PX4 Build Bot
a2341c29f4
New Crowdin translations - zh-CN ( #24593 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-26 11:06:37 +11:00
Alexander Lerach
f608a10ed4
Enable flash analysis comments again for non-fork PRs ( #24603 )
2025-03-25 15:13:18 -04:00
Andrew Brahim
5cb3fd1c9f
remove tel2 default from sf45 ( #24602 )
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-03-25 10:10:39 -08:00
Jacob Dahl
9e8b530ad9
sim: refactor startup scripts and fix gz sim standalone ( #24600 )
...
* sim: refactor px4-rc.simulator into sim specific startup scripts. Fix gz sim for standalone mode.
* shellcheck disable=SC2154
2025-03-25 11:49:03 -06:00
chfriedrich98
c2706f5406
rover: auto mode stopping conditions
2025-03-25 10:38:30 +01:00
Bertug Dilman
735777862d
mavlink streams: LORA mode for low bandwidth radio links ( #24328 )
...
* Add LORA radiolink Mavlink message rates
* Do not forward ONBOARD_COMPUTER_STATUS when using low bandwidth radio links
* Update src/modules/mavlink/mavlink_main.cpp
* Update src/modules/mavlink/mavlink_main.cpp
* Update src/modules/mavlink/mavlink_main.cpp
* Update src/modules/mavlink/mavlink_main.h
* Update src/modules/mavlink/mavlink_main.h
* Update src/modules/mavlink/module.yaml
* Update src/modules/mavlink/mavlink_main.h
---------
Co-authored-by: Sebastien <sebastien.courroux@auterion.com >
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-03-24 20:46:49 -08:00
Eric Katzfey
4184cf67d3
voxl2-slpi: Removed bogus protocol check in custom Spektrum RC driver
2025-03-24 16:44:02 -04:00
Alex Klimaj
71554af8fa
Add uavcannode accel and gyro publisher ( #19885 )
...
* Add uavcannode accel and gyro publisher.
* Add missing Kconfig
* always publish rawimu
2025-03-24 12:08:15 -08:00
RomanBapst
f67027f066
improvements
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-03-24 17:48:33 +01:00
RomanBapst
dfc66993b6
document VT_F_TR_OL_TM and VT_TRANS_TIMEOUT
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-03-24 17:48:33 +01:00
Andy Wheatley
ca2ed655b8
Allow negative differential pressure if parameter enabled ( #24434 )
2025-03-24 09:42:36 +01:00
Balduin
fdebdc447d
dds_topics: add home_position
2025-03-24 09:34:51 +01:00
Marco Hauswirth
283a69dedf
enable terrain_hold when not moving vertically
2025-03-24 09:08:18 +01:00
Jacob Dahl
451b0a3db8
gz: rc.simulator: remove references to garden and improve version check ( #24577 )
2025-03-21 14:22:24 -08:00
Jacob Dahl
4c0a63f679
mavsdk_tests: add multicopter alt hold test ( #24396 )
...
* mavsdk_tests: add multicopter alt hold test
* fix test filter
* increase altitude tolerance to 10m as a test
* reduce to 1m tolerance
* increase to 5m tolerance
* increase to 2m tolerance
* reduce back to 1m
* delay 60 seconds
* fix log upload
* fix ulog upload path
* make altitude tolerance in tester.wait_until_altitude configurable
* fix lambda
* default arg in declaration
* tighten up tolerance
2025-03-21 16:21:10 -06:00
Matthias Grob
a048a8e8a0
mavlink_receiver: refactor manual_control.throttle extraction to exactly match MAVLink output
2025-03-21 11:44:51 +01:00
Peter Breuer
80ea3a09bb
fix: change MANUAL_CONTROL MAVLink message output throttle field range from [-1000, 1000] to [0, 1000]
2025-03-21 11:44:51 +01:00
Peter van der Perk
b35753ded9
mr-canhubk3: Enable navigator in default target
2025-03-20 11:45:26 +01:00
Silvan
18b6a61788
Navigator: add NUM_MISSION_ITMES_SUPPORTED to kconfig
...
Signed-off-by: Silvan <silvan@auterion.com >
boards: increase max mission items for boards with >=1kb RAM to 1000
Signed-off-by: Silvan <silvan@auterion.com >
boards: increase NUM_MISSION_ITMES_SUPPORTED for SITL to 10000
Signed-off-by: Silvan <silvan@auterion.com >
2025-03-20 11:45:26 +01:00
Silvan
b91e1cd482
Navigator: remove MEMORY_CONSTRAINED_SYSTEM
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-03-20 11:45:26 +01:00
Silvan
d1eff16ad7
Navigator: remove define for RAM_BASED_MISSIONS
...
Since we have SYS_DM_BACKEND, the user has to option on all boards
to store the mission on the RAM, thus thus define got obsolete.
Signed-off-by: Silvan <silvan@auterion.com >
2025-03-20 11:45:26 +01:00
Hamish Willee
895afea0a7
docs_crowdin_download.yml - auto label the issue with Documentation ( #24578 )
2025-03-20 13:39:53 +11:00
Hamish Willee
1afa098c90
Link fix in ARK Pi6X Flow ( #24572 )
2025-03-20 11:56:52 +11:00
Hamish Willee
12988c94f5
docs_deploy.yml - bigger deployment runner ( #24575 )
...
* docs_deploy.yml - bigger deployment runner
* docs_crowdin_upload.yml - only run when something goes into main
2025-03-20 11:54:42 +11:00
Hamish Willee
19230aa369
Docs: Fix up links to source ( #24570 )
...
* Docs: Fix up links to source
* Copy in metadata manually from px4_user_guide
2025-03-20 09:14:58 +11:00
Jaeyoung Lim
950f2272bf
Fix scene path for jsbsim ( #24568 )
...
The sitl_run script was misdirecting FG_AIRCRAFT when running flightgear GUI
2025-03-19 20:00:19 +01:00
Hamish Willee
440d76b839
commander_params.c - COM_QC_ACT is action not command ( #24541 )
2025-03-19 16:35:05 +01:00
PX4 Build Bot
7c444828f3
New Crowdin translations - uk ( #24566 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 21:01:00 +11:00
PX4 Build Bot
3d7bc4a558
New Crowdin translations - ko ( #24565 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 21:00:14 +11:00
PX4 Build Bot
d04e6695ac
New Crowdin translations - zh-CN ( #24563 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 20:59:57 +11:00
Hamish Willee
bd0a59eb1f
Autotune - make the conditional code simpler ( #24564 )
2025-03-19 19:33:33 +11:00
Hamish Willee
e63b09da63
docs_crowdin_download.yml - attempt to fix chinese with code zh-CN ( #24562 )
2025-03-19 19:04:03 +11:00
Hamish Willee
5e1df797e0
more attempts to fix autotune.md translation sensitivity ( #24561 )
2025-03-19 17:52:57 +11:00
PX4 Build Bot
d699adb308
New Crowdin translations - ko ( #24560 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 17:39:22 +11:00
Hamish Willee
58282c5292
Autotune tidy - hopefully improve translations ( #24559 )
2025-03-19 17:26:17 +11:00
PX4 Build Bot
bcd609ce51
New Crowdin translations - ko ( #24557 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 17:16:45 +11:00
PX4 Build Bot
497efb9665
New Crowdin translations - ko ( #24555 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 17:14:06 +11:00
PX4 Build Bot
029060264e
New Crowdin translations - uk ( #24556 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 17:13:34 +11:00
PX4 Build Bot
cba54fc59d
New Crowdin translations - ko ( #24554 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 16:52:32 +11:00
PX4 Build Bot
3d48ba4c19
New Crowdin translations - ko ( #24553 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 16:35:38 +11:00
Hamish Willee
7c6abf2237
Add back the crowdin docs path crowdin_docs.yml ( #24552 )
2025-03-19 16:22:00 +11:00
Hamish Willee
bd4aad0796
Run upload on workflow dispatch if we want. ( #24551 )
2025-03-19 16:14:35 +11:00
Hamish Willee
c909611149
Add .gitignored docs/en/log/ folder ( #24550 )
2025-03-19 16:06:53 +11:00
PX4 Build Bot
77df2c97ec
New Crowdin translations - ko ( #24547 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 15:54:47 +11:00
PX4 Build Bot
c77f3887aa
New Crowdin translations - uk ( #24548 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2025-03-19 15:53:22 +11:00
Hamish Willee
6cab668270
crowdin - add back in the ignore ( #24549 )
2025-03-19 15:40:07 +11:00
Hamish Willee
4e8683b5a9
Try rename the crowdin file ( #24545 )
2025-03-19 13:48:48 +11:00
Hamish Willee
879c71d3fd
crowding to match qgc ( #24544 )
2025-03-19 13:40:56 +11:00
Hamish Willee
cd889dadc2
crowdin.yml - fix typo ( #24543 )
2025-03-19 13:28:03 +11:00
Hamish Willee
f129b7db40
crowdin.yml - try fix base path back ( #24542 )
2025-03-19 13:15:14 +11:00
Hamish Willee
68d8effe80
crowdin.yml - see if base path affects this. ( #24540 )
2025-03-19 11:21:39 +11:00
Hamish Willee
d9645ae0c0
Holybro PRM02d - fix up to make it clear there is only one variant now ( #24539 )
2025-03-19 11:10:26 +11:00
Ramon Roche
46647e1842
Revert "ci: fix markdown flaw check ci ( #24535 )" ( #24538 )
...
This reverts commit 64ad0ebe87 .
2025-03-19 10:36:46 +11:00
Hamish Willee
8f5ea5fc30
Fix up the comment workflow to trigger on flaw checker ( #24537 )
2025-03-19 09:58:09 +11:00
Ramon Roche
64ad0ebe87
ci: fix markdown flaw check ci ( #24535 )
...
* ci: fix markdown flaw check ci
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* docs: fix typo
intentionally touching this file to trigger ci
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* ci: fix path error
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* ci: intentionally touch
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* ci: check if exectuion is right
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* ci: debug with tmate
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
---------
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-03-19 09:27:45 +11:00
Roman Bapst
480cb14c10
VTOL: abort front transition early if airspeed doesn't go above blending speed ( #24521 )
...
vtol_type: timeout transition earlier if we use airspeed and airspeed has
not increased above blend airspeed after openloop front transition time.
Signed-off-by: RomanBapst <bapstroman@gmail.com >
---------
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-03-18 13:17:53 +01:00
Matthias Grob
faf4114a09
gz_bridge: add a localhost GZ_IP to avoid multicasting all messages to all networks
2025-03-18 10:52:34 +01:00
Balduin
c0100ed4e7
mavsdk tests: use tester sleep_for function
...
the previously used std::this_thread::sleep_for is with respect to host
system time which is different from autopilot time if:
- speed factor != 1
- something runs slower than realtime regardless of speed factor
- debugging or otherwise interrupting PX4 control code
tester.sleep_for (which already existed) correctly sleeps w.r.t.
px4/simulation time.
2025-03-18 10:25:38 +01:00
Julian Oes
d72c2cc378
uavcan: ignore 0 UTC timestamps ( #24529 )
...
We need to wait for a valid UTC timestamp, otherwise we end up in 1970
with Here 4 which sends 0 for a bit even if there is already a fix.
2025-03-17 23:19:54 -06:00
Jacob Dahl
b6597f2984
gz: set realtime clock at startup ( #24530 )
2025-03-17 23:19:10 -06:00
Ramon Roche
a88679a26f
tools: exclude docs from newline checks ( #24531 )
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-03-17 19:20:42 -08:00
Jacob Dahl
85ef444f95
gz: fix depends regression ( #24527 )
2025-03-17 16:17:38 -06:00
Jacob Dahl
3b66166d6c
gz: wait for world before spawning model, delay 1s after model spawn to allow time ( #24516 )
2025-03-17 12:29:10 -06:00
jmackay2
fced29da59
Gz cmake cleanup ( #24518 )
...
* clean up cmakelists
* cleanup
---------
Co-authored-by: jmackay2 <jmackay2@gmail.com >
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-03-17 10:02:10 -08:00
jmackay2
d2c049ec93
Remove OpenCV dependency from gz plugin gstreamer ( #24519 )
...
Co-authored-by: jmackay2 <jmackay2@gmail.com >
2025-03-17 10:00:40 -08:00
Matthias Grob
40c26e7880
17002_flightgear_tf-g2: translate FW_THR_CRUISE to FW_THR_TRIM ( #24523 )
...
See 461d0561b8
2025-03-17 17:18:46 +01:00
Alexander Lerach
9fc9fb56d1
GPS Dump timeout increase + GPS overflow fix
2025-03-17 17:03:45 +01:00
Silvan Fuhrer
e691db3cfe
Takeoff: on completion estabilish loiter at current position for FW
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-17 02:52:12 -08:00
Silvan Fuhrer
9499b32be6
Revert "Takeoff: remove set loiter logic, as it is handled in loiter.cpp already ( #24454 )"
...
This reverts commit 8547ebb863 .
2025-03-17 02:52:12 -08:00
bresch
fa0ba69083
ReplayEkf: correctly add all subscriptions
...
Logged data and subscription messages can be mixed, so don't stop adding
subscriptions after finding the first logged message
2025-03-17 10:01:48 +01:00
bresch
30a6a854c1
ReplayEKF: reduce effect of IMU time slip
2025-03-17 10:01:48 +01:00
Julian Oes
fe5d90301d
boards: fix startup delay for all Kakute H7
...
This configures the RTC clock to use the HSE instead of the not existing
LSE clock which prevents boot waiting for the not existing LSE crystal
for a few seconds on startup.
2025-03-17 07:27:11 +01:00
bresch
9ac03f03eb
ekf2: consider GNSS vel as horizontal velocity aiding
2025-03-14 18:22:00 +01:00
Hamish Willee
e0d15b7a80
Cleanup docs crowdin download ( #24504 )
...
* Strip out most of the debugging
* Try fix up the matching paths
2025-03-13 18:24:39 +11:00
Hamish Willee
c8b905d748
Debug crowdin download ( #24503 )
...
* Debug crowding download
* Add debug to crowdin download action
2025-03-13 17:27:18 +11:00
Julian Oes
42d6298dbf
commander: fix accel sensor present flag
...
This must have been a copy paste mistake.
2025-03-13 07:13:08 +01:00
Hamish Willee
617fdd875e
crowdin.yml - fix ignore to be an array ( #24502 )
2025-03-13 17:04:54 +11:00
Hamish Willee
b677247ea0
docs_crowdin_download.yml - revert last change ( #24501 )
2025-03-13 16:51:19 +11:00
Hamish Willee
2f374c6e46
docs_crowdin_download.yml - use secrets PX4BUILTBOT_PERSONAL_ACCESS_TOKEN ( #24500 )
2025-03-13 16:40:26 +11:00
Hamish Willee
88d623bedb
Move PX4 Guide source into /docs ( #24490 )
...
* Add vitepress tree
* Update existing workflows so they dont trigger on changes in the docs path
* Add nojekyll, package.json, LICENCE etc
* Add crowdin docs upload/download scripts
* Add docs flaw checker workflows
* Used docs prefix for docs workflows
* Crowdin obvious fixes
* ci: docs move to self hosted runner
runs on a beefy server for faster builds
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* ci: don't run build action for docs or ci changes
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* ci: update runners
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
* Add docs/en
* Add docs assets and scripts
* Fix up editlinks to point to PX4 sources
* Download just the translations that are supported
* Add translation sources for zh, uk, ko
* Update latest tranlsation and uorb graphs
* update vitepress to latest
---------
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
Co-authored-by: Ramon Roche <mrpollo@gmail.com >
2025-03-13 16:08:27 +11:00
Jacob Dahl
8e6d2ebe4a
gz: fix model sdf path ( #24488 )
2025-03-12 21:39:26 -06:00
Jacob Dahl
543851db50
[Sponsored by ARK] Bidirectional DShot ( #23863 )
...
* Bidirectional DShot
Co-authored-by: Julian Oes <julian@oes.ch >
* f4/f1 support, not supported
* fix f1 build target
* sanity check timer_channel value, fix CCxNP ifdef, debug stuff
* removed debug code, added define for H7 HAVE_GTIM_CCXNP
* round robin sampling for less than 4 DMA
* unlimited esc_status logging
* dshot: fix formatting
* dshot: add define for number of DMA channels to use
This allows individual boards to override the number of DShot channels
and hence avoid round robin capture of the RPM feedback.
* ARK: enable 4 DMA channels for DShot on 6X
* dshot: publish when all channels are updated
This slows down the ESC_STATUS publication in the case of round robin
capture. E.g. for 800 Hz output with one DMA channel, the ESC_STATUS is
now published at 200 Hz.
* dshot: avoid duplicate publications for bidir and telem
Instead of publishing both bidirectional dshot updates as well as
telemetry updates, we now combine the data from both streams, and
publish whenever we get RPM updates, as the latter arrives with higher
rate, e.g. 200 Hz with round robin, or faster otherwise.
When combining the data, we take RPM from bidirectional dshot, and the
rest from telemetry.
When we have only one of the two, either telemetry or bidirectional
dshot, we just publish that one.
* boards: add ark fpv and pi6x BOARD_DMA_NUM_DSHOT_CHANNELS
* dshot: turn off debug build
---------
Co-authored-by: Julian Oes <julian@oes.ch >
Co-authored-by: alexklimaj <alex@arkelectron.com >
2025-03-12 12:55:15 -06:00
Niklas Hauser
2280e94a47
[IST8310] Respect address CLI argument
2025-03-12 13:48:49 -04:00
Andrew Wilkins
579a1e48e9
airframes/4019_x500_v2: removed defaults for min & max motors ( #24459 )
2025-03-12 12:18:08 -04:00
Beat Küng
a3c387fa85
fix commander: separate state tracking for battery_unhealthy failsafe ( #24493 )
...
There is already another check for battery_unhealthy, so a separate state
and ID are required.
Fixes the error:
ERROR [failsafe] BUG: duplicate check for caller_id 74
2025-03-12 16:46:02 +01:00
bresch
b5e2395982
GPS2_RAW: fill extension fields
2025-03-12 13:12:38 +01:00
Silvan Fuhrer
8547ebb863
Takeoff: remove set loiter logic, as it is handled in loiter.cpp already ( #24454 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-03-12 13:05:47 +01:00
Niklas Hauser
a1f363aa00
[IST8310] Reset all I2C addresses on startup
...
Reading the WAI register is unreliable as the chip sometimes returns
wrong values or boots with the wrong I2C address. This can be fixed by
sending the software reset command to all four possible I2C addresses.
2025-03-12 13:05:18 +01:00
Silvan Fuhrer
c4ade17b38
Commander: Never clear link loss failsafe automatically, also not when failsafe is Hold ( #24317 )
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-12 12:46:42 +01:00
Silvan Fuhrer
5319b82e4d
MissionBase: replay change speed on resume immediately if not going to previous ( #24484 )
...
* MissionBase: replay change speed on resume immediately if not going to previous
This fixes an issue where the speed was not correctly set at the beginning of a
survey (with first wp having a DO_CHANGE_SPEED attached) when the user paused
and resumed the mission prior to reaching the first waypoint.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
* Update src/modules/navigator/mission_base.cpp
Co-authored-by: Stefano Colli <45536733+StefanoColli@users.noreply.github.com >
---------
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
Co-authored-by: Stefano Colli <45536733+StefanoColli@users.noreply.github.com >
2025-03-12 09:17:57 +01:00
Marco Hauswirth
c6c0f2228b
clean up
2025-03-12 08:52:39 +01:00
Marco Hauswirth
6112d59e58
do relative calibration of baros with 1s delay
2025-03-12 08:52:39 +01:00
Andrew Brahim
9ae559e311
enable lightware sf45 driver in FMU-V6XRT ( #24467 )
...
* add sf45 driver to 6xrt
* disable the sf45 driver on rover, since collision prevention is tied with MPC params
---------
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-03-11 09:47:31 -07:00
bresch
2aaa54037c
ekf2: split gnss pos/vel flags
...
They can be selected independently in the control parameter, so there is
no reason why they should share the same flag.
2025-03-11 14:14:40 +01:00
bresch
da3a0656d4
ekf replay: set timestamps in us
2025-03-11 14:14:00 +01:00
bresch
cae4f94476
ekf2-replay: best effort replay when no ekf2_timestamps
...
Run at sensor_combined speed and publish all other sensors occuring
between 2 sonsor_combined samples.
This allows a crude replay in case ekf2 replay was not enabled during
the flight.
2025-03-11 14:14:00 +01:00
Jukka Laitinen
f583406558
src/lib/parameters/parameters.cpp: Remove conversion of unaligned pointers
...
Parameter "void *val" passed to the functions in parameters.cpp are not always
4-byte aligned, so on some platforms direct casting to "int32_t *" or "float *"
leads to an unaligned exception. An example of such user is Logger, which directly packs
parameter values to character buffer.
Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae >
2025-03-11 07:50:47 +01:00
Eric Katzfey
5a05444bad
QuRT logging improvements ( #24462 )
...
- Made general improvements to the QURT platform message logging so that module name is printed both in mini-dm and on apps side terminal
2025-03-10 18:59:52 -04:00
bresch
7e0d04e446
ekf2: fix flow derivation for negative hagl
...
The partial derivative of the flow observation with respect
to the terrain and height states involve calculating the derivative
of 1/x, which is -1/x^2. This function is even, making the estimate
diverge in case x (the height above ground) is negative.
The solution is to take the derivative of 1/|x|,
which is -x/|x|^3 and is an odd function; preserving the sign of x.
Note that for positive values of x, the expression reduces to -1/x^2
2025-03-10 17:11:53 -04:00
chfriedrich98
0671e40f8e
pure_pursuit: migrate params from .yaml to .c
2025-03-10 11:14:00 +01:00
chfriedrich98
d1b0be18b2
pure_pursuit: update library
2025-03-10 11:14:00 +01:00
Jukka Laitinen
fec240efba
src/lib/airspeed/CMakeLists.txt: Link to "atmosphere" library
...
Fix a linking error of not finding "atmosphere::getDensityFromPressureAndTemp(float, float)"
Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae >
2025-03-10 09:16:48 +01:00
Jukka Laitinen
dba2f4ff51
src/drivers/px4io/px4io.cpp: Fix compilation errors from printf modifiers
...
Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae >
2025-03-10 09:13:17 +01:00
Jacob Dahl
690fa8bb15
update gz classic submodule ( #24468 )
2025-03-09 10:18:59 +01:00
Jacob Dahl
7c2aa72690
gz: add gstreamer plugin ( #24475 )
2025-03-09 10:11:52 +01:00
co63oc
bc0d257e86
Fix typos in comments ( #24474 )
2025-03-08 00:56:30 -09:00
PavloZMN
5be867da1c
Duplicate empty _node check removed from Subscription.hpp ( #23316 ) ( #23317 )
...
* Duplicate empty `_node` check removed from Subscription.hpp (#23316 )
* newline
* move uORB gtests to uORB/test
---------
Co-authored-by: Jacob Dahl <dahl.jakejacob@gmail.com >
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-03-07 01:53:30 -09:00
Konrad
c83fd11924
RTL: Always publish available approaches from home and rally points irrespective of rtly type
2025-03-07 09:01:19 +01:00
Alex Klimaj
901ef4aef5
rc.sensors: try starting iis2mdc ( #24254 )
2025-03-06 14:13:11 -09:00
Eric Katzfey
139f3792f5
bmp388: Fixed compiler warning (error) for clang
...
voxl2-slpi: Added more barometers to the build
2025-03-06 14:02:15 +01:00
Jacob Dahl
ea8bcd9cef
gz: use server config file for loading world plugins ( #24441 )
...
* gz: use server config file for loading world plugins
* submodule
* use server.config in tree
* newlines
* format
* gzbridge: rename function
* format
* gzbridge: add magnetometer callback
* change gz_find_package to find_package
* fix up directory structure and cmake to allow multiple plugins
* newlines
* add comment block explaining gz_env.sh
* remove dupe readme
* remove SENS_EN_MAGSIM from all gz airframe files except spacecraft
* update gz submodule
2025-03-05 17:37:16 -07:00
Mathieu Bresciani
0ab3e45c13
MC auto: improve behavior of RC help during landing
...
Letting the autopilot set the heading during landing while the pilot is
nudging the vehile leads to a weird UX as the vehicle would make a turn
instead of translating.
With this modification, the initial land heading is immediately overridden when the pilot
begins to adjust the drone's position, providing the sensation of full control.
2025-03-05 16:37:26 +01:00
Niklas Hauser
2aecdfe116
[adc] Refactor ADS1115 driver ( #24428 )
2025-03-05 00:36:39 -09:00
jmackay2
0ee592f67c
cleanup gz_msgs CMakeLists ( #24450 )
...
* cleanup gz_sim CMakeLists
* Check if protobuf is found
* ignore old protobuf float warning
---------
Co-authored-by: jmackay2 <jmackay2@gmail.com >
2025-03-04 18:58:33 -09:00
chfriedrich98
d1e4198864
rover_control: migrate params from .yaml to .c file ( #24445 )
...
* rover_control: migrate params from .yaml to .c file
* Update src/lib/rover_control/rovercontrol_params.c
---------
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-04 17:28:09 +01:00
Silvan Fuhrer
a127a8293a
VehicleStatus.msg: make clear that vehicle_status should refer to current locomotion method
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-04 12:15:01 +00:00
Silvan Fuhrer
d857a278ff
Commander: use is_ground_vehicle() consistently instead of checking vehicle_type
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-04 12:15:01 +00:00
Silvan Fuhrer
7cb6464cfb
VehicleStatus.msg: remove VEHICLE_TYPE_UNKNOWN
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-04 12:15:01 +00:00
Silvan Fuhrer
49a84f38a2
VehicleStatus.msg: remove unused VEHICLE_TYPE_AIRSHIP
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-03-04 12:15:01 +00:00
Alex Klimaj
5c7143a33b
uavcannode rangefinder: add tolerance to reading too close check ( #24415 )
2025-03-04 01:05:54 -09:00
bresch
71d514d359
replay: avoid recursion when adding subscriptions
...
readAndAddSubscription uses nextDataMessage to find the first
corresponding data and nextDataMessage calls readAndAddSubscription
when it finds a new message definition.
2025-03-03 22:32:55 -05:00
Eric Katzfey
38a794260c
voxl2-slpi: Updated ghst_parse call in RC driver to match the new function signature
2025-03-03 22:17:00 -05:00
Beniamino Pozzan
9198125ec5
Remove reboot_required from IMU_GYRO_* parameters ( #24435 )
...
* fix: IMU_GYRO_* parameters do not requires reboot
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
* restore IMU_GYRO_RATEMAX reboot_required to true
---------
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com >
2025-03-03 12:33:02 -09:00
Jacob Dahl
6dc39d9deb
[wip] gz plugins ( #24153 )
...
* added optical flow to gz bridge
* log high rate sensor data
* it builds
* it builds and publishes, need to figure out build system now
* single library
* rename files
* add gz_msg for proto, fix build, test basic flow impl
* update rate, no blur
* PX4-OpticalFlow impl
* rename OpticalFlowSensor
* rename plugins
* disable gps, add plugin path
* cleanup
* fix plugin path export
* properly add OpticalFlowSystem dependency to gz
* move everything under gz_bridge
* cleanup
* add GZ_VEBOSE
* cleanup model/world build target cmake
* added GZ_DISTRO env, harmonic or ionic
* fix gz transport, unstage ark fpv bootloader
* unstage logged_topics.cpp
* cleanup
* make format
* ci fixes
* fix cmake
* remove required for gz-transport
* use model/world namespace for multi vehicle sim. Make format
* make format
* license
* remove needless member var
* made separate Kconfig for gz_msgs, gz_plugins, and gz_bridge
* move OpticalFlow build to it's own cmake
* fix clang
* cleanup comments
* fix rebase
2025-03-03 12:21:28 -09:00
Jacob Dahl
3b2d74b017
gz: Refactor GZBridge and px4-rc.simulator ( #24421 )
...
* disable SENS_EN_GPSSIM for all gz airframes
* add GPS + noise to GZBridge
* remove mutex from gz callbacks. Callbacks run synchronously after sim update step and run() loop does not share resources.
* remove hrt check in callbacks
* format
* remove param set-default for already default params
* update submodule
* remove unnecessary comments
* overhaul of the GZBridge and px4-rc.simulator script
* remove arg
* shellcheck disable
* add bus/address
* start gz_bridge before adjusting sim speed or camera follow
2025-03-03 11:29:21 -09:00
bresch
2d1652f499
Commander: fix parachute trigger
...
Setting "lockdown" disables the actuators. In this mode,
"force_failsafe" has no effect as the actuators are disabled, so the
parachute is not getting released as it requires the output to change to
its failsafe value.
2025-03-03 15:41:39 +01:00
Julian Oes
d4509a6cd4
flashfs32: fix result handling ( #24371 )
...
We need to translate return values here, otherwise this complains being
unsuccessful when it was actually ok.
2025-02-28 16:21:09 -09:00
Sebastian Domoszlai
b5f37c9fa6
Simplify Battery-related Enum Naming ( #24265 )
...
* Simplify battery-related enum naming
* Fix mistakenly removed string in enum names
* Fix missing renamings
* Update outdated file
* msg: Increase battery_status version since the enum naming was changed
* Revert message version increase
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-02-28 11:42:40 -09:00
Niklas Hauser
336d055923
Robustify Ulanding Radar ( #24333 )
...
* [ulanding_radar] Fix comms error perf counter usage
* [ulanding_radar] Workaround for lost messages by lowering sampling rate
The current implementation of the Aerotenna uLanding radar driver assumes that
the UART frames are received in full. If the driver polls with 10ms this is not
always the case and the driver will fail to parse the frame leading to
significant packet loss. This workaround polls at 12ms which ensures that at
least one entire frame is received.
2025-02-28 11:14:32 -09:00
Niklas Hauser
0a9a1a1552
[rcS] Only start CDC/ACM when the module is enabled ( #24430 )
...
Otherwise sercon and mavlink are attempted to be started and may fail,
spamming the console on boot with error messages.
2025-02-28 11:09:45 -09:00
Marco Hauswirth
1f5a9e526c
dont change mode_change-flag if mode was not allowed to change
2025-02-28 14:23:58 +01:00
Silvan
14941bc270
Commander: handle mode change rejection the same for RC and MAVLink
...
Previously, when requesting a mode switch to Position without a valid
position estimate through an RC button, the mode change to Position mode
was not rejected if COM_POSCTL_NAVL was set to 1 and instead the system
switched to Altitude mode.
If the mode request instead came in through MAVLink it was rejected.
This commit aligns the two ways of changing a flight mode.
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-28 14:22:36 +01:00
Tony Cake
ba31054992
Add RSSI in dBm support, plus LQ, to GHST protocol ( #24351 )
2025-02-28 00:53:32 -09:00
Beat Küng
93b8bc1515
commander: add hysteresis for avionics power low/high check
...
We had a setup where the voltage was right at the threshold and the check
toggled continuously.
It still triggers immediately, and then keeps for 15 seconds
2025-02-27 22:24:28 -05:00
Eric Katzfey
5fb810a5ea
voxl_esc: Added Mavlink tunnel UART pass-through mechanism
2025-02-26 18:04:34 -05:00
Eric Katzfey
d4918ea118
mavlink: updated to latest
2025-02-26 18:04:34 -05:00
Jacob Dahl
1ba9eeafd9
ekf2: silence output from symforce module check ( #24384 )
...
Co-authored-by: Alex Klimaj <alex@arkelectron.com >
2025-02-26 11:23:13 -07:00
Jacob Dahl
f23ae924de
cmake: bump min version ( #24386 )
...
* cmake: bump min version to 3.16.3, which is what Ubuntu 20.04 ships with
* reduce to cmake 3.10
---------
Co-authored-by: Alex Klimaj <alex@arkelectron.com >
2025-02-26 11:22:39 -07:00
Andrew Brahim
75c0089c26
Faster than Real -Time support in GZ ( #23783 )
...
* add rtf service to gzbridge
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
* physics before model spawn
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
---------
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-02-26 18:52:07 +01:00
Marco Hauswirth
84134e5123
clean up variable declaration
2025-02-26 13:48:59 +01:00
Matthias Grob
f69361f742
vtol_type: remove unused variable and function for deceleration pitch integral ( #24419 )
...
This functionality was moved to FlightTaskTransition and the variable was forgotten in 079b756f1b
2025-02-26 13:37:21 +01:00
Alexander Lerach
5d2814f6c9
dataman KConfig for persistent storage
2025-02-26 12:48:23 +01:00
Marco Hauswirth
2169ea561b
PR: add optical flow arming check ( #24375 )
...
* add optical flow arming check
* removed deprecated mavlink_log_critical
* change SYS_HAS_NUM_OF description, keep max sensor at 1 since multiple instances are currently not support.
* restructure if/else blocks
2025-02-26 08:41:12 +01:00
Eric Katzfey
0cb7b8b525
voxl2: Changed from old CONFIG_BOARD_ROOTFSDIR to new CONFIG_BOARD_ROOT_PATH in Posix builds ( #24392 )
2025-02-25 21:54:43 -05:00
Ramon Roche
e6b80d8800
readme: minor cleanup
2025-02-25 21:16:54 -05:00
Pernilla
65a80dc8e6
VTOL: Don't overwrite attitude setpoint in Stabilized transition modes ( #24406 )
...
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-02-25 20:06:16 +01:00
chfriedrich98
7c63468e8b
mecanum: refactor code architecture
2025-02-25 17:06:17 +01:00
Jacob Dahl
d602b569b1
msg: fix comments in SensorOpticalFlow and VehicleOpticalFlow ( #24337 )
2025-02-25 14:04:52 +01:00
bresch
c09c63171c
MC auto: fix land nudging
...
Revert removal of isTargetModified as this is required when the target
is changed by "RC help" (nudging) during landing.
2025-02-25 09:11:23 +01:00
Ramon Roche
393d4c13db
ci: disable flash workflow comments ( #24409 )
...
Signed-off-by: Ramon Roche <mrpollo@gmail.com >
2025-02-24 12:02:28 -09:00
Marco Hauswirth
689db41c57
ci: flash test adjust permissions for downstream forks ( #24404 )
...
adds "contents: read" to permissions to enable clones on private forks of PX4 again. (#24404 )
2025-02-24 07:33:54 -08:00
Alexander Lerach
2356cb973f
Performance & testing targets
...
* Added minimal configs for performance testing
* Rename recovery to performance
* added mfg_cfg
* fix params & don't inherit from default
* rename performance -> performance-test
---------
Co-authored-by: Igor-Misic <igy1000mb@gmail.com >
2025-02-24 16:02:46 +01:00
Ted
35d96d57f9
control_allocator: Added linearization feature for 4 servo swash plates to prevent binding ( #23961 )
...
* control_allocator: Added linearization feature for heli swashplates to help prevent servo binding
* Apply suggestions from code review
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
* update description of CA_LIN_SERVO parameter
* update variable name
* add missing semi-colon
* fix variable referenced before assignment
* add missing indentation
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
* removed param unnecessary param
* removed whitespace
* remove CA_LIN_SERVO and enable feature if CA_MAX_SERVO_THROW > 0 plus Update param description.
* remove CA_MAX_SVO_THROW from actuators tab to avoid confusion during standard swashplate setup.
* added comment and fixed spelling mistake
* fix spelling mistake
* fix formatting
* reduce CA_MAX_SVO_THROW short description length to stop test failure
* ActuatorEffectivenessHelicopter: clarfification suggestions for servo linearization feature
* remove NAN check.
---------
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-02-24 12:17:11 +00:00
Jacob Dahl
73b51242c8
nuttx: h7: eth: add checks for PHYID in stm32_phyinit
...
arch: stm32h7: Add support for dual bank flash memory
2025-02-22 08:46:12 -05:00
Jacob Dahl
11704985f3
ci: add write permissions for flash_analysis workflow ( #24393 )
2025-02-21 15:18:56 -08:00
Hamish Willee
4ea7de449a
InternalCombustionEngineControl - doc corrections ( #24359 )
...
* InternalCombustionEngineControl - doc corrections
* Update InternalCombustionEngineControl.cpp
2025-02-21 08:34:08 +11:00
Silvan Fuhrer
24da87db12
FW Position Control: keep flaps in landing config during abort if below AIRSPD_MIN ( #23877 )
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-02-20 09:28:27 +01:00
Silvan Fuhrer
29317d90c3
RPM capture: improve description of param RPM_CAP_ENABLE ( #24368 )
...
* RPM capture: improve description of param RPM_CAP_ENABLE
---------
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2025-02-20 09:19:43 +01:00
GuillaumeLaine
44d5bfc42c
Tools: in px4_msgs copy versioned msgs to common root folder
2025-02-20 07:42:18 +01:00
GuillaumeLaine
86bfac7c8f
fix Jenkins: add copy safeguard and copy to unified folder
2025-02-20 07:42:18 +01:00
Jacob Dahl
1db50cb331
mavlink: add missing fields for DISTANCE_SENSOR
2025-02-19 12:11:42 -05:00
Julian Oes
786c2a7f39
drivers/imu/invensense/mpu6000: include cstdlib for size_t
2025-02-19 12:09:54 -05:00
Jacob Dahl
af311c8d45
gz: update submodule
2025-02-19 12:08:40 -05:00
Eric Katzfey
98ceb0ce79
voxl_esc: Added GPIO control feature
...
voxl_esc: Removed obsolete modal_io_data UORB topic
2025-02-19 11:00:15 -05:00
Eric Katzfey
73dbecadf1
Qurt: changed the mutex for I2C for the Qurt platform from a single mutex to one for each bus. ( #23531 )
2025-02-19 10:59:45 -05:00
chfriedrich98
04a3c4af20
Differential Rover: Refactor and clean up, align with Ackermann rover( #24318 )
...
* differential: refactor code architecture
* Offboard fix
* fix accel/decel slew rate
2025-02-18 18:26:38 +01:00
Silvan Fuhrer
3c129aefa1
Add IC engine control module ( #24055 )
...
Internal combustion engine control module.
New actuator functions and RPM based start/restart logic.
Not enabled by default.
---------
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
Co-authored-by: Pernilla <pernilla@auterion.com >
2025-02-18 17:15:32 +01:00
Perre
412d4390a6
MC Slowmode: Yawstick for gimbal control, vehicle yaw follows gimbal ( #24242 )
...
* Yawsticks on gimbal, vehicle follows gimbal in slowmode, once vehicle has taken off
* Increase queue length to avoid automatically unadvertise queued publications with queue length 1
* Improve readability
---------
Co-authored-by: Pernilla <pernilla@auterion.com >
2025-02-18 14:38:11 +01:00
bresch
5e06ab1430
ekf-agp: do not reset to AGP if GNSS fusion is active
2025-02-18 14:35:10 +01:00
Silvan Fuhrer
3be8b680f6
msg_translation: Add vehicle_status_v1 translation
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan Fuhrer
662c66e546
VehicleStatus: bump VERSION to 1 after removal of avoidance_system_required
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan Fuhrer
3119510f25
Remove health_component::avoidance
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Matthias Grob
ed9111ec49
Remove obstacle avoidance test with Gazebo classic and ROS 1
2025-02-18 14:33:16 +01:00
Matthias Grob
0b370ab5d3
Remove obstacle avoidance MAVLink Heartbeat check
2025-02-18 14:33:16 +01:00
Silvan
04cd247c90
FlightTaskAuto: remove isTargetModified()
...
As it is no longer needed w/o avoidance.
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan
a1ff1d8372
tests: remove test_bezier
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan
b916a96e00
Remove uorb topics exclusively used for avoidance
...
- TrajectoryBezier.msg
- TrajectoryWaypoint.msg
- VehicleTrajectoryBezier.msg
- VehicleTrajectoryWaypoint.msg
Additionally remove TRAJECTORY_REPRESENTATION_WAYPOINTS mavlink stream.
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan
b7b6d45e18
lib: remove bezier
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan
b34a5eb6f7
PositionControllerStatus: remove unused fields
...
Remove yaw_acceptance and altitude_acceptance_radius fields as they were only
filled by now removed avoidance controller.
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Silvan
1f2dba68d2
remove avoidance library and logic
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +01:00
Marco Hauswirth
d2cbe10243
Clean up temperature msg fields ( #24272 )
...
* remove temp field from airspeed.msg, adjust temp selection
* temp-sensor hirarchy: airspeed, ext. baro, default value
* directly use diff-press or baro temp in true-airspeed calc
* improve clarity
* add enum for temperature source in VehicleAirData.msg
2025-02-18 13:23:10 +01:00
Daniel Agar
90b2290700
Tools: docker_run.sh fix entrypoint as user
...
- modern docker can specify the user at runtime (--user)
2025-02-18 00:26:06 -05:00
Daniel Agar
38de04a53a
Tools/setup/ubuntu.sh: add curl for NXP mr-canhubk3 build ( #24346 )
2025-02-17 20:06:24 -08:00
Jacob Dahl
46609d5e6c
voxl: document enable_debug command ( #24353 )
2025-02-17 19:55:24 -08:00
Daniel Agar
e12c3c00a4
control_allocator: param update avoid temporary
...
- this is a harmless workaround for a GCC warning (-Wdangling-pointer) false positive
2025-02-17 14:35:15 -05:00
Ramon Roche
024dd701fb
readme: update maintainers information ( #24305 )
...
* creates new maintainers file per oss best practices
* adds Pedro as Space maintainer
2025-02-17 11:11:37 -08:00
dirksavage88
01549a5832
fix to kconfig newline
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-02-14 15:50:43 -05:00
dirksavage88
5ffa69ff54
fix newline in module.yaml
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2025-02-14 15:50:43 -05:00
Eric Katzfey
b0eb639587
voxl2_io: Updated to latest version from ModalAI fork
...
- Updated to the latest version of the voxl2_io driver from the ModalAI fork.
- Moved to the platform independent Serial driver
- Added voxl2_io driver to the SLPI DSP build
2025-02-14 14:33:38 -05:00
alexklimaj
fd5bb9e69c
uavcannode rangefinder: only publish reading too far or too close if less than or greater than. Not equal to.
2025-02-14 14:26:39 -05:00
Marco Hauswirth
61d595dc64
reset dist_to_ground_lock if dist_to_bottom is not valid. this avoids a reset to a previous dist_to_ground after a switch back to a valid measurement
2025-02-14 17:10:14 +01:00
bresch
fe5c887895
mag check: do not require mag 0
...
sys_has_mag defines the required number of mags; if one mag is needed,
it can be any instance, not necessarily mag 0
2025-02-14 16:12:20 +01:00
bresch
e3fd50667d
Mag cal: automatically disable internal mags if external ones are available
2025-02-14 16:12:20 +01:00
Alexander Lerach
430be08131
Add payload tx/rx timeouts to DDS
...
* Add tx/rx timeouts
* Code style & tx default timeout
* Clarify TX/RX disable value
2025-02-14 14:54:42 +01:00
Alexander Lerach
f2471861a3
Fix GPS RTCM instance selection
2025-02-14 09:39:59 +01:00
Eric Katzfey
eb18edf5eb
Don't allow spacecraft module parameters for VOXL 2 builds ( #24336 )
...
- VOXL 2 builds use DISABLE_PARAMS_MODULE_SCOPING for parameters. The new spacecraft module has duplicate symbols with the control_allocator module and so this kills the VOXL 2 build
2025-02-14 00:49:09 -05:00
Alex Klimaj
a151d85a1c
ARK Cannodes disable mag bias estimator by default ( #24327 )
2025-02-13 14:29:21 -09:00
Beat Küng
96461cdd7d
ci: ignore changes to comments or constants in versioned message check
...
These can be changed without version increment
2025-02-13 13:02:39 +01:00
Jacob Dahl
b77797b490
tools: px_uploader.py: change RuntimeErorr to printf warning for fw_maxsize greater than fw_maxsize ( #24321 )
2025-02-12 15:28:40 -09:00
Ramon Roche
195961ae83
ci: only push dev container on commit to main
2025-02-12 12:02:11 -05:00
Jacob Dahl
8acac41163
ark: pi6x: fix CDCACM_PRODUCTID ( #24320 )
2025-02-12 09:48:04 -07:00
Alex Klimaj
98cba19f50
esc_battery: report temperature
...
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2025-02-11 21:17:53 -05:00
Beat Küng
b96b4fb68d
ci: run ROS humble + jazzy for translation node
2025-02-11 13:19:25 +01:00
Beat Küng
5a2fc5ef79
ci: check if a versioned .msg file is changed, a new version is added as well
2025-02-11 13:19:25 +01:00
Beat Küng
947cc7bcbe
ci: run unit tests for ros translation node
2025-02-11 13:19:25 +01:00
Beat Küng
f6bfa9812e
msg: add message translation node for ROS
2025-02-11 13:19:25 +01:00
Beat Küng
975ec30c9c
uxrce_dds_client: add DDS message versioning
...
This adds "_v" + string(T::MESSAGE_VERSION) to the ROS topic if the message
contains a MESSAGE_VERSION field (and the version is non-zero).
2025-02-11 13:19:25 +01:00
Silvan Fuhrer
136f9f48fc
FW Position controller: transform RWTO_PSP to rad when used ( #24312 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-11 12:12:11 +01:00
RomanBapst
2b75d2e738
run fog check independently from stuck check
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-02-11 09:08:25 +01:00
RomanBapst
8cedef2dc4
further cleanup
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-02-11 09:08:25 +01:00
RomanBapst
2c4d38e303
fixed mistake
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-02-11 09:08:25 +01:00
RomanBapst
806500fc4a
further improve logic
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-02-11 09:08:25 +01:00
RomanBapst
73ade6d05c
range finder: remove potential deadlock
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-02-11 09:08:25 +01:00
RomanBapst
35da86c85a
improve unit tests for range fog detection
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-02-11 09:08:25 +01:00
alexklimaj
8576b49e49
make format: ignore libuavcan
2025-02-10 21:18:15 -05:00
Alexander Lerach
047578a844
Disarm PWM ESCs before reboot
2025-02-10 18:16:48 +01:00
chfriedrich98
55f51d7e7e
ackermann: refactor code architecture
2025-02-10 15:54:24 +01:00
Bertug Dilman
ce64263ce7
publish validated airspeed topic ( #24302 )
...
* publish validated airspeed topic
* fix typo
2025-02-07 14:44:48 +01:00
mahimayoga
69d95a6664
sf45: separate sensor yaw variable into FRD and sensor frames for clarity.
...
Obstacle map is created in sensor frame, but scaling for vehicle orientation is done in vehicle FRD frame.
2025-02-07 13:28:17 +01:00
mahimayoga
093b379b6b
sf45/collision-prevention: replace repeated code with ObstacleMath library functions.
2025-02-07 13:28:17 +01:00
Pedro Roque
e7e76e2e21
Spacecraft build and bare control allocator ( #24221 )
2025-02-06 23:54:24 -05:00
Marco Hauswirth
de1ade8eb8
sensors/vehicle_air_data: only trigger the sensor fallback when the baro_fault flag switches from 0 -> 1
2025-02-06 23:47:32 -05:00
Alexander Lerach
fd175d619c
boards/modalai/voxl2/target: remove trailing spaces, consistent tabs/spaces in files
2025-02-06 23:43:34 -05:00
bresch
8d296a50f9
FlightTask: properly initialize EKF reset counters
...
This fixes a race condition when switching from a flight mode that is
not a flight task (e.g.: stabilized). In this case, the reset counters
were initialized to 0 and deltas were applied to the first setpoints if
the EKF had any of its reset counters different from 0.
2025-02-05 13:21:32 -05:00
Junwoo Hwang
de650cab9e
boards/matek/h743-slim: change parameter path to MicroSD
2025-02-05 13:09:02 -05:00
Daniel Agar
bd2a009217
commander: remove MC nav test
2025-02-05 11:58:04 -05:00
alexklimaj
0faec9b3e7
boards: ARK Flow MR
2025-02-04 22:00:14 -05:00
Hamish Willee
9e5cfa330a
Commander: Quick calibration supports mag too
2025-02-04 21:58:03 -05:00
Peter van der Perk
64d8f9a3c6
cmake: for vscode launch fallback to gdb-multiarch
...
Newer toolchains don't ship with arm-none-eabi-gdb hence we should use gdb-multiarch instead
2025-02-03 23:12:30 -05:00
Jacob Dahl
90a806f5f8
ark: v6x: update net config ( #24281 )
...
* ark: v6x: disable net binary config, update default net config
* added back CONFIG_IPCFG_BINARY=y
---------
Co-authored-by: Alex Klimaj <alex@arkelectron.com >
2025-02-03 10:10:02 -07:00
mahimayoga
48c0992a7d
sf45: refactor how sensor orientation (yaw_cfg) correction is applied to incoming sensor data.
...
yaw_cfg is now read into the obstacle_distance message as the angle_offset. The offset is computed once at init and applied to each measurement.
2025-02-03 17:17:35 +01:00
mahimayoga
31bff3e5bb
sf45: change handle_missed_bins() function logic.
...
To simplify logic for wrap-around cases and cases in which bins outside the FOV may be filled. Bin indices are offset such that the 0th bin is the first bin within the sensor FOV. This way we can always fill bins from smallest to largest index.
2025-02-03 17:17:35 +01:00
mahimayoga
cb332e047d
obstacle-math: add standard obstacle map functions.
...
These functions help simplify repeated calculations accross driver and collision prevention files that are computing bins, angles and sensor offsets in obstacle maps.
2025-02-03 17:17:35 +01:00
Perre
f7dadd9b89
Remove inclusion of rotors in library to enable test ( #24286 )
2025-02-03 15:51:55 +01:00
Julian Oes
a9214b3aa3
gimbal: don't spoof gimbal device ( #24271 )
...
The current approach was wrong because the gimbal protocol now
handles the case properly where the autopilot is in charge of a
non-MAVLink gimbal.
This means that we don't need to send message "as if we were a gimbal
device" and instead set thet gimbal_device_id to 1 (up to 6) to indicate
we are in charge or a non-MAVLink gimbal.
2025-01-31 12:59:41 +13:00
Matthias Grob
4c2e69b2e6
estimatorCheck: only warn about GPS in modes that require a position but fail all modes if GPS required by configuration
2025-01-30 18:45:10 +01:00
Matthias Grob
f142363575
HealthAndArmingChecks: allow to warn in certain modes and fail arming checks in other modes
...
Previously it was only possible to warn in all modes and fail none or fail and warn in certain modes.
2025-01-30 18:45:10 +01:00
bresch
3b828e157a
MC att: clarify prioritization algorithm
...
Especially rename "mix" which is just the delta yaw angle
2025-01-30 11:28:26 +01:00
Sam 3 Firestorm
1eb9d05f69
Gazebo classic: report correct limits for H480 gimbal yaw ( #24269 )
2025-01-29 18:37:00 +01:00
Balduin
96105cacc0
SIH airframes: clean up configs
...
- set SIH_L_ROLL that agrees with CA_* rotor geometry
- remove unnecessary params & comments
- clarify that ailerons are single channel
2025-01-29 16:22:43 +01:00
Silvan
ddf591c4f5
Navigator: use FLT_EPSILON instead of 0.0001f for >0 float comparison
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-01-29 15:42:51 +01:00
Silvan
2f2e56c097
Navigator: replace custom NAV_EPSILON_POSITION with FLT_EPSILON
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-01-29 15:42:51 +01:00
Matthias Grob
7e47605871
batteryCheck: separate event messages for low, critical and emergency battery states
2025-01-29 15:32:47 +01:00
Balduin
41c4933e10
add standard vtol airframe
2025-01-29 11:15:00 +01:00
Bertug Dilman
a0a2bdaea5
commander: COM_MODE_ARM_CHK parameter to allow mode registration while armed ( #24249 )
2025-01-28 14:33:15 +01:00
Silvan Fuhrer
58d3e1ea8e
test: in VTOL integration test use VTOL_LAND ( #24261 )
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-28 11:22:51 +01:00
Marco Hauswirth
4df65c133e
add cs_baro_fault to switch to fallback baro if available ( #24260 )
2025-01-28 10:37:16 +01:00
Peter van der Perk
92b1f51623
tropic: Fix runtime error on new GCC
2025-01-27 14:20:16 -05:00
Peter van der Perk
dc3f6a1608
fmu-v6xrt: Fix runtime error on new GCC
...
New GCC versions inline builtin function like memcpy. On the fmu-v6xrt we can't call the functions inside imxrt_ocram_initialize because the ram function still needs to be initialized.
This commit add a compile hint to not use builtins inside the imxrt_ocram_initialize function
2025-01-27 14:20:16 -05:00
Balduin
5bca71791a
SIH: clean up control surface configuration ( #24205 )
...
* fix sign error in appropriate place
In PR https://github.com/PX4/PX4-Autopilot/pull/24175 I changed the
control surface deflection signs in generate_fw_aerodynamics to make the
1103 airframe work correctly. However, this breaks the 1101 airframe,
introducing sing errors there.
So, here the change in generate_fw_aerodynamics is reverted to the state
before PR #24175 . Instead, the signs are set correctly by using
the HIL_ACT_REV bitfield in the respective airframe config files.
* match control surface parameters to SIH model
2025-01-27 16:52:29 +01:00
Matthias Grob
165f644580
control_allocator: fix typo and use [0,1] instead of [0%, 100%] in slew rate description
...
Co-authored-by: Hamish Willee <hamishwillee@gmail.com >
2025-01-27 08:43:11 +01:00
Matthias Grob
c1cab2d4e0
control_allocator: add unit for slew rate and reword description
2025-01-27 08:43:11 +01:00
bresch
c76e74338b
ekf-replay: fix airspeed replay
...
If available, the EKF uses airspeed_validated, not airspeed
2025-01-26 23:05:39 -05:00
alexklimaj
c3ba39f931
dshot: remove dshot 1200
2025-01-23 23:50:50 -05:00
cuav-liu1
1aab194f9e
boards: fix 7-nano pwm voltage control pin not initialized
2025-01-23 15:58:49 -05:00
Silvan Fuhrer
d0042aa275
FW defaults: remove EKF2_GPS_CHECK custom FW setting
...
We want to align the default over all vehicle types for
this param. There are still some thresholds that are
increased for FW.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-23 15:56:52 -05:00
Alex Klimaj
07e7c64e60
drivers/power_monitor/ina238: retry if read fails
...
* ina238: retry if read fails
* ina238: increase retries and only publish not connected if register check fails
* ina238: use I2C resets
2025-01-22 15:32:26 -05:00
Daniel Agar
6322ebc3db
rcS: shift sensors + EKF startup earlier
...
- we want the drivers, sensors hub, and estimator running as soon as possible to initialize and avoid commander false positives complaining about missing data
2025-01-22 15:27:56 -05:00
PX4 BuildBot
752b25235c
boards: update all NuttX defconfigs
2025-01-22 14:46:36 -05:00
PX4 BuildBot
1aa83d954b
update all px4board kconfig
2025-01-22 14:46:24 -05:00
Julian Oes
e3b98e6ed2
Tools: remove unused/wrong define and fix comment
2025-01-22 11:26:10 -05:00
Roman Bapst
045c8d9831
Mission feasibility checks: make adding new check less error prone ( #24241 )
...
* make adding new feasibility checks less prone to errors
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* Update src/modules/navigator/MissionFeasibility/FeasibilityChecker.hpp
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
---------
Signed-off-by: RomanBapst <bapstroman@gmail.com >
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-22 16:56:31 +01:00
RomanBapst
57fdda597b
vtol_takeoff: store altitude on takeoff and don't use home position altitude
...
as vehicle does not need to be close to home position
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-01-22 14:03:18 +03:00
PavloZMN
ee150a15b4
Optical Flow: add unit testes for only using downward distance sensor ( #23266 )
...
* Test for Optical Flow checks correct camera position
* Formatting fixed
* Update src/modules/sensors/vehicle_optical_flow/test/CMakeLists.txt
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
* Update src/modules/sensors/vehicle_optical_flow/test/VehicleOpticalFlowTest.cpp
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
* Update src/modules/sensors/vehicle_optical_flow/test/VehicleOpticalFlowTest.cpp
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
* For test GIVEN/WHEN/THEN added
---------
Co-authored-by: Mathieu Bresciani <brescianimathieu@gmail.com >
Co-authored-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-22 11:58:07 +01:00
bresch
caaae6ed51
ekf2: allow sideslip fusion to always start with airspeed fusion
...
This allow sideslip fusion to start during VTOL front transition or even
on a multirotor with a vertical stabilizer and an airspeed sensor for example.
2025-01-22 09:33:16 +01:00
Jacob Dahl
1900d2c98f
uavcan: fix hw_errors from mutex lock, hide ESC/Servo status if no function set ( #23888 )
2025-01-22 12:48:05 +13:00
Jacob Dahl
a3215419d7
gz: remove model spawn offset ( #24165 )
2025-01-22 12:47:25 +13:00
Jacob Dahl
918eca8de4
gz: increase timeout for service request ( #24164 )
...
* gz: increase timeout for service request
* change error messages to warnings, specify retrying
* fix typo
2025-01-21 22:14:38 +01:00
Alex Klimaj
8d1bfb77c6
boards: ark fpv add gimbal module ( #24229 )
2025-01-21 08:59:37 -09:00
RomanBapst
f36b45b2ff
VehicleOpticalFlow: use 32bit integer for dt
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-01-21 16:48:33 +03:00
RomanBapst
c7e494b8d9
VehicleImu: use 32 bit integer for dt
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-01-21 16:48:33 +03:00
RomanBapst
25e76883b7
Integrator: use 32bit integer to store dt to avoid overflow
...
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-01-21 16:48:33 +03:00
Matthias Grob
af062c85eb
Revert "FLightTaskAuto: limit nudging speed based on distance sensor"
...
This reverts commit 97cb933cff .
2025-01-21 09:59:47 +01:00
Marco Hauswirth
7a9608e54b
increase EKF2_RNG_FOG for FW and VTOL
2025-01-20 14:43:30 -05:00
Marco Hauswirth
4a5aa1e947
Fix max-hagl restriction to position/altitude control ( #23667 )
...
* fix max-hagl restriction to position/altitude control
* max hagl vel restriction in ManAcc position mode
* use interpolate func, change naming
* simplyfied vertical vel limitation
* move velocity-constraint adjustment to StickAccelXY
2025-01-20 15:50:21 +01:00
Mathieu Bresciani
0d22905558
VTOL params: fix param name
2025-01-20 15:50:06 +01:00
Pedro Roque
b09340cc98
Control Allocator: Add option for metric allocation (skip normalization) ( #24199 )
...
* add: metric allocation
* add: actual files
* rft: moved metric allocation to pseudo-inverse via flag with public method
* del: removed metric allocation test and added test in pseudo-inverse testing
* rft: deleted extra newline at the end of pseudo inverse test file
* feat: removed unnecessary log include
2025-01-20 13:30:51 +01:00
mahimayoga
65a8cc0e0a
sf45: scale measured distance with pitch and roll.
...
Calls function from ObstacleMath library that accounts for the vehicle's attitude w.r.t the obstacle. Obstacles are assumed to be flat, vertical walls.
2025-01-20 11:11:29 +01:00
mahimayoga
ab46502cbd
obstacle-math: add unit tests for project_distance_on_horizontal_plane function.
2025-01-20 11:11:29 +01:00
mahimayoga
29f981f14c
collision-prevention: extract rotation scaling function into new ObstacleMath library.
...
New library created for static and/or repeated code across collision prevention and driver files.
2025-01-20 11:11:29 +01:00
Daniel Agar
b1ca0495e2
ekf2: yaw estimator additional validity checks
2025-01-20 09:45:41 +01:00
Balduin
1eb9434b8c
stream ATTITUDE_QUATERNION in low bandwidth mode
2025-01-17 11:20:12 +01:00
Matthias Grob
f693fab7c8
rc_update params: remove comment about default static mixing
...
Was added back in 2014:
7441efde47
2025-01-17 08:18:42 +01:00
alexklimaj
33841cf438
Update GPS submodule
2025-01-15 11:54:04 -05:00
bresch
c99cb6e94b
ekf2: do not auto-generate sideslip measurement jacobian
...
This is to trade a bit of CPU load for more flash space.
2025-01-15 11:05:50 -05:00
Matthias Grob
e01fef755a
Control allocation: make heli rpm control an optional build flag disabled by default
...
to save flash.
The rpm capture dirver is also disabled on default releases
2025-01-15 14:35:35 +01:00
Mathieu Bresciani
8ecb76aba2
[Multirotor] add yaw torque low pass filter ( #24173 )
...
co-authored-by: danielmellinger <107884356+danielmellinger@users.noreply.github.com >
co-authored-by: Eric Katzfey <eric.katzfey@modalai.com >
2025-01-15 14:02:28 +01:00
Jaeyoung Lim
974446c0e8
Make control allocation and actuator effectiveness a non-module-specific library ( #24196 )
...
* Remove more circular dependencies with ActuatorEffectiveness
* Separate vehicle specific actuator effectiveness
Keep actuator effectivenss in control allocator
* Remove test dependency for now
* Group library directories
Fix
* Change directory names
* Rebase fix
2025-01-15 10:12:29 +01:00
Minderring
3064a4ad4c
boards configs: add airspeed driver for micoair743 aio and v2
2025-01-14 21:45:49 -05:00
PX4 BuildBot
9f8325e8e0
Update submodule mavlink to latest Wed Jan 15 00:39:11 UTC 2025
...
- mavlink in PX4/Firmware (fd5b52d4c53f35a520646a6c4ec75588f6b87e0f): https://github.com/mavlink/mavlink/commit/5e3a42b8f3f53038f2779f9f69bd64767b913bb8
- mavlink current upstream: https://github.com/mavlink/mavlink/commit/619947d8bc29e80eecff18b0f4fecc42d9e171dd
- Changes: https://github.com/mavlink/mavlink/compare/5e3a42b8f3f53038f2779f9f69bd64767b913bb8...619947d8bc29e80eecff18b0f4fecc42d9e171dd
619947d8 2024-12-19 Hamish Willee - common.xml - PING fix (#2197 )
2f44ceff 2024-12-18 Julian Oes - common: use camera ID for CAMERA_IMAGE_CAPTURED (#2196 )
2025-01-14 21:45:04 -05:00
bresch
12a9087e92
ekf2: constrain max variance by zero innovation update
...
Clipping the variance of the covariance matrix has a destabilizing
effect as it increases the correlation between the states.
2025-01-14 21:42:33 -05:00
Ramon Roche
0723f75993
ci: move to px4 git tag versions
2025-01-14 13:10:56 -05:00
Matthias Grob
bc92008885
RpmControl: Better consider the case where there's no rpm measurement (anymore)
2025-01-14 14:55:34 +01:00
Matthias Grob
b584f8381c
Helicopter defaults: don't auto disarm so quickly after spoolup
2025-01-14 14:55:34 +01:00
Matthias Grob
5e2848312d
Commander: start timer for auto disarm after spoolup
2025-01-14 14:55:34 +01:00
Matthias Grob
2506bd3b5d
RpmControl: simplify the entire control logic
2025-01-14 14:55:34 +01:00
Matthias Grob
1c4325db6d
RpmControl: split into cpp source file fixing includes
2025-01-14 14:55:34 +01:00
Matthias Grob
2772ae7e0e
RpmControl: maximum rpm outliers are now caught by RpmCapture
2025-01-14 14:55:34 +01:00
Matthias Grob
ddd410e9d8
RpmControl: remove status message because it by now only contains redundant information
2025-01-14 14:55:34 +01:00
Matthias Grob
4050cedfaf
RpmControl: call local message instance after message name following the convention
2025-01-14 14:55:34 +01:00
Matthias Grob
cd0e04f8b0
RpmControl: name current timestamp now following the convention
2025-01-14 14:55:34 +01:00
oravla5
ee67e4bb28
RpmControl: class clean up
2025-01-14 14:55:34 +01:00
Matthias Grob
940fe45ba7
ControlAllocator: introduce helicopter rotor rpm controller
2025-01-14 14:55:34 +01:00
Matthias Grob
50092a7f67
NuttX: update submodule to branch px4_firmware_nuttx-10.3.0+ with "FlexSPI allow RWW" merged
2025-01-14 10:32:00 +01:00
alexklimaj
e89a79b382
boards: disable multi ekf on all ark flight controllers
2025-01-14 02:29:07 -05:00
Silvan Fuhrer
a16f7859ac
boards: disable CONFIG_EKF2_AUX_GLOBAL_POSITION on some boards
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-14 02:19:49 -05:00
Silvan Fuhrer
e4e975806f
Enable CONFIG_EKF2_AUX_GLOBAL_POSITION by default
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-14 02:19:49 -05:00
Jacob Dahl
0fb8463b79
logger: always log can_interface_status ( #24071 )
...
* logger: always log can_interface_status
* logger: log topic can_interface_status using CONFIG_BOARD_UAVCAN_INTERFACES
2025-01-13 10:15:40 -07:00
mahimayoga
879e0ea9b1
MC-hte: use allocated thrust as input for hover thrust estimator.
...
Improves estimates on vehicles where thrust is often saturating.
2025-01-13 11:56:09 +01:00
mahimayoga
28fa044386
MC-stabilized: rescale thrust input to hover thrust at zero stick input
...
Use hover thrust estimate in stabilized mode to rescale stick inputs. Prevents vehicle from losing/gaining altitude when switching from position to stabilized mode.
2025-01-13 11:56:09 +01:00
Jaeyoung-Lim
f5c05f6d01
Take 2: Cleanup circular dependencies ActuatorEffectiveness
2025-01-13 09:29:42 +01:00
Jaeyoung Lim
208d37e703
Remove circular dependency if control allocation ( #24195 )
...
... and actuator effectiveness
2025-01-10 16:58:15 +01:00
Balduin
a231fafafa
SIH: Add Standard VTOL Airframe ( #24175 )
...
* add standard vtol airframe to SIH.
mostly took changes from 4d930bde and applied to main.
generate_fw_aerodynamics now takes four arguments rather than using the
_u class member, because depending on vehicle type _u is used
differently.
2025-01-09 15:40:06 +01:00
Silvan Fuhrer
44b423f48d
drivers: ulanding: description: fix link to user guide section ( #24189 )
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-01-09 08:54:58 +01:00
Jari Nippula
cbbbbc9dfa
logger: fix file open issue if crypto algorithm is disabled
...
move init_logfile_encryption() call after the buffer start_log() call
to have log file already open while storing the header and key data to
the beginning of the file.
2025-01-09 07:45:09 +01:00
bresch
ab70ae3252
ekf2: fix GNSS drift false alarm
...
In SIH, the GNSS signal is zero-mean, but apparently not symmetric. The
issue is that saturating such a signal creates an artificial bias. This
made the check fail as the bias was above the threshold.
2025-01-08 21:40:25 -05:00
Peter van der Perk
e9536cb30b
Tropic-community use flash as storage using LittleFS ( #24158 )
...
* Update NuttX
2025-01-08 21:35:08 -05:00
Matthias Grob
b042f2101f
system_params: clarify SYS_HAS_MAG description
...
after answering the questions:
Ah the value can be 2? Should I set the number of magnetometers the board has or include the external ones?
2025-01-08 21:24:00 -05:00
mahimayoga
c3e370b946
MC land detector: fix parameter description for LNDMC_ROT_MAX
2025-01-08 18:03:35 +01:00
mahimayoga
b4273bde25
FW land detector: Introduce max rotational speed condition (new param: LNDFW_ROT_MAX).
...
Checks that the filtered norm of the angular velocity is below LNDFW_ROT_MAX.
2025-01-08 18:03:35 +01:00
mahimayoga
18b4b18a75
FW land detector: do not check for groundspeed if invalid.
...
In case the local position speed estimate is not valid, it is assumed to be 0m/s and
thus check always passes.
2025-01-08 18:03:35 +01:00
alexklimaj
2625c5211b
dronecan: don't init if can interface fails to init
2025-01-08 11:12:57 -05:00
Silvan Fuhrer
585e5d1482
MissionBase: remove unused param
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-08 09:31:55 +01:00
Silvan Fuhrer
d98a706380
RTL fast reverse: enable precision landing
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-08 09:31:55 +01:00
Silvan Fuhrer
368bbfeb3b
RTL params: make clear that RTL_PLD_MD does not apply for mission RTL destinations
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-08 09:31:55 +01:00
Silvan Fuhrer
e29c86c81f
rtl_direct: don't check RTL_PLD_MD param twice but use _mission_item.land_precision
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-08 09:31:55 +01:00
Silvan Fuhrer
0ecc8278b6
Navigator: RTL_direct: onyl start precision land if param is set to enable
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-08 09:31:55 +01:00
RomanBapst
1abc27dd1f
remove fixed-wing condition from airspeed fusion condition
...
- enables airspeed fusion to begin during transition already
- airspeed fusion is started based on airspeed being above defined threshold
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2025-01-07 16:19:33 +01:00
bresch
b1773df441
ekf2: fix comments about primary height sources
...
Having the xxx_hgt flag set only means that the sensor is fused for
altitude/height aiding. It's not necessarily the height reference.
2025-01-07 10:23:13 +01:00
ZeroOne-Aero
374e70c48f
ZeroOne X6: add IST8310 support
2025-01-07 09:14:31 +01:00
Silvan
8070a9b362
Commander: remove not used include of blocks.hpp
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-01-06 09:24:29 +01:00
Alex Klimaj
821558f9e3
boards: ark flow set SENS_FLOW_RATE default to 150 ( #24170 )
2025-01-03 11:45:33 -09:00
Alex Klimaj
1043aebf5d
analog_battery: add option for filter ( #23987 )
2025-01-03 16:01:16 +01:00
bresch
f1a339e7c6
fw-att: avoid multiple conversions
2025-01-03 15:07:52 +01:00
bresch
9bf5257e0e
fw-att: fix wheel controller
2025-01-03 15:07:52 +01:00
Silvan Fuhrer
326d486397
SITL: remove setting CBRK_SUPPLY_CHK by default
...
This allows us to run battery failsafe tests again in SITL
wihtout having to change params first.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-03 14:07:15 +01:00
Silvan Fuhrer
e2ea48bb79
Simulation: add SystemPowerSimulator to publish SystemPower.msg in sim
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-03 14:07:15 +01:00
Silvan Fuhrer
eac12ee9ce
BatterySimulation: remove unused _battery_pub
...
The simulated battery is published by the regular battery class.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2025-01-03 14:07:15 +01:00
Nicolas MARTIN
4fe6d69966
local position acceleration: use mean value between two publications ( #24105 )
...
To avoid aliasing on the ned acceleration, add an accumulation of acceleration to improve the downsampling
2025-01-03 12:43:39 +01:00
bresch
c1589ddb18
ekf2-rng: do not continuously reset terrain in rng height ref
...
When the height reference datum is ground level (range finder height
ref), the terrain state is not updated through fusion and should stay at
a constant altitude.
2025-01-03 12:25:16 +01:00
Jacob Dahl
0b1838f233
test: add test for range finder fusion while on ground
2025-01-03 12:25:16 +01:00
Daniel Agar
81552fc036
uavcan: relax UAVCAN_RNG_MIN/UAVCAN_RNG_MAX defaults ( #24140 )
...
- this is optional sensor metadata that can be set if actually needed
2024-12-26 19:10:31 -07:00
Jacob Dahl
fb2bdc0ecc
boards: ark_fpv: add msp osd
2024-12-23 21:57:59 -05:00
Alex Klimaj
291300e167
ARK TESEO Bootloader Placeholder
2024-12-23 21:57:24 -05:00
Minderring
8d4663ed5a
boards: add micoair743-v2 config files to PX4-Autopilot
2024-12-23 21:56:54 -05:00
Minderring
0b27200629
boards: fix some configs for micoair743 and aio
2024-12-23 21:55:52 -05:00
Matthias Grob
2968af7b63
Carzyflie: don't compile Navigator ADSB handling
...
I forgot to stage that change in the original change:
839010eeab
2024-12-23 21:55:08 -05:00
Mahima Yoga
defccfa99b
Collision Prevention: Scale obstacle distance with vehicle attitude for varying sensor orientations ( #24107 )
2024-12-20 14:47:22 +01:00
Roman Bapst
b765769f50
Navigator: Set altitude acceptance radius to infinity when moving to land point after transition ( #24115 )
...
* Navigator: set alt acceptance radius to infinity
for land waypoint after backtransition -> avoid
vehicle with depleted battery from not reaching the alt
setpoint and getting stuck
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2024-12-20 09:21:32 +01:00
Matthias Grob
61961350f9
mavlink_receiver: don't publish out of range joystick input
...
Note that the MAVLink definition explicitly writes
"A value of INT16_MAX indicates that this axis is invalid."
which before this change was happily executed.
2024-12-19 17:59:41 +01:00
Matthias Grob
5cf85e320a
offboardCheck: acceleration setpoints only require vehicle attitude control
2024-12-19 17:58:38 +01:00
Matthias Grob
ad799b64b7
mc_pos_control: shorten parameter descriptions to a readable size
2024-12-19 16:12:43 +01:00
Matthias Grob
1239f0aaed
FlightTaskTransition: Comment why using invalid horizontal velocity works
2024-12-19 16:00:21 +01:00
Matthias Grob
34bcc277a5
FlightTaskTransition: keep high decelration when overshooting the transition target
2024-12-19 16:00:21 +01:00
Matthias Grob
11d7dd41fd
FlightTaskTransition: clean up and simplify
2024-12-19 16:00:21 +01:00
Matthias Grob
839010eeab
Navigator: make ADSB handling optional
2024-12-19 15:30:34 +01:00
Silvan Fuhrer
367a8a7fc4
update gz submodule to get new tiltrotor sim
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-19 09:57:55 +01:00
Pernilla
1f48448beb
Update other airframes with min max values different than default
2024-12-19 09:57:55 +01:00
Pernilla
be42c7c88a
Adding min-max angles to use for normalized servo outputs
2024-12-19 09:57:55 +01:00
Pernilla
f1855de006
Adding tiltrotor model
2024-12-19 09:57:55 +01:00
Matthias Grob
c69f96ec04
ADSB: replace last excess hrt_absolute_time() in the loop
2024-12-19 09:35:38 +01:00
Silvan Fuhrer
30e51cb80e
ADSB: improve readability of unit tests
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-19 09:35:38 +01:00
Silvan Fuhrer
1a1fd59302
ADSB: pass now timestamp as arguemnt of send_traffic_warning()
...
Saves some flash and CPU by not having to call hrt_absolute_time().
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-19 09:35:38 +01:00
Silvan Fuhrer
741e3e8589
ADSB: pass now timestamp as arguemnt of get_traffic_state()
...
That enables us to time the unit tests better plus saves some flash and CPU.
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-19 09:35:38 +01:00
Marco Hauswirth
bdc6957c11
dont use BROACAST_MODE_ON during unit testing
2024-12-19 07:44:45 +01:00
Matthias Grob
077ade4f8f
Add IO timer channel mode for RPM and also sync up rpi configuration to work with all these drivers
2024-12-19 07:30:25 +01:00
Matthias Grob
b85ad98a98
Use defines instead of hardcoded magic values for maximum number of output channels and rpm filter time constant
2024-12-19 07:30:25 +01:00
Matthias Grob
8ce6ad6662
camera_capture: refactor to simplify capture channel initialization
2024-12-19 07:30:25 +01:00
Matthias Grob
267fa06da8
RPMCapture: fix copyright year, improve comments
2024-12-19 07:30:25 +01:00
Matthias Grob
f4c8e0e35f
RPMCapture: fix dt should not have a minimum which would limit to 6000rpm
2024-12-19 07:30:25 +01:00
Matthias Grob
b7b384ab2e
RPMCapture: add back filter reset on timeout
2024-12-19 07:30:25 +01:00
Matthias Grob
d027f8bf39
RPMCapture: publish outliers in rpm message but don't update the filters and estimate
2024-12-19 07:30:25 +01:00
Matthias Grob
9ca06be4f5
RPMCapture: refactor to clarify scheduling
2024-12-19 07:30:25 +01:00
Matthias Grob
c406e0a3a2
RPMCapture: refactor to clarify when an interrupt happened
2024-12-19 07:30:25 +01:00
Matthias Grob
ec4ed75264
RPMCapture: define period as UINT32_MAX when timed out
2024-12-19 07:30:25 +01:00
Matthias Grob
825dc47fad
RPMCapture: fix pulses per revolution parameter name, description, type -> use module params
2024-12-19 07:30:25 +01:00
oravla5
d31271c38e
RPMCapture: added pulse per rev parameter. Do not publish if pulses are to fast
2024-12-19 07:30:25 +01:00
bresch
1b105c937d
RpmControl: remove raw RPM spikes using median filter
2024-12-19 07:30:25 +01:00
Silvan Fuhrer
f687e3d8a4
RPM capture: publish every 1s without new data
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-19 07:30:25 +01:00
Matthias Grob
6241db74db
mavlink: stream RAW_RPM message for ONBOAR_LOW_BANDWIDTH
2024-12-19 07:30:25 +01:00
Matthias Grob
8486f74b2a
RPMCapture: much better timeout scheduling
...
Not timing out based on a random interval but based
on the time after the last inerrupt.
2024-12-19 07:30:25 +01:00
Matthias Grob
c463cc42d0
RPM: clean up message
2024-12-19 07:30:25 +01:00
Matthias Grob
a60591378c
RPMCapture: switch to PublicationMulti to be compatible with the existing rpm drivers
2024-12-19 07:30:25 +01:00
Matthias Grob
41b55724bc
RPMCapture: Detect rpm sensing timeout
2024-12-19 07:30:25 +01:00
Matthias Grob
1bcdb3ef8c
RPMCapture: add hardcoded rpm processing
...
Such that we can continue development on this part.
The implementation was already used before porting things into the RPM capture module.
2024-12-19 07:30:25 +01:00
Beat Küng
491ee01ac4
rpm_capture: add rpm capture driver, publising pwm_input (for now)
2024-12-19 07:30:25 +01:00
Matthias Grob
ef823e5bb1
gz submodule: switch to hash on submodule main branch
...
after https://github.com/PX4/PX4-gazebo-models/pull/71 was merged
2024-12-18 18:06:37 +01:00
Perre
8a9391321d
Adding gimbal rate in gz simulation ( #24125 )
...
* Adding gimbal rate in gz simulation
* add submodule
2024-12-18 16:25:12 +01:00
bresch
6b10f1ca12
ekf: update change indicator
...
The calculation of "alpha" in the accel_horiz and height_rate lowpass
filters is slightly different than before.
2024-12-18 14:11:08 +01:00
bresch
480c232bfd
ekf2: use alpha filter class
2024-12-18 14:11:08 +01:00
bresch
fa5a781e20
AlphaFilter: set time constant instead of alpha
...
Then the update function can set the dt at every iteration if needed
2024-12-18 14:11:08 +01:00
bresch
37401d6fd1
AlphaFilter: allow setting dt in update call
2024-12-18 14:11:08 +01:00
Stefano Colli
0561f6c9fc
GZ: add gimbal simulation ( #23382 )
2024-12-18 12:15:03 +01:00
bresch
4a73195007
yaw_est: store attitude as quaternion instead of DCM
...
This saves flash and makes code simpler
2024-12-18 09:33:11 +01:00
Julian Oes
98fde4cbac
gimbal: correctly set gimbal_device_id
...
When we use a gimbal connected via "RC", so PWM via the Aux channels, we
need to set the gimbal_device_id to 1 as per the protocol.
This was missing for GIMBAL_DEVICE_ATTITUDE_STATUS, so I added that, and
fixed the name of that variable while at it.
2024-12-18 07:51:40 +01:00
Beat Küng
9e9d352eb2
mavlink: update submodule
...
MAV_STANDARD_MODE_SAFE_RECOVERY and MAV_STANDARD_MODE_RETURN_HOME got
merged.
2024-12-18 07:12:36 +01:00
Beat Küng
aca5a70964
standard_modes: add vehicle-type specific standard modes
...
See https://mavlink.io/en/messages/development.html#MAV_STANDARD_MODE .
The only standard mode that is not set is MAV_STANDARD_MODE_SAFE_RECOVERY,
as PX4 uses RTL for that (with configuration parameters).
2024-12-18 07:12:36 +01:00
Ramon Roche
90b968ba4e
container: remove pr container push to registry
2024-12-17 22:33:05 -05:00
bresch
6969e5b6b4
ekf2: do not pre-compute airspeed Kalman gain
...
The generated code is not much faster than the simple matrix-vector
multiplication
2024-12-17 22:32:16 -05:00
Andrew Brahim
e7145e7b44
uxrce_dds_client: include distance sensor in dds_topics.yaml
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com >
2024-12-17 22:28:40 -05:00
Daniel Agar
8a18e5b00c
commander: accelerometer calibration respect rotation
...
- accel cal use Accelerometer calibration class to fully respect
rotation (both internal and external sensors)
2024-12-17 22:26:01 -05:00
Jaeyoung Lim
fd87cd682d
Dynamically update ff gain for fw rate control ( #24120 )
2024-12-17 17:57:18 +01:00
Roman Bapst
93c25efb62
Fixed-wing Position Control: Split up control methods for VTOL backtransition ( #23893 )
...
* split methods to control backtransition depening on availablity of position
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* fixed sign error and replace hardcoded number with constant
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* make changes such that controller holds initial heading during transition
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* use reference instead of copy
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* added comment
Signed-off-by: RomanBapst <bapstroman@gmail.com >
* flash reduction
Signed-off-by: RomanBapst <bapstroman@gmail.com >
---------
Signed-off-by: RomanBapst <bapstroman@gmail.com >
2024-12-16 16:16:25 +03:00
Claudio Chies
051ced0fee
SENS: RNG: SF45: Added timeout to sensor measurements, to compensate the lower loop time of CollisionPrevention
2024-12-16 10:49:13 +01:00
Alexander Lerach
f34b22907c
SENS: RNG: SF45:Fix startup problems, increase frequency, robust parser, use nonblocking reads
2024-12-16 10:49:13 +01:00
Alexander Lerach
88d771e3e5
SENS: RNG: SF45: Fixed sf45 parser, added general checks to avoid potential out-of-bound access
2024-12-16 10:49:13 +01:00
Claudio Chies
1718b37fe4
SENS: RNG: SF45 changed data processing and publication design, moved to a publishing per sector design.
...
other minor improvements
2024-12-16 10:49:13 +01:00
PX4 BuildBot
a751e900f5
Update submodule mavlink to latest Sat Dec 14 00:39:04 UTC 2024
...
- mavlink in PX4/Firmware (661ae0c0e3ac493ceddd13120e8ccb5bac47d887): https://github.com/mavlink/mavlink/commit/0e420102dbdd7e9f59617dd00c05a2470f22eef2
- mavlink current upstream: https://github.com/mavlink/mavlink/commit/5e3a42b8f3f53038f2779f9f69bd64767b913bb8
- Changes: https://github.com/mavlink/mavlink/compare/0e420102dbdd7e9f59617dd00c05a2470f22eef2...5e3a42b8f3f53038f2779f9f69bd64767b913bb8
5e3a42b8 2024-12-12 Hamish Willee - development: Remove parameter transaction proposal (#2169 )
25f4e9f0 2024-12-11 Hamish Willee - STANDARD_MODE_SAFE_RECOVERY + RTL merge (#2191 )
d5a8cb43 2024-12-11 Hamish Willee - Docs generate fix (#2194 )
35f70c4a 2024-12-05 Hamish Willee - Create index.md, dialects.md and make notes/warning work with vitepress (#2193 )
57c02856 2024-12-05 Hamish Willee - CAMERA_THERMAL_RANGE - no longer WIP (#2189 )
1ee2ebe1 2024-12-04 Hamish Willee - fetch_dialect_ardupilotmega.yml: Not fail if nothing to commit (#2181 )
1aa8c2d0 2024-12-04 Hamish Willee - ardupilotmega - remove_mav_cmd_external_estimate (#2187 )
49fa509a 2024-11-30 github-actions[bot] - ardupilotmega dialects from ArduPilot/mavlink: Fri Nov 29 23:49:36 UTC 2024 (#2185 )
75ebfc8f 2024-11-30 Hamish Willee - Update fetch_dialect_ardupilotmega.yml - fix copy error (#2184 )
8e97709d 2024-11-30 Hamish Willee - fetch_dialect_ardupilotmega.yml - add loweheiser (#2183 )
82b81aa8 2024-11-27 github-actions[bot] - ardupilotmega.xml from ArduPilot/mavlink: Wed Nov 27 04:13:16 UTC 2024 (#2178 )
5c421a33 2024-11-27 Hamish Willee - Speed uncertainty units /s (#2180 )
33f8a327 2024-11-24 David Sastre - Some modifications to multi-GCS protocol (#2179 )
9938f940 2024-11-21 Hamish Willee - fetch_dialect_ardupilotmega - create (#2177 )
a55d0ec5 2024-11-21 Hamish Willee - MAV_CMD_GROUP_START and _GROUP_END delete wip (#2176 )
1cf3c721 2024-11-21 Hamish Willee - dev: move FUEL_STATUS to common (#2170 )
7ecb8e33 2024-11-21 Hamish Willee - WIFI_NETWORK_SECURITY - wip removal (#2164 )
2024-12-13 20:57:48 -05:00
Silvan Fuhrer
4db55cd25f
mixer: FunctionMotors: compare against FLT_EPSILON instead of 0.f
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-13 17:56:46 +01:00
Silvan Fuhrer
d7904b5f2c
mixer: FunctionMotors: leave NAN control values at NAN with non-zero THR_MDL_FAC
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-13 17:56:46 +01:00
bresch
3941b19968
ekf2_replay: log groundtruth messages
2024-12-13 17:40:08 +01:00
bresch
3165a77e26
SIH-AGP: add sensor failure simulation
2024-12-13 17:40:08 +01:00
bresch
2a08d4bdb8
add SensorAgpSim to generate Aux Global Position data
2024-12-13 17:40:08 +01:00
GuillaumeLaine
2e166379c7
docs: split msgs as un/versioned
2024-12-13 16:34:37 +01:00
GuillaumeLaine
4d62522942
uxrce_dds_client: remove unused msgdir arg from script
2024-12-13 16:34:37 +01:00
GuillaumeLaine
58e5b75d06
jenkins: update after msg/ restructure
2024-12-13 16:34:37 +01:00
GuillaumeLaine
2d667238f7
tools: update scripts after msg/ restructure
2024-12-13 16:34:37 +01:00
GuillaumeLaine
4fe7d713d3
msg: introduce message versioning
2024-12-13 16:34:37 +01:00
bresch
f9140fcd50
ekf2: set baro bias when GNSS is alt ref
...
Do this even when GNSS altitude fusion is disabled.
2024-12-13 14:55:46 +01:00
bresch
fad9ae855d
EKF2: reset aid src when resetting state to measurement
...
Filtered innovations and test ratios can be large before the reset and
would trigger pre-flight warnings
2024-12-13 14:26:57 +01:00
Jacob Dahl
eb829676b0
sim: gz: remove Garden from cmake
2024-12-13 13:20:20 +01:00
Silvan Fuhrer
896c08bd68
COMMON_DISTANCE_SENSOR: remove srf02 from the list
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-13 11:40:59 +01:00
Silvan Fuhrer
f4b5d8e3d8
COMMON_DISTANCE_SENSOR: remove gy_us42 from the list
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-13 11:40:59 +01:00
Silvan Fuhrer
0b4b794de7
COMMON_DISTANCE_SENSOR: remove leddar_one from the list
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2024-12-13 11:40:59 +01:00
bresch
cc92979b06
ekf-agp: fix timeout
2024-12-12 15:49:04 +01:00
Pernilla
fc6c678274
Remove gz-garden as it reached EOL
2024-12-12 15:11:54 +01:00
Matthias Grob
d5c9ea048e
LidarLitePWM: refactor static cast and comment
2024-12-12 13:50:17 +01:00
Matthias Grob
5010b01e2e
PCF8583: refactor 1e6f for 1000000.f
2024-12-12 13:50:17 +01:00
Matthias Grob
cbde9729e8
Airframes: remove unnecessary double newlines
2024-12-12 13:50:17 +01:00
Julian Oes
091974e6c5
listener: only clear screen with multiple messages ( #24019 )
...
* listener: only clear screen with multiple messages
* listener: fully clear before printing again
Otherwise, we end up seeing artifacts from the previous print.
2024-12-11 10:00:36 +13:00
Vincent Poon
0f1a4eb72c
update H-Flow Boot config and add stm32_configgpio ( #24086 )
2024-12-11 09:49:06 +13:00
Alexander Lerach
bdbf7fd1dd
Also consider targets that include a '-' ( #24087 )
2024-12-10 11:05:55 +01:00
Alexander Lerach
f9ecc0fcd1
Added various features to flash analysis ( #24072 )
...
* Added various features to flash analysis (also run with FLASH overflow, summary in comment output, newer bloaty version, only add comment if change is large enough, ...)
* Added feedback from review
* Use wildcards
* Removed backward-compat logic and use correct base
2024-12-10 10:15:49 +01:00
Riccardo Mengoli
09cd42911d
Mission: Replay gimbal cached items before reaching mission waypoint ( #24085 )
...
When flying patterns, photos are sometimes taken while the gimbal is pitching up or down. To address this, we orient the gimbal before reaching the mission waypoint, allowing more time to complete the action. Additionally, we verify if the vehicle is climbing to avoid orienting the gimbal while on the ground.
2024-12-10 09:20:53 +01:00
PX4 BuildBot
430f0888b3
update all px4board kconfig
2024-12-06 22:09:46 -05:00
Jaeyoung Lim
197aed8bdd
Add mavlink stream for plane camera ( #24081 )
2024-12-06 14:52:54 +01:00
Jari Nippula
814b243931
Tools/decrypt_ulog.py: support for .ulge log files
2024-12-05 07:25:29 +01:00
Jari Nippula
2da944a834
Logger: combined key & cipher file
...
Use one single .ulge file to store both wrapped symmetric key and
encrypted ulog data instead of creating separate .ulgk/ulgc files
2024-12-05 07:25:29 +01:00
Jacob Dahl
ae61b4bfe0
params: flash: erase corrupt sector ( #24065 )
2024-12-05 07:24:56 +01:00
Julian Oes
1778692ca2
gps: heading fixes for NMEA/Unicore
...
This updates the GPS submodule which includes NMEA/Unicore fixes:
- Add correct return value for sat infos
- Only publish on position updates
- Request required topics at 5 Hz for Unicore
2024-12-05 08:58:22 +13:00
Ramon Roche
28487350d3
ci: update actions and images
...
Updates some actions to run build steps in container instead of the
whole workflow.
2024-12-04 12:59:27 -05:00
Matthias Grob
d416cd2a6c
Commander: remove COM_POS_FS_DELAY
...
A user configurable delay for the internal `vehicle_local_position` seems confusing in my eyes. It's a different timeout for fixed-wing and multirotor which might have made sense earlier but not really anymore since the topic is constantly published by the estimator and not expected to time out on either vehicle type and the parameter description is also misleading because it's outdated.
2024-12-03 17:31:56 +01:00
Perre
dfa48f988d
ESC check: Avoid unsigned timestamp underflow in telemtry timeout ( #24069 )
...
* Avoid unsigned integer underflow
* ESC check: add brackets to timeout for readability
---------
Co-authored-by: Matthias Grob <maetugr@gmail.com >
2024-12-03 17:14:09 +01:00
bresch
8626019ae0
EKF2: reset global position using variance
2024-12-03 13:04:25 +01:00
bresch
6b637f82f8
lla; fix conversion to ECEF
2024-12-03 13:03:54 +01:00
Perre
4696338d29
Add gz model for quadtailsitter ( #23943 )
...
* Add gazebo airspeed plugin and add a tailsitter model
---------
Co-authored-by: Claudio Chies <61051109+Claudio-Chies@users.noreply.github.com >
2024-12-02 17:27:23 +01:00
Claudio Chies
1a165a4956
Added possibility to modify the start position from external sources, as its done in the _getMaxXYSpeed
2024-12-02 14:52:31 +01:00
Matthias Grob
7dcfeb2f77
PositionSmoothing: refactor _getMaxZSpeed()
2024-12-02 14:52:31 +01:00
Matthias Grob
092e5e8f9d
TrajectoryConstraints: clarify waypoint indexing
2024-12-02 14:52:31 +01:00
Claudio Chies
06dde4ede8
MPC: PositonSmoothing, change test to reflect that we have to come inwithing the acceptance radius, and not exact position.
2024-12-02 14:52:31 +01:00
Claudio Chies
72e758950b
Included turning radius calculations for vertical changes and removed the requirement for the same altitude in the 2D turning radius logic.
2024-12-02 14:52:31 +01:00
Hamish Willee
5ce2bf662b
airframes markdownout.py - br rather than p for generated code
2024-12-02 11:55:25 +01:00
chfriedrich98
be2a3afb83
mecanum: update parameter description
2024-12-02 10:54:43 +01:00
chfriedrich98
ff55313b0b
mecanum: update current position in main file
2024-12-02 10:54:43 +01:00
chfriedrich98
a1b68fcac2
mecanum: update SITL airframe parameters
2024-12-02 10:54:43 +01:00
chfriedrich98
369ce37d65
mecanum: adjust speed setpoints to always be feasible
2024-12-02 10:54:43 +01:00
chfriedrich98
2eda5659eb
mecanum: fix inverse kinematics
2024-12-02 10:54:43 +01:00
chfriedrich98
5dcccd999c
mecanum: add slew rates to yaw, yaw rate and speed setpoints
2024-12-02 10:54:43 +01:00
chfriedrich98
54abc59283
mecanum: deprecate RM_MAN_YAW_SCALE
2024-12-02 10:54:43 +01:00
chfriedrich98
6cce443005
mecanum: deprecate RM_MISS_SPD_DEF
2024-12-02 10:54:43 +01:00
chfriedrich98
7e705bbf55
differential: add slow down effect in mission mode
2024-12-02 10:44:22 +01:00
chfriedrich98
8880569b31
differential: adjust speed setpoint based on yaw rate setpoint
2024-12-02 10:44:22 +01:00
bresch
b06ff99a3e
disable SIH on x21-777 and v6u to save flash
2024-11-29 14:21:29 +01:00
Marco Hauswirth
db0160bf7c
fix sih hitl plane airframe
2024-11-29 14:21:29 +01:00
bresch
8b1975cb98
SIH: lower IMU noise before takeoff
...
This speeds-up the EKF alignment
2024-11-29 14:21:29 +01:00
bresch
b30ea40c6d
SIH: set GNSS delay to 0 as delay is not simulated
2024-11-29 14:21:29 +01:00
bresch
cd18138b1c
SIH: add transport rate acceleration to local acceleration
2024-11-29 14:21:29 +01:00
bresch
674aa474e7
SIH: use LatLonAlt class
2024-11-29 14:21:29 +01:00
bresch
189122d553
lla: add gravity constant at equator
2024-11-29 14:21:29 +01:00
bresch
b6658df169
lla: move to lib directory
2024-11-29 14:21:29 +01:00
bresch
7cf42727fb
lla: add functions to convert from and to ECEF
2024-11-29 14:21:29 +01:00
bresch
7ee69d616d
SIH: rework FW ground contact
2024-11-29 14:21:29 +01:00
bresch
5d33971712
SIH: refactor MC ground contact
2024-11-29 14:21:29 +01:00
bresch
9b172d36a2
matrix: allow casting float<->double
2024-11-29 14:21:29 +01:00
Marco Hauswirth
5d7b734bc9
SIH: ellipsoidal earth model
...
SIH: use projection functions and constants from geo lib
SIH: remove unnecessary member variable
SIH: clarify names of rotation matrices and frames
SIH: do not store DCM corresponding to quaternion attitude
Using DCM is more efficient when more than 1 rotation needs to be done,
which is not the case here.
SIH: don't store local variable as member
SIH: use Wgs84 constants everywhere
SIH: do not store delta_quaternion
Converting an AxisAngle to a Quaternion uses the exponenial
SIH: organise ECEF member variables
SIH: add earth spin rate to gyro data
Co-authored-by: bresch <brescianimathieu@gmail.com >
2024-11-29 14:21:29 +01:00
Matthias Grob
ce3fcd503f
navigator: unify timeout waiting for payload to execute mission item command
...
Used for winch, gripper, gimbal to reach the desired state before continuing the mission.
Ideally we'd have feedback from all these components and not just a feed-forward delay.
2024-11-28 20:23:36 +01:00
Matthias Grob
17c24bafbc
mission_block: simplify timeout check
2024-11-28 20:23:36 +01:00
Matthias Grob
ec1cf04bc9
mission_block: fix style, shorten debug message strings
2024-11-28 20:23:36 +01:00
Stefano Colli
8b3c78a0a4
Navigator: add optional delay after gimbal mission items
2024-11-28 20:23:36 +01:00
Sergei Grichine
ab320017cc
boards: emlid_navio - support 64-bit OS on Raspberry Pi 4,5 ( #24006 )
...
adds the `emlid_navio2_arm64` build target - supports 64-bit OS on Raspberry Pi 4,5 (#24006 )
2024-11-28 08:44:44 -08:00
Julian Oes
95b5859913
boards: add SPA06 to KakuteH7/H7mini/H7v2 boards
2024-11-28 12:18:44 +13:00
Julian Oes
def6ab5a6b
drivers: add SPA06
2024-11-28 12:18:44 +13:00
Julian Oes
f7b62961cb
drivers: Copy SPL06 to SPA06
2024-11-28 12:18:44 +13:00
Ramon Roche
1b6215fcf3
readme: update ci badge
2024-11-27 17:41:43 -05:00
Daniel Agar
990b067b25
uxrce_dds_client: update cmake requirements to match Micro-XRCE-DDS-Client submodule
2024-11-27 14:09:13 -08:00
Daniel Agar
68cbbaab92
Tools/astyle: check_code_style_all.sh skip pre-commit hook if non-interactive
2024-11-27 13:51:10 -08:00
Ramon Roche
22c1f07f0c
container: use PX4 tags whiel tagging images
2024-11-27 16:42:13 -05:00
Ramon Roche
f2bbb6f407
ci: disable publishing PR images to docker hub
...
Docker hub is rate limiting our API access, as a result tests are
failing for no apparent reason. This change will decrease the API calls
by at least 80%
We have applied for an Open Source account with greater API limits, I
will come back to this and update as necessary when and if they grant us
access to their program.
2024-11-27 16:42:13 -05:00
bresch
85bc8ef885
SIH-plane: fix actuator mapping
2024-11-27 11:14:56 -05:00
bresch
8a9bac29a2
SIH-FW: allow pitching up during takeoff
...
Otherwise difficult to get lift
2024-11-27 11:14:56 -05:00
bresch
7236ef2d17
SIH-FW: fix aileron and elevator signs
...
This broken when changing from mixer files to the control allocation module.
2024-11-27 11:14:56 -05:00
bresch
1dad25b763
SIH: do not assume being a tailsitter when creating airspeed measurement
2024-11-27 11:14:56 -05:00
Matthias Grob
a280d67be8
PID: Fix test to respect integral updates being applied in the next iteration
...
Co-authored-by: chfriedrich98 <125505139+chfriedrich98@users.noreply.github.com >
2024-11-26 16:13:48 +01:00
Matthias Grob
f9bcbc31ae
PID: protect from division by zero because of dt
...
Co-authored-by: chfriedrich98 <125505139+chfriedrich98@users.noreply.github.com >
2024-11-26 16:13:48 +01:00
Matthias Grob
b89c53d28c
Replace old pid library with new one
2024-11-26 16:13:48 +01:00
Matthias Grob
e047972cde
Add new C++ PID library
2024-11-26 16:13:48 +01:00
Daniel Agar
e194a52907
ekf2: derivation.py remove sideslip small angle approximation
2024-11-25 08:53:57 +01:00