ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Looking at the rostopic source code, it appears that even if this could work, it might not process the input as a stream, but will buffer it and issue the messages in one shot.

It seems the proper answer to this is to write a node capable of receiving STDIN. I've done this:

http://notsourgent.com/ros/turtle_stdin.py

Looking at the rostopic source code, it appears that even if this could work, it might not process the input as a stream, but will buffer it and issue the messages in one shot.

It seems the proper answer to this is to write a node capable of receiving STDIN. I've done this:

http://notsourgent.com/ros/turtle_stdin.py
http://notsourgent.com/ros/turtle_stdin.txt