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

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
1

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

Comments

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
0

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

Humpelstilzchen gravatar image

You can also use diagnostic_msgs.

edit flag offensive delete link more
0

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 http://wiki.ros.org/linux_hardware package contains a LaptopCharge message.

edit flag offensive delete link more
0

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
0

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

Question Tools

1 follower

Stats

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

Seen: 2,914 times

Last updated: Jun 04 '17