ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Battery Usage Simulation in Gazebo

asked 2015-10-06 09:39:44 -0600

GGabria gravatar image

Hi All

What is best practice in simulating a robot's battery usage in gazebo?

I have a robot, and therefore a general "model" plugin for it. Should I be crating a sensor plugin to simulate battery usage? OR Should I be creating a model plugin for the same robot? Can a robot have multiple model plugins?

The goal is to have this information be generated and output to battery status topics to the ROS world.

It would be nice to have the code reusable for other robots.


edit retag flag offensive close merge delete


Hello GGabria, i'm searching the same in python. Did you find it?

moshimojo gravatar image moshimojo  ( 2017-09-19 14:26:29 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-05-19 18:40:37 -0600

This is a Gazebo plugin that simulates an open-circuit battery model. This is a fairly extensible and reusable battery plugin for any kind of Gazebo compatible robots:

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: 2015-10-06 09:39:44 -0600

Seen: 1,072 times

Last updated: Oct 06 '15