Software
rmf_battery
By open-rmf, from github.com/open-rmf/rmf_battery (opens in a new tab)
- Middleware
- Library
- Apache-2.0
A C++ library for modelling a robot's battery life, covering the battery, mechanical and power systems and the energy drawn by devices and by motion.
Facts
- GitHub stars
- 4read on 29 Nov 2026
- Last update
- 18 Nov 2026Newest commit on main
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE.md (opens in a new tab) (Apache-2.0) at commit 37eb47d (opens in a new tab), on 22 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Bundles battery parameters and physical parameters of a robot into reusable system classes.
- Models the state-of-charge change caused by a power-consuming onboard device over a duration.
- Estimates battery drain from the energy needed to accelerate or decelerate a robot along a trajectory.
- Provides simple out-of-the-box implementations of the device and motion power sinks.
- Includes an abstract base class so other power models can be plugged in.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 18 Nov 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/open-rmf/rmf_battery (opens in a new tab)
- The version Robotheca read37eb47d (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca read the repository at two versions: the summary at e2321b4 and the facts and the README at 37eb47d (read on 29 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by open-rmf, at commit 37eb47d, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
rmf_battery
The rmf_battery package provides the following APIs to model a robot's battery life.
- rmf_battery::agv::BatterySystem (opens in a new tab) which bundles parameters related to the battery onboard a robot.
- rmf_battery::agv::MechanicalSystem (opens in a new tab) which bundles physical parameters of a robot.
- rmf_battery::agv::PowerSystem (opens in a new tab) to model a component onboard a robot with a specified power rating.
- rmf_battery::DevicePowerSink (opens in a new tab) is a pure abstract class to model the change in state-of-charge of the robot's battery from a power consuming device onboard the robot.
- rmf_battery::agv::SimpleDevicePowerSink (opens in a new tab) is a simple out-of-the-box implementation of
rmf_battery::DevicePowerSink. This class wraps aBatterySystemandPowerSystemof a robot, and can estimate the change in state-of-charge of the battery from thePowerSystem'senergy consumption over a duration.
- rmf_battery::agv::SimpleDevicePowerSink (opens in a new tab) is a simple out-of-the-box implementation of
- rmf_battery::MotionPowerSink (opens in a new tab) to model the change in state-of-charge of the robot's battery resulting from the motion of the robot.
- rmf_battery::agv::SimpleMotionPowerSink (opens in a new tab) is a simple out-of-the-box implementation of
rmf_battery::MotionPowerSink. This class wraps aBatterySystemandMechanicalSystemof a robot, and can estimate the change in state-of-charge of the battery from the energy consumed to accelerate/decelerate a robot as it moves along a trajectory.
- rmf_battery::agv::SimpleMotionPowerSink (opens in a new tab) is a simple out-of-the-box implementation of
Full API documentation is available here (opens in a new tab)
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.