Subscribing to /rosout topic
Is there a way I can write a node to subscribe the log messages from the /rosout topic and save in a HTML file?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a way I can write a node to subscribe the log messages from the /rosout topic and save in a HTML file?
That should be pretty easy to do in Python (and only slightly more difficult in C++). For the subscription part, you can start with the subscriber example, but adapt it to subscribe to rosgraph_msgs/Log messages on /rosout_agg
instead of std_msgs/String
messages on /chatter
. There's some more details about rosout on the wiki page. For the file writing part, you can either use an XML or HTML writer in Python (a search engine will turn up many) or use regular file I/O and hand-code the HTML.
Asked: 2017-07-18 10:39:54 -0500
Seen: 974 times
Last updated: Jul 21 '17
Offline node subscribers of generated messages
joint_states_aggregator and joint_state_publisher
API to know whether node is active or not
Sending data stream in sync with video
ros_tutorials roscpp talker/listener loses first message or two
Is there a way to subscribe to tf data?
ROS Serialization Values Error
ROS node bridge for publish special topics over the internet