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

Multi robot launch in gazebo and multi robots control with namespace. #224

Merged
merged 12 commits into from
Feb 7, 2025

Conversation

GyuH13
Copy link
Contributor

@GyuH13 GyuH13 commented Feb 5, 2025

Description

This pull request merges the feature-multi-robots-control-in-gazebo branch into the main branch, using multi robots launch to spawn multi robots in gazebo and control with namespace. This change in this branch makes user use multiple turtlebot3s in gazebo that have identical topics and frames.

Summary of Changes

  • Add multi_robot.launch.py
    • This launch spawn multiple turtlebot3s in gazebo and user can modify the launch file to change map or position of turtlebot3s.
  • Add 'multi_spawn_turtlebot3.launch.py'
    • It makes turtlebots be spawned with separate namespace.
  • Add namespace argument inrobot_state_publisher.launch.py
    • It adds a prefix to the robot state frames (e.g., base_link, imu_link, etc.)

Motivation

There are some Issue regarding the use of namespace in gazebo. Also it has the potential to evolve into examples such as multi-robot navigation in the future.

Testing & Validation

This branch has been validated on the Local PC with the Humble version and works properly

Operation

Picture
  • p1

  • p2

  • p3

  • p4

@GyuH13 GyuH13 self-assigned this Feb 5, 2025
@robotpilot robotpilot added the enhancement New feature or request label Feb 5, 2025
Copy link

@sunghowoo sunghowoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@robotpilot robotpilot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@yun-goon yun-goon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@GyuH13 GyuH13 merged commit abcc052 into main Feb 7, 2025
8 checks passed
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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants