Skip to content

[TB4/Create3] /battery_state topic time stamp and data repeated 17 times? #243

Closed Answered by alsora
slowrunner asked this question in Questions
Discussion options

You must be logged in to vote

This should be by design.

The Create 3 battery sensor provides new information roughly every 2 minutes (to be more precise, it gives new information when the data changes, which depends on the current load on the battery)
The Create 3 robot publishes on ros the battery information 1) when received from the sensor and 2) at a fixed 10 seconds interval.

The fixed interval publication was requested by Turtlebot developers to simplify how battery data is displayed on the screen.
Without it, you may have to wait a few minutes before receiving the first battery message upon startup of the system.

The timestamp in the battery message indicates when that data was collected by the sensor, not when…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by slowrunner
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forum_create3_api Forum post about how to use Create 3 APIs
2 participants