Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

How to pass an argument to roslaunch file from shell script?

$
0
0
I have a shell script that takes some input from the user in the form of arguments and executes a launch file with some nodes. One of these nodes is a `rosbag record`. Currently, I have hardcoded the output directory for the recorded bag, but I'd like to parametrize this and let the user decide where to store the folder from the shell script. I start the node like this at the moment: `` I cannot figure out how to to pass this `args` from a shell script. Any ideas? it should be possible...

Viewing all articles
Browse latest Browse all 475

Trending Articles