Commit Graph
47870 Commits
Author SHA1 Message Date
PX4 BuildBot 552dc4f27a Update submodule pydronecan to latest Thu Sep 11 00:39:26 UTC 2025
- pydronecan in PX4/Firmware (89811435e7): https://github/commit/19fdf2e5b383243ccdb1094edae0603cf11469e8
    - pydronecan current upstream: https://github/commit/7aec196d3911a81e3f9a43235787c79961e4ccd8
    - Changes: https://github/compare/19fdf2e5b383243ccdb1094edae0603cf11469e8...7aec196d3911a81e3f9a43235787c79961e4ccd8

    7aec196 2025-06-15 rishabsingh3003 - examples: add rangefinder
b51d377 2025-03-04 bugobliterator - add .flake8
7d350ba 2025-02-28 bugobliterator - dronecan: replace pkg_resources with importlib.resources for latest Python compatibility
12d9827 2025-02-28 bugobliterator - .github: fix CI by dropping python 3.7 from the check matrix
19ac176 2024-11-11 Thomas Watson - app/dynamic_node_id: avoid spurious reallocation
6805cf0 2024-11-11 Thomas Watson - app/dynamic_node_id: don't assume single-threading
5c2edbb 2024-11-11 Thomas Watson - app/node_monitor: fix handling of info request time
44c6cdf 2024-10-03 Andrew Tridgell - examples: added servo simulator
d48351b 2024-10-03 Andrew Tridgell - mavcan: support readonly mavcan
4c55dd6 2024-08-28 Andrew Tridgell - Revert "fixed load_dsdl problem"
72a003d 2024-06-14 bugobliterator - .github: use pip install to build and install the package
a2cf813 2024-06-14 bugobliterator - use modern standard for python packaging
7a1ef2f 2024-07-21 Felix - fixed load_dsdl problem
b76d480 2024-08-05 Andrew Tridgell - mavcan: ensure child dies when parent dies
8dd60c5 2024-05-20 Andrew Tridgell - examples: added servo control example
d3964dd 2024-04-25 Huibean - add mavlink tunnel example
4b6f3d3 2024-03-15 Andrew Tridgell - prepare for 1.0.26
1f494e9 2023-07-30 bugobliterator - dronecan: add support for sniffing get node info response
315e87e 2023-12-28 Andrew Tridgell - examples: exit on end of fw update
0f67d51 2023-12-01 Siddharth Purohit - driver/mavcan.py: gracefully exit io thread when close is called
ed59da5 2023-10-28 Andrew Tridgell - examples: added battery simulator
4a97cf4 2023-08-03 Andrew Tridgell - support N-way bridging
0e2bfba 2023-08-01 bugobliterator - examples: add example that extracts gps raw data from a log file
59dcecd 2023-08-01 bugobliterator - file: add support for stream read progress and end of stream
9e65bcc 2023-07-31 bugobliterator - file: flush before closing and sleep when receiving
4f6f6ad 2023-07-31 bugobliterator - dronecan: fix timeout handling for file iface
1841303 2023-07-30 bugobliterator - dronecan_bridge: add support for filtering node id
6d0ba6d 2023-07-30 bugobliterator - dronecan: add file interface for recording and replaying CAN data
c941a8f 2023-08-01 Andrew Tridgell - examples: improved error handling in firmware_update.py
49b26e7 2023-07-31 Andrew Tridgell - prepare for 1.0.25
1fdd2cc 2023-07-31 Andrew Tridgell - mcast: fixed multicast on windows
9ac3f75 2023-07-10 Andrew Tridgell - prepare for 1.0.24
89ecdcb 2023-07-10 Andrew Tridgell - DroneCANSerial: fixed handle remove
ff8373f 2023-07-08 Andrew Tridgell - prepare for 1.0.23
208ea42 2023-07-08 Andrew Tridgell - utility: fixed node_id check
4961328 2023-07-07 bugobliterator - tools: add decoder for dronecan message id
a365d79 2023-07-08 Andrew Tridgell - added dronecan_tcplink.py
dbd5704 2023-07-08 Andrew Tridgell - added DroneCANSerial class
a15e318 2023-07-08 Andrew Tridgell - return frame count from spin()
de4cd74 2023-07-08 Andrew Tridgell - cope with errors in dronecan_bridge
3051152 2023-06-21 Andrew Tridgell - driver: ensure data in CANFrame is a byte array
eb88f0a 2023-06-12 Andrew Tridgell - added UDP multicast support
d977357 2023-06-24 Andrew Tridgell - examples: added stats to rtcm_dump.py
1e4e102 2023-06-21 Andrew Tridgell - added Fix2 gap example
d507846 2023-06-15 Ryan - README.md - fix broken link
da81c7c 2023-06-12 Andrew Tridgell - examples: fixes for firmware_update.py
29fbecd 2023-06-12 Andrew Tridgell - app: support path_map in file server
c97f348 2023-03-28 Jacob Dahl - Updated from reviewer feedback. Simplified arguments names.
73a15da 2023-03-27 Jacob Dahl - added an example script to update the firmware on a CAN node
26c525c 2023-06-12 Andrew Tridgell - examples: flush in RTCM decoder
55422e5 2023-06-06 Andrew Tridgell - added RTCM decoder example
a6d34f2 2023-05-27 Andrew Tridgell - print mavlink packet loss every 5s
75d8beb 2023-05-27 Andrew Tridgell - prepare for 1.0.22
145dce3 2023-05-26 Andrew Tridgell - allow mavcan signing key in environment
8fba242 2023-05-26 Andrew Tridgell - example: cope with exceptions in hobbywing tool
1cb47f3 2023-05-22 Andrew Tridgell - examples: improve hobbywing ESC example
1d1173a 2023-05-22 Andrew Tridgell - prepare for 1.0.21
cf73647 2023-05-22 Andrew Tridgell - example: added signing to hobbywing ESC tool
572bf1a 2023-05-15 Andrew Tridgell - added example for hobbywing ESC control
ce39d51 2023-04-10 Andrew Tridgell - prepare for 1.0.20
fece5dc 2023-04-10 Andrew Tridgell - added example looping calling GetNodeInfo
22f700b 2023-04-10 Andrew Tridgell - transport: fixed marking of transfer as canfd
ae710ec 2023-04-10 Andrew Tridgell - fixed count init
b8fae32 2023-04-10 Andrew Tridgell - added dronecan_bridge.py tool
205c89b 2023-04-10 Andrew Tridgell - driver: added send_frame to driver API
00794a1 2023-03-01 Andrew Tridgell - release 1.0.19
d1da653 2023-03-01 Andrew Tridgell - support MAVLink2 signing in mavcan
af6ad8e 2023-02-22 Andrew Tridgell - release 1.0.18
40f76b6 2023-02-22 Andrew Tridgell - slcan: fixed support for python 3.11
c452504 2023-02-10 Andrew Tridgell - release 1.0.17
ed2bdbd 2022-12-12 Peter van der Perk - Add PCAN support through python-can
bb69e16 2022-12-20 Andrew Tridgell - CI: changed python versions to test in CI
2025-09-11 00:39:26 +00:00
JM WangandHamish Willee 47c0fef8c8 [DOCS] accton godwit ga1, a new manufacture board (#25411)
* Add docs for Accton-Godwit-GA1

* Update Accton-Godwit_GA1 in SUMMARY.md

add docs of accton’s new manufacturer board GA1 in TOC(SUMMARY.md)

* Subedit

* update wording in accton-godwit_ga1.md

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2025-09-11 09:34:13 +10:00
PX4 Build BotandCrowdin Bot ae60c66613 New Crowdin translations - ko (#25481)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-09-11 08:30:54 +10:00
PX4 Build BotandCrowdin Bot a20afc88c8 New Crowdin translations - uk (#25482)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-09-11 08:30:05 +10:00
PX4 Build BotandCrowdin Bot 2e84e55d93 New Crowdin translations - zh-CN (#25483)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-09-11 08:29:25 +10:00
rmahoney-skaiandrmahoney_skai 472e0657b5 Corrected max number of submodules displayed in VSCode (#25539)
Co-authored-by: rmahoney_skai <rmahoney@alakai.com>
2025-09-10 11:09:22 -08:00
Pernilla b4395d5960 FlightTaskManualAcceleration: fix velocity constraint overwriting + altitude limit slow down
- The velocity constraint gets set from multiple places e.g. Position slow knob and altitude related slow down. Depending on the execution order it was overwritten with a higher value again not obeying a stricter limit.
- The slowdown used valocities as inputs instead of the ratio of available altitude.
2025-09-10 10:18:09 +02:00
Matthias GrobandHamish Willee 63ec2f0406 docs/safety: clarification for position loss in manual position controlled flight
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
2025-09-08 09:41:52 +02:00
Matthias Grob e0cdcdb436 Remove COM_POSCTL_NAVL
In an effort to reduce configuration space.
I've not seen use for this option.
If a pilot flies manually in position mode he has some visual reference of the vehicle and can do better than an autonomous mode without position reference.
Also by now we have nudging in Descend mode so the pilot can still give input and the only difference is it automatically goes down instead of the pilot having to descend by stick to land.
2025-09-08 09:41:52 +02:00
renjieDLUT 3962419669 Update _assembly.md (#25527) 2025-09-07 17:58:33 -08:00
renjieDLUT 63e257782a Update accelerometer.md (#25532) 2025-09-07 17:58:12 -08:00
Alexander Lerach fd2b7cbea4 gps: update submodule (#25529) 2025-09-05 17:46:32 +02:00
Silvan FuhrerandAlexander Lerach 5f5a1aa4ab Mavlink stream low bandwidth: add some important missing ones, update rates (#25524)
* mavlink stream low bandwidth: add GLOBAL_POSITION

Signed-off-by: Silvan <silvan@auterion.com>

* mavlink stream low bandwidth: add FIGURE_EIGHT_EXECUTION_STATUS

Signed-off-by: Silvan <silvan@auterion.com>

* mavlink stream low bandwidth: increase sending rate for all positioning messages to 2Hz

Signed-off-by: Silvan <silvan@auterion.com>

* mavlink stream low bandwidth: reduce sending rate for a couple of status messages

Signed-off-by: Silvan <silvan@auterion.com>

* mavlink stream low bandwidth: add ATTITUDE_QUATERNION

Signed-off-by: Silvan <silvan@auterion.com>

* mavlink stream low bandwidth: use ATTITUDE_QUATERNION instead of ATTITUDE as its preferred by GCS

* mavlink stream low bandwidth: add RAW_RPM for vehicles with ICE

* mavlink stream low bandwidth: increase VFR_HUD rate

* mavlink stream low bandwidth: decrease FIGURE_EIGHT_EXECUTION_STATUS rate

---------

Signed-off-by: Silvan <silvan@auterion.com>
Co-authored-by: Alexander Lerach <alexander@auterion.com>
2025-09-05 16:28:09 +02:00
Claudio ChiesandMatthias Grob 1840c0db48 UAVCAN:BAT: improve remaining time calculation (#25500)
* UAVCAN:BAT: improve remaining time calculation

* UAVCAN:BAT: fix time_remaining calculation, bugfixes, improved filter convergence time

* UAVCAN:BAT: remove BatteryInfo Publishing if no valid info

* UAVCAN + Battery library: suggestions while reviewing

---------

Co-authored-by: Matthias Grob <maetugr@gmail.com>
2025-09-05 10:57:13 +02:00
alexklimaj 89c6d24946 Update GPS submodule 2025-09-04 17:02:31 -06:00
Alex Klimaj af6bf931c1 uavcan bootloader watchdog_pet during long flashes (#25523) 2025-09-04 12:20:03 -08:00
fbaklanov fc8e2021e7 A driver for EULER-NAV Baro-Inertial AHRS (#24534)
* Create a dummy BAHRS driver

* Resolve compilation

* Switch back to cpp, fix compilation

* Create module.yaml

* Implement required module APIs and open serial port

* Revise info and error messages

* Poll serial port

* Push received bytes into the ring buffer

* Process data buffer (1)

* Process data buffer (2)

* Process data buffer (3)

* Process data buffer (4)

* Process data buffer (5)

* Process data buffer (6)

* Implement and use initialize() and deinitialize() methods

* Implement print_usage() and print_status()

* Collect all config constants in a class

* Put info about next found message into a class

* Print CRC failure count

* Remove unneeded print

* Add comments

* Disable EKF2, advertise vehicle attitude

* Decode and publish BAHRS signals (1)

* Run the driver as an additional source of sensor signals

* Add tiny noise to baro-inertial pressure signal

* Fix the sensor ID

* Add copyrights

* Fix formatting

* Remove redundant newline character

* Fix long parameter name

* Fix findings (1)

* Fix finding (2)

* Fix formatting

* Fix the timeout value

* Remove aliases

* Fix copyright

* Fix indent

* Comply with naming convention

* Rework comparison to false

* Reduce nesting (1)

* Reduce nesting (2)

* Reduce nesting (3)

* Fix BAHRS sensor ID
2025-09-04 09:31:36 -08:00
Silvan Fuhrer e6f60ef403 Sensors: remove some distance sensors from COMMON_DISTANCE_SENSOR again (#25522)
* distance sensors common: remove DISTANCE_SENSOR_TERARANGER

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>

* distance sensors common: remove DISTANCE_SENSOR_CM8JL65

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>

---------

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2025-09-04 09:28:37 -08:00
Pedro Roque 944b3e763a doc: Change email for Pedro Roque (#25514) 2025-09-02 16:07:55 -08:00
Pedro Roque 271cb49597 feat: airframe documentation for spacecraft (#25294) 2025-09-02 16:27:26 -07:00
Alexander Lerach 9015001b42 uavcan: fix driver init after stop/start (#25511) 2025-09-02 10:02:15 -08:00
Silvan ce207837cf rc.sensors: add iis2mdc mag to list of probed for sensors
Signed-off-by: Silvan <silvan@auterion.com>
2025-09-02 10:16:32 -06:00
Niklas Hauser 3a734bc846 [board] Add PCA9685 driver to FMUv6s board 2025-08-29 14:05:40 +02:00
Niklas Hauser 9062d0cc7d [driver] Add a parameter to enable the PCA9685 driver 2025-08-29 14:05:40 +02:00
Niklas Hauser b2b80e8075 [board] Reformat FMUv6s init script to start internal sensor first 2025-08-29 14:05:40 +02:00
Balduin 2eac6cca38 dds_topics: accept landing_gear command from external modes (#25496) 2025-08-28 08:30:27 -08:00
Claudio Chies fe1abb5b92 the PR has long been merged (#25495) 2025-08-28 08:28:44 -08: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
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