-
 
No version for distro humble. Known supported distros are highlighted in the buttons above.

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

Package Summary

Tags No category tags.
Version 1.0.0
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 2024-08-14
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.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

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

Package Summary

Tags No category tags.
Version 1.0.0
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 2024-08-14
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.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. Known supported distros are highlighted in the buttons above.
No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro foxy. Known supported distros are highlighted in the buttons above.

battery_state_broadcaster package from ros_battery_monitoring repo

battery_state_broadcaster battery_state_rviz_overlay

Package Summary

Tags No category tags.
Version 1.0.0
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 2024-08-14
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.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. Known supported distros are highlighted in the buttons above.
No version for distro jade. Known supported distros are highlighted in the buttons above.
No version for distro indigo. Known supported distros are highlighted in the buttons above.
No version for distro hydro. Known supported distros are highlighted in the buttons above.
No version for distro kinetic. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.