Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Battery Usage Simulation in Gazebo

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.

Thanks