Skip to content

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

@mikeferguson

Description

@mikeferguson

What happened?

The values used for battery_state.power_supply_status should use constants from POWER_SUPPLY_STATUS_* - 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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions