Skip to content

Add launch configuration parameters for robot model and simulation se… - #28

Merged
marc-hanheide merged 1 commit into
mainfrom
hunter_riseholme
Oct 7, 2026
Merged

marc-hanheide merged 1 commit into
mainfrom
hunter_riseholme

Conversation

@marc-hanheide

Copy link
Copy Markdown
Member

This pull request adds several new launch arguments to the hunter_pltf_bringup.launch.py launch 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:

  • Added new LaunchConfiguration variables for port_name, odom_frame, base_frame, odom_topic_name, cmd_vel_topic, robot_model, and simulated_robot with sensible default values to the launch file.
  • Declared the new launch arguments using DeclareLaunchArgument for each of the above parameters, providing descriptions for clarity and usability.
  • Integrated the new launch arguments into the hunter_base_node node parameters, ensuring these values are passed through to the node at launch time.
  • Registered the new launch arguments with the launch description so they are available when the launch file is executed.

Copilot AI balanced review requested due to automatic review settings October 7, 2026 11:46
@marc-hanheide
marc-hanheide merged commit eb2de83 into main Oct 7, 2026
@marc-hanheide
marc-hanheide deleted the hunter_riseholme branch October 7, 2026 11:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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 Medium severity

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_base launch.
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,
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.

3 participants