Robotics StackExchange | Archived questions

How do you create a log of published messages?

I'm completely new to robotics and software as a hobby. I've got my robot up and running and I'm trying to create a log file for specific messages in "create_autonomy".

I'm hoping to log this once a minute in the terminal window or a .txt file

Any ELI5 help would be awesome, I'm not sure where to start

This video ends at what I'm trying to do https://www.youtube.com/watch?v=T4KRgNBRA2U&t=9s

Asked by hannah1 on 2020-02-02 13:13:00 UTC

Comments

Answers

You could either simply modify the driver to log that information with a ROS_LOG_THROTTLE set at 1 second when you publish that information or create another ROS node to subscribe to that information with the same log.

Asked by stevemacenski on 2020-02-02 16:42:20 UTC

Comments