Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Multiagent functionality #67

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

TannerGilbert
Copy link

@TannerGilbert TannerGilbert commented Feb 9, 2025

This PR adds multiagent functionality to the Ardupilot simulation.

Previous discussions:

This work builds on #64 extending the spawning via launch file functionality from just the Lidar example to all models available in this repository. The multiagent part is an extension of https://github.com/srmainwaring/ardupilot_gz/tree/prs/pr-multi-vehicle. It takes into account the proper namespace handling for all nodes including RVIZ where the config was switched to use relativ paths and the ros_gz_bridge where the robot name is dynamically swapped out.

Example usage:

ros2 launch ardupilot_gz_bringup multiagent.launch.py

multiagent_ardupilot

Further changes:

  • Extracted common code from iris_lidar.launch.py, iris.launch.py and wildthumper.launch.py into robot.launch.py to decrease duplicated code
  • Added gui launch argument to make it possible to not start Gazebo GUI

@srmainwaring srmainwaring self-requested a review February 9, 2025 11:46
@srmainwaring srmainwaring added the enhancement New feature or request label Feb 9, 2025
@srmainwaring srmainwaring self-assigned this Feb 9, 2025
@srmainwaring
Copy link
Collaborator

Thanks @TannerGilbert, this looks like a great addition. I'll try to get this running under my macOS / Jazzy setup and give feedback.

@TannerGilbert
Copy link
Author

@srmainwaring Thanks. If you have any feedback or desired improvements please let me know. Just FYI I developed + tested this on Ubuntu 22.04 with ROS 2 Humble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants