ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It works, but when I use command lines I have to write a option of a integer list in which each one sends a message for different actions, for example 1 writes hello world, 2 writes have a nice day and 3 writes goodbye.
My command line is something like this
$ rostopic pub -1 /pkg_topic /pkg_executable_file/Message -- 1 "none"
So I write the launch file like this
<node pkg="rostopic" type="rostopic" name="arbitrary_name" args="pub /pkg_topic pkg_executable_file/message > -- 1 " output="screen"/>
When I try to add the last two commands the window closes.
2 | No.2 Revision |
It works, but when I use command lines I have to write a option of a integer list in which each one sends a message for different actions, for example 1 writes hello world, 2 writes have a nice day and 3 writes goodbye.
My command line is something like this
$ rostopic pub -1 /pkg_topic /pkg_executable_file/Message -- 1 So I write the launch file like this
<node pkg="rostopic" type="rostopic" name="arbitrary_name" args="pub /pkg_topic pkg_executable_file/message > -- 1 " output="screen"/>output="screen"/>
When I try to add the last two commands the window closes.