battery_state_broadcaster package from ros_battery_monitoring repobattery_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
Additional Links
Maintainers
- Jonas Otto
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 for package battery_state_broadcaster
1.0.0 (2024-08-14)
- initial release
- Contributors: Jonas Otto
Wiki Tutorials
Package Dependencies
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange
battery_state_broadcaster package from ros_battery_monitoring repobattery_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
Additional Links
Maintainers
- Jonas Otto
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 for package battery_state_broadcaster
1.0.0 (2024-08-14)
- initial release
- Contributors: Jonas Otto
Wiki Tutorials
Package Dependencies
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged battery_state_broadcaster at Robotics Stack Exchange
battery_state_broadcaster package from ros_battery_monitoring repobattery_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
Additional Links
Maintainers
- Jonas Otto
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 for package battery_state_broadcaster
1.0.0 (2024-08-14)
- initial release
- Contributors: Jonas Otto