Ask Your Question

are there standard battery level messages in ROS

asked 2014-09-18 05:01:16 -0600

mherrb gravatar image

for developping low level interfaces for a new robot, are there existing standard messages for battery level (in %) or voltage, or thresholds (low) / flags (charging / dis-charging) ?

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted

answered 2017-06-04 11:55:57 -0600

tfoote gravatar image

We added a BatteryState message in sensor_msgs

edit flag offensive delete link more


Dear can you give some hardware connection example to read battery status from Arduino.

shahbaz.ele gravatar image shahbaz.ele  ( 2021-03-31 01:58:28 -0600 )edit

This is very different than the topic of this question. Please don't ask questions in the comments on this site. If you have a question please ask it as a full question.

Related, this looks like a good question for an Arduino forum and not a ROS forum as your question doesn't appear to be ROS related, it would likely be closed as off topic.

tfoote gravatar image tfoote  ( 2021-03-31 13:08:27 -0600 )edit

answered 2014-09-18 06:52:45 -0600

dornhege gravatar image

For the turtlebot dashboard the laptop battery status is send as a message and also via diagnostics. The package contains a LaptopCharge message.

edit flag offensive delete link more

answered 2014-09-18 11:32:56 -0600

BennyRe gravatar image

The Neobotix driver and the p2os package both have battery state messages.

However non of them is some sort of standard.

edit flag offensive delete link more

answered 2015-07-09 21:08:10 -0600

Daniel Stonier gravatar image

From indigo onwards, there is a standard battery message type in the ros-drivers umbrella.

edit flag offensive delete link more

answered 2015-07-10 02:23:33 -0600

Humpelstilzchen gravatar image

You can also use diagnostic_msgs.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-18 05:01:16 -0600

Seen: 2,303 times

Last updated: Jun 04 '17