UbiquityRobotics / ubiquity_motor

Package that provides a ROS interface for the motors in UbiquityRobotics robots
BSD 3-Clause "New" or "Revised" License
25 stars 24 forks source link

Battery Power Supply Status for Magni Robot #49

Closed Vuwij closed 3 years ago

Vuwij commented 5 years ago

https://forum.ubiquityrobotics.com/t/battery-power-supply-status-for-magni-robot/196

UbiquityRobotics/ubiquity_motor/blob/c084edfc796ed05224765634dd18618d019014c9/src/motor_hardware.cc

Line 154 shows that the battery power supply status is always marked as unknown. It would be very helpful if it is possible to indicate the battery power supply status of the robot. This can be especially helpful for automating robots and putting a safety for when the robot is charged or not. If we were to use the robot in a delivery scenario for example. It is also helpful for a UI to know if the robots are being charged or not.

mjstn commented 4 years ago

We cannot currently know if the robot is being charged. We do not have a directional current sense between the XLR jack and the battery. Voltage alone cannot tell us if we are charging although it can tell is if we are hooked to a charger and fully charged we cannot tell if we are in some other state of charging where we are not full yet.

mjstn commented 3 years ago

This is a feature not possible with our hardware or software. We will be pushing this feature to our next generation robot platform that is in development now.