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

Multiple robot support #35

Merged
merged 16 commits into from
May 15, 2023
Merged

Multiple robot support #35

merged 16 commits into from
May 15, 2023

Conversation

roni-kreinin
Copy link
Contributor

Description

Adds namespacing support and the ability to spawn multiple robots.

Changes:

  • Updated launch files:
    • ignition.launch.py: Launches just ignition gazebo and a /clock bridge
    • turtlebot4_spawn.launch.py: Spawns a namespaced robot. Requires that ignition.launch.py has already been launched.
    • turtlebot4_ignition.launch.py: Default launch file to spawn both ignition and one default robot (robot_name: turtlebot4, no namespace).
    • ros_ign_bridge.launch.py: Same as before
    • turtlebot4_nodes.launch.py: Same as before
  • Updated GUI:
    • Added namespace input textbox
  • Updated RGBD camera sensor frames and topics to match OAKD
  • Removed navigation launch files from being included. They should be run separately now.

Depends on:

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

# Default
ros2 launch turtlebot4_ignition_bringup turtlebot4_ignition.launch.py

# Spawn additional robot
ros2 launch turtlebot4_ignition_bringup turtlebot4_spawn.launch.py robot_name:=robot2

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Updated GUI to have namespace input
Update OAKD frames
@roni-kreinin roni-kreinin self-assigned this Mar 14, 2023
@roni-kreinin roni-kreinin marked this pull request as ready for review May 15, 2023 20:52
@roni-kreinin roni-kreinin merged commit d23acbc into humble May 15, 2023
@roni-kreinin roni-kreinin mentioned this pull request May 15, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants