How to rostopic pub multiple line for std_msgs/String type topic
How to use rostopic pub
to publish multiple line
or \n
or \r\r
for std_msgs/String
typed topic.
I tried as YAML commandLine said. but nothing works.
Thank you!!!
$ rostopic pub /send_BTSVR std_msgs/String ['test'] --- ['test2'] ---
Usage: rostopic pub /topic type [args...]
rostopic: error: no such option: ---
$ rostopic pub /send_BTSVR std_msgs/String ['test'] --- ['test2'] ---
Usage: rostopic pub /topic type [args...]
rostopic: error: no such option: ---