1. OpenSourceRoboticsFoundation
  2. Simulation
  3. gazebo
  4. Pull requests

Pull requests

#1872 Merged at 676efbf
Repository
Branch
battery_nate
Repository
Branch
default

Add battery class (redo of pull request #1782)

Author
  1. Nathan Koenig
Reviewers
Description

I took Olivier's great contribution (see pull request #1782 for his description of the code), and moved the Battery class to common.

Olivier Crave Can you take a look at this? I believe the functionality should be the same.

Comments (21)

      1. Olivier Crave

        We are building a drone (bebop first) simulator for internal use only. Its purpose is to help our development teams to test their algorithms in an environment where our firmware communicates with simulated captors and actuators. Gazebo is a key component of this environment.

  1. Carlos Agüero

    I was thinking if it would be interesting to publish a topic with the battery name and its voltage. I see use cases but probably it's OK as it is. You can always do it if you need it and you don't introduce overhead.

  2. Louise Poubel

    The battery seems to keep on being consumed even after the voltage is over, so the voltage goes negative. I also observed that sometimes after a few steps it might go back to positive, but eventually it settles at zero.

    battery.png