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

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.

Thanks

edit retag flag offensive close merge delete

Comments

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
0

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: https://github.com/pooyanjamshidi/brass_gazebo_battery

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,328 times

Last updated: Oct 06 '15