Skip to content

rmf_battery

  • Software
  • Middleware
  • Library

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.

Made by open-rmf.

Source on GitHub: github.com/open-rmf/rmf_battery (opens in a new tab). Facts read at commit e2321b4 (opens in a new tab).

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 e2321b4 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • 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.

Written by Robotheca from the project's README (opens in a new tab) at commit e2321b4.

Getting started

Difficulty
Advanced

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
12 Oct 2026 on main
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.