Commit Graph

47072 Commits

Author SHA1 Message Date
Pedro-Roque a1acafb62b fix: removed extra newline 2025-04-15 16:22:10 +02:00
Pedro-Roque cc712fe624 fix: format 2025-04-15 15:30:28 +02:00
Pedro-Roque 982f8a07b8 fix: moved trajectories to new message, removed derivative filters 2025-04-15 11:55:54 +02:00
Pedro-Roque be27462de3 Merge branch 'main' into dev-sc_pos_control 2025-04-15 10:40:10 +02: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
Pedro-Roque 33f97f73f9 fix: format 2025-04-14 16:32:04 +02:00
Pedro-Roque f23ccc9c63 feat: add position controller 2025-04-14 14:49:47 +02:00
Pedro-Roque c1d8ad485c feat: spacecraft attitude control and minor refactoring of params 2025-04-14 14:02:46 +02:00
Pedro-Roque a6643d85cf fix: remove iostream 2025-04-13 15:14:09 +02:00
Pedro-Roque 4593471ebe fix: format 2025-04-13 15:02:09 +02:00
Pedro-Roque 4eb3a238a5 feat: spacecraft tooling for commander and VehicleStatus 2025-04-13 14:53:16 +02:00
Pedro-Roque de9755b33b feat: rate controller nominal 2025-04-13 14:51:38 +02:00
Pedro-Roque 95123b88f6 rft: initial merging of controllers for spacecraft vehicles 2025-04-11 23:48:40 +02: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