Repository navigation
Add launch configuration parameters for robot model and simulation se… - #28
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Simulation configuration is inconsistent, and the command-topic argument is not consumed by the dependency.
Review effort: Balanced
Findings: 2
Open (2)
What changed in this PR
Adds configurable launch arguments for Hunter base hardware, frames, topics, model, and simulation.
Changes:
- Declares seven new launch arguments.
- Forwards them to the included
hunter_baselaunch.
| File | Description |
|---|---|
hunter_pltf_bringup/launch/hunter_pltf_bringup.launch.py |
Adds and forwards Hunter base configuration options. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| odom_topic_name = LaunchConfiguration('odom_topic_name', default='odom') | ||
| cmd_vel_topic = LaunchConfiguration('cmd_vel_topic', default='/cmd_vel') | ||
| robot_model = LaunchConfiguration('robot_model', default='hunter2') | ||
| simulated_robot = LaunchConfiguration('simulated_robot', default='false') |
| 'odom_frame': odom_frame, | ||
| 'base_frame': base_frame, | ||
| 'odom_topic_name': odom_topic_name, | ||
| 'cmd_vel_topic': cmd_vel_topic, |
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 adds several new launch arguments to the
hunter_pltf_bringup.launch.pylaunch file, increasing its configurability and flexibility. These arguments allow users to customize important parameters such as CAN bus interface, frame IDs, topic names, robot model, and simulation settings directly from the launch command line, making the launch process more adaptable to different deployment scenarios.New launch argument additions and integration:
LaunchConfigurationvariables forport_name,odom_frame,base_frame,odom_topic_name,cmd_vel_topic,robot_model, andsimulated_robotwith sensible default values to the launch file.DeclareLaunchArgumentfor each of the above parameters, providing descriptions for clarity and usability.hunter_base_nodenode parameters, ensuring these values are passed through to the node at launch time.