47142 Commits

Author SHA1 Message Date
Ramon Roche 6ea3539157 [backport] v1.16 fix gazebo install on ROS integration tests (#25344)
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
* ci: update rosdistro apt keys (#25060)

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: use release/1.16 branch for px4-ros2-interface-lib integration tests

---------

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
v1.16.0
2025-08-05 14:54:48 -08:00
Vasily 7fc5393afc Update px4-rc.gzsim. Fix gz_world checking for PX4_GZ_STANDALONE=1 mode. Priority of gz_world (really running) over PX4_GZ_WORLD (#25346) 2025-08-01 01:14:09 -08:00
Mahima Yoga 740521ae08 MC PositionControl: Add timeout for invalid TrajectorySetpoint (#25283) (#25341)
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
* MulticopterPositionControl: Add timeout before triggering emergency setpoint on invalid TrajectorySetpoint

* Apply suggestions from code review



* 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 10:21:17 -08:00
PX4BuildBot aa745f2949 [1.16 backport] MAV_CMD_DO_SET_MODE - add support
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
2025-07-30 13:36:14 +10:00
Jacob Dahl 0294b608d3 [BACKPORT 1.16] ark: fpv: enable PAYLOAD_DELIVERER (#25323)
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
Docs - Deploy PX4 User Guide / build (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
Docs - Deploy PX4 User Guide / deploy (push) Has been cancelled
* payload deliverer: remove PD_GRIPPER_EN as unnecessary, reduce gripper timeout to 1s

* ark: fpv: enable payload deliverer module
2025-07-28 14:13:00 -06:00
Jacob Dahl 2471afd423 payload deliverer: remove PD_GRIPPER_EN as unnecessary, reduce gripper timeout to 1s 2025-07-28 12:08:15 -08:00
Jacob Dahl aab5ed8e0d ark: v6x: enable payload deliverer 2025-07-28 12:08:15 -08:00
Jacob Dahl 2902bea299 ark: v6x: encrypted: remove FW and VTOL modules to save flash (#25320) 2025-07-28 13:46:31 -06:00
Jacob Dahl 171d2c98ef ark_fpv: flash savings: remove FW and VTOL from encrypted_logs.px4board (#25321) 2025-07-28 11:45:06 -08:00
Matthias Grob af99ebce81 commander failsafe: never override user intended termination + unit test
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
2025-07-28 13:38:57 +02:00
Jacob Dahl b67c65bfe6 dshot: fix bidirectional dshot stream sharing (#24996)
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
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
v1.16.0-rc3
2025-07-09 12:19:24 -06:00
Jacob Dahl e3fecd96d5 dshot: fix scaling (#25001) 2025-07-09 12:19:24 -06:00
Jacob Dahl f244b4835b dshot: add perf counter for hrt callback (15us avg) (#24976) 2025-07-09 12:19:24 -06:00
Jacob Dahl 4858a20dfa ark_fpv: cleanup board_dma_map.h (#24975) 2025-07-09 12:19:24 -06:00
Peter van der Perk 0892108546 msp_osd: Add VTX config, stick commands and arming status
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
- 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
v1.16.0-rc2
2025-06-19 09:26:53 -07:00
Beniamino Pozzan 39fbca1d55 fix (msp_ods): clear buffers before writing and adjust sizes (#24951)
Signed-off-by: Beniamino Pozzan <beniamino.pozzan@gmail.com>
2025-06-19 09:26:53 -07:00
Michael Smith 7720af113a MSP_OSD Update: Add original battery status msg. (#24872)
Co-authored-by: Michael <mfs3ee@gmail.com>
2025-06-19 09:26:53 -07:00
Li-Tianming bfc2efeea5 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-06-19 09:26:53 -07:00
Daniel Agar c7e78c92ee drivers/magnetometer: remove Vtrantech VCM1193L from common magnetometer set
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
2025-06-18 12:46:30 -04:00
Julian Oes d59067021c boards: save flash for KakuteH7-Wing
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
2025-06-15 16:23:32 -07:00
Julian Oes f6de7222d7 boards: set RC serial for KakuteH7-Wing
This was missed earlier.
2025-06-15 16:23:32 -07:00
Julian Oes 35725384d6 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-15 16:23:32 -07:00
Julian Oes bfcb5ba6ba vscode: add KakuteH7-Wing 2025-06-15 16:23:32 -07:00
Ramon Roche e05f7d8d85 ci: fix wildcard branch detection
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
2025-06-12 13:03:22 -07:00
Beat Küng a150fc05af VehicleStatus.msg: restore VEHICLE_TYPE_* indexes
Build all targets / Scan for Board Targets (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
This was changed in 7cb6464cfb and broke flight review
(https://github.com/PX4/flight_review/issues/310)
2025-06-11 11:25:17 -04:00
Peter van der Perk 8d14ab980a [BACKPORT] Update NuttX
Fixes RT117X OCRAM M7 memory freeze
2025-06-11 11:23:31 -04:00
Matthias Grob ea12400ea3 esc_calibration: simplify the logic and consider battery only connected if there's no message timeout and the connected flag is set
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
2025-06-04 11:27:19 -04:00
Don Gagne eedd770cbd Fix reporting of connected battery 2025-06-04 11:27:19 -04:00
Matthias Grob 67cf8d3229 uavcan esc: translate temperature field from Kelvin to Celsius 2025-06-04 11:27:19 -04:00
Silvan dfeebe5a94 ControlAllocator: only run allocator on torque updates, not thrust
Signed-off-by: Silvan <silvan@auterion.com>
2025-06-04 11:25:54 -04:00
Silvan dc747b2aa3 ControlAllocator: only use torque, not thrust sp as callback item
Signed-off-by: Silvan <silvan@auterion.com>
2025-06-04 11:25:54 -04:00
Julian Oes 4363c428bf holybro: hard-select CAM1 for now
Build all targets / Scan for Board Targets (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:22.04) (push) Has been cancelled
Ubuntu environment build / Build and Test (ubuntu:24.04) (push) Has been cancelled
Container build / Build and Push Container (push) Has been cancelled
EKF Update Change Indicator / unit_tests (push) Has been cancelled
Build all targets / Build Group [${{ matrix.group }}] (push) Has been cancelled
Build all targets / Upload Artifacts to S3 (push) Has been cancelled
Build all targets / Create Release and Upload Artifacts (push) Has been cancelled
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-29 06:35:05 +12:00
Julian Oes 7fc1a2a8d6 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-29 06:35:05 +12:00
Julian Oes 661a01f3c2 holybro: match AP flash layout
That way the ArduPilot bootloader works with PX4.
2025-05-29 06:35:05 +12:00
Jacob Dahl 1ed406c41d backport https://github.com/PX4/PX4-Autopilot/pull/24691 2025-05-15 10:51:07 -07:00
Julian Oes b067113365 ina238: actually run it
Without this the driver would not run when started from the
i2c_launcher.
2025-05-15 15:49:39 +12:00
Julian Oes d8323a0887 ina2xx: params require reboot 2025-05-15 15:49:39 +12:00
Julian Oes c75a5af236 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-15 15:49:39 +12:00
Ramon Roche 1e4919d252 [Backport v1.16] Support for Kakute H743-Wing (#24804)
* 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

---------

Co-authored-by: Julian Oes <julian@oes.ch>
2025-05-06 12:23:43 +12:00
Daniel Agar 38d67f5a93 drivers/ins/vectornav: bump cmake minimum to 3.5 v1.16.0-rc1 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