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
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
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
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
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
Jacob Dahl
690fa8bb15
update gz classic submodule ( #24468 )
2025-03-09 10:18:59 +01:00
co63oc
bc0d257e86
Fix typos in comments ( #24474 )
2025-03-08 00:56:30 -09: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
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
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
GuillaumeLaine
44d5bfc42c
Tools: in px4_msgs copy versioned msgs to common root folder
2025-02-20 07:42:18 +01:00
Jacob Dahl
af311c8d45
gz: update submodule
2025-02-19 12:08:40 -05:00
Silvan
a1ff1d8372
tests: remove test_bezier
...
Signed-off-by: Silvan <silvan@auterion.com >
2025-02-18 14:33:16 +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
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
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
f6bfa9812e
msg: add message translation node for ROS
2025-02-11 13:19:25 +01:00
alexklimaj
8576b49e49
make format: ignore libuavcan
2025-02-10 21:18:15 -05:00
Pedro Roque
e7e76e2e21
Spacecraft build and bare control allocator ( #24221 )
2025-02-06 23:54:24 -05:00
Sam 3 Firestorm
1eb9d05f69
Gazebo classic: report correct limits for H480 gimbal yaw ( #24269 )
2025-01-29 18:37:00 +01:00
Julian Oes
e3b98e6ed2
Tools: remove unused/wrong define and fix comment
2025-01-22 11:26:10 -05: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
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
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
Stefano Colli
0561f6c9fc
GZ: add gimbal simulation ( #23382 )
2024-12-18 12:15:03 +01:00
GuillaumeLaine
2e166379c7
docs: split msgs as un/versioned
2024-12-13 16:34:37 +01:00
GuillaumeLaine
2d667238f7
tools: update scripts after msg/ restructure
2024-12-13 16:34:37 +01:00
Pernilla
fc6c678274
Remove gz-garden as it reached EOL
2024-12-12 15:11:54 +01:00
Alexander Lerach
bdbf7fd1dd
Also consider targets that include a '-' ( #24087 )
2024-12-10 11:05:55 +01:00
Jari Nippula
814b243931
Tools/decrypt_ulog.py: support for .ulge log files
2024-12-05 07:25:29 +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
Hamish Willee
5ce2bf662b
airframes markdownout.py - br rather than p for generated code
2024-12-02 11:55:25 +01: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
fb42770131
Tools: instal ccache on ubuntu
2024-11-22 16:05:58 -05:00
Matthias Grob
dcfecb4e16
python requirements: less strict empy version specifier
2024-11-20 14:27:04 +01:00
Jacob Dahl
3bce6988ab
remove unused upload.sh
2024-11-19 22:56:41 -05:00
Ramon Roche
381c45b751
Dockerfile: px4-dev container no sim tools for now
...
- we need to keep the total size reasonable for CI builds that will use this image
2024-11-15 15:26:55 -05:00
Ramon Roche
82ad562be8
Tools: build px4-dev container in CI with ubuntu 24.04
2024-11-15 14:36:03 -05:00
Ramon Roche
058fe540dd
ci: test ubuntu 24
...
* updates ubuntu.sh adding support for ubuntu 24.04
* ubuntu.sh now expects by default any of the last two LTS
* runs ci in docker containers
2024-11-14 20:26:30 -05:00
Claudio Chies
d14c054149
SIM: MPC: add two x500 lidar airframes ( #23879 )
...
* add two x500 lidar airframe, including the gazebo bridge for the lidar sensors and their orientation
* Update src/modules/simulation/gz_bridge/GZBridge.cpp
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* Update src/modules/simulation/gz_bridge/GZBridge.hpp
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
* update submodule
---------
Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com >
2024-11-13 08:44:19 +01:00
Ramon Roche
1e23f25560
ci: test ubuntu 22.04 in ci
...
* missing and updated dependencies
* setup: install zeromq for ubuntu 24.04
* cleans up ubuntu script
2024-11-12 22:09:37 -05:00
Peter van der Perk
c6e86fdea0
Add Tropic teensy loader upload support
2024-11-06 17:28:35 -05:00
Jacob Dahl
f516b41b59
exclude vertiq submodule from make format ( #23889 )
2024-11-04 20:41:22 -07:00
Konrad
613a4b682e
CI: add option to filter for boards in generate_board_targets
2024-11-04 09:46:49 -08:00
Konrad
e666b8ddfd
CI: make sure that the generate_board_targets includes all found targets
2024-11-04 09:46:49 -08:00
Julian Oes
951c981d94
Tools: split by | or space to get all commands
...
This is required in the case where there are 3 commands on one line.
2024-10-30 07:30:29 +01:00