Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can I run a bash script using roslaunch?

I read answers.ros.org/question/12327/is-there-a-way-to-wait-for-certain-topics-to-be-published-in-a-launchfile/ and answers.ros.org/question/33772/run-shell-command-from-launch-script/ questions and I am confused. I see people mention the possibility of running bash scripts via .launch files, but I can't find any documentation describing how to do it. Is it even possible?

(I'm trying to delay the launch of a gpsd_client node because during startup it scans and usurps other serial ports.)

Can I run a bash script using roslaunch?

I read answers.ros.org/question/12327/is-there-a-way-to-wait-for-certain-topics-to-be-published-in-a-launchfile/ and answers.ros.org/question/33772/run-shell-command-from-launch-script/ questions and I am confused. I see people mention the possibility of running bash scripts via .launch files, files but I can't find any documentation describing how to do it. Is it even possible?

(I'm trying to delay the launch of a gpsd_client node because during startup it scans and usurps other serial ports.)

Can I run a bash script using roslaunch?

I read answers.ros.org/question/12327/is-there-a-way-to-wait-for-certain-topics-to-be-published-in-a-launchfile/ http://answers.ros.org/question/12327/is-there-a-way-to-wait-for-certain-topics-to-be-published-in-a-launchfile/ and answers.ros.org/question/33772/run-shell-command-from-launch-script/ http://answers.ros.org/question/33772/run-shell-command-from-launch-script/ questions and I am confused. I see people mention the possibility of running bash scripts via .launch files but I can't find any documentation describing how to do it. Is it even possible?

(I'm trying to delay the launch of a gpsd_client node because during startup it scans and usurps other serial ports.)