Interbotix / interbotix_ros_core

Core ROS Packages for Interbotix Robots
BSD 3-Clause "New" or "Revised" License
30 stars 57 forks source link

[Bug]: Slate: BatteryState message does not follow standard conventions #53

Open mikeferguson opened 1 month ago

mikeferguson commented 1 month ago

What happened?

The values used for battery_state.power_supply_status should use constants from POWER_SUPPLYSTATUS* - instead they are using a different set of states (that are really the "robot" state) defined in serial_driver.hpp

The unused fields should also be filled in with NANs as noted in the message definition

Robot Model

Slate

Operating System

Ubuntu 22.04

ROS Distro

ROS 2 Rolling

Steps To Reproduce

No response

Relevant log output

No response

Additional Info

No response