Modify launch and config for multirobot simulation support. Add robot_complete launch#75
Open
jamendezib wants to merge 1 commit into
Open
Modify launch and config for multirobot simulation support. Add robot_complete launch#75jamendezib wants to merge 1 commit into
jamendezib wants to merge 1 commit into
Conversation
…_complete launch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request refactors the simulation bringup launch system to improve modularity and configurability, particularly for enabling or disabling the localization, navigation, and MoveIt stacks. It introduces a new
robot_complete.launch.pylaunch file, moves the logic for launching robot-related stacks into this new file, and updates configuration files to use robot-specific frame and topic names via substitution variables. This improves support for multi-robot scenarios and makes the launch process more flexible.Key changes include:
Launch System Refactoring and Modularity:
robot_complete.launch.pyfile that encapsulates the logic for launching the robot, laser filters, localization, navigation, MoveIt, and RViz, with appropriate timers and launch conditions. The mainbringup_complete.launch.pynow delegates robot-related launching to this new file, simplifying its structure. [1] [2]run_localizationandrun_navigationto bothbringup_complete.launch.pyandrobot_complete.launch.py, allowing these stacks to be enabled or disabled via command line. [1] [2]Configuration Improvements for Multi-Robot Support:
amcl.yaml,slam_toolbox.yaml), navigation (behavior_server.yaml,bt_navigator.yaml,controller_server.yaml,planner_server.yaml), and topic/frame names to use$(var robot_id)substitutions. This ensures that all frames and topics are robot-specific, supporting multi-robot simulations without conflict. [1] [2] [3] [4] [5] [6] [7] [8]Parameterization and Substitution Enhancements:
ParameterFilewithallow_substs=True, ensuring that substitution variables in YAML files are correctly processed at launch time. [1] [2] [3]These changes make the simulation bringup more maintainable, extensible, and robust for multi-robot and configurable scenarios.
References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]