No version for distro humble showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
kilted

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
rolling

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro ardent showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro bouncy showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro crystal showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro eloquent showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro dashing showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro galactic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro foxy showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
iron

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro lunar showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro jade showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro indigo showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro hydro showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro kinetic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro melodic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange

No version for distro noetic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 1.0.2
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/ros_battery_monitoring.git
VCS Type git
VCS Version main
Last Updated 2025-06-01
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 Control boradcaster for battery state sensors.

Additional Links

No additional links.

Maintainers

  • Jonas Otto

Authors

No additional authors.

battery_state_broadcaster

This is a ros2_control Broadcaster which publishes sensor_msgs/BatteryState messages from appropriage state interfaces.

Required State Interfaces

This broadcaster requires the robot to have a sensor component which contains the battery state interfaces:

<ros2_control type="system">

    <!-- ... -->

    <sensor name="battery_state">
        <state_interface name="voltage" />
    </sensor>
</ros2_control>

Parameters

To use this broadcaster, declare it in the controller manager and set its parameters:

controller_manager:
  ros__parameters:
    battery_state_broadcaster:
      type: battery_state_broadcaster/BatteryStateBroadcaster

battery_state_broadcaster:
  ros__parameters:
    sensor_name: "battery_state"
    design_capacity: 100.0
    # https://github.com/ros2/common_interfaces/blob/rolling/sensor_msgs/msg/BatteryState.msg
    power_supply_technology: 2

And spawn it in the launch file:

battery_state_broadcaster_spawner = Node(
    package="controller_manager",
    executable="spawner",
    arguments=["battery_state_broadcaster"],
)

Topics

The battery state is published on ~/battery_state. Since it’s a plugin within the controller manager, add a remapping of the form `(“~/battery_state”, “/my_battery_state”) to the controller manager, not the spawner, to change the topic name.

CHANGELOG

Changelog for package battery_state_broadcaster

1.0.2 (2025-06-01)

1.0.1 (2025-02-06)

  • fix realtime_tools include
  • Contributors: Jonas Otto

1.0.0 (2024-08-14)

  • initial release
  • Contributors: Jonas Otto

Wiki Tutorials

This package does not provide any links to tutorials in it's rosindex metadata. You can check on the ROS Wiki Tutorials page for the package.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange