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

Is there a way in launch.py to use $(var arg) to pass text arguments from file A to file B? #621

Closed
miku54 opened this issue Jun 18, 2022 · 1 comment

Comments

@miku54
Copy link

miku54 commented Jun 18, 2022

  • Operating System:
    -Ubuntu20.04
  • Version or commit hash:
    • Galactic

Steps to reproduce issue

ROS1 :
<launch>
<arg name="car_mode"  default="" />
  <node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen">
    <rosparam file="$(find catkin_ws)/costmap_params/param_$(arg car_mode)/teb_local_planner_params.yaml"  command="load"/>
  </node>
</launch>

How can I implement the function of param_$(arg car_mode) in ROS2?

@clalancette
Copy link
Contributor

Please open questions like this on https://answers.ros.org. You'll get a better answer, and the answer will be saved and searchable in the future. Closing this one.

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

No branches or pull requests

2 participants