VDA5050 / VDA5050

Official Specification document for the VDA 5050
https://www.vda.de/en/search#%225050%22
MIT License
215 stars 91 forks source link

Ambiguity in batteryState.charging: edge case, charging on full charge #255

Open JWCS opened 11 months ago

JWCS commented 11 months ago

I discovered that for one robot, the charging flag in batteryState is set by whether or not the current draw from the battery is positive (charging) or negative (not charging). But, when a robot gets to full charge, even if its sitting on the charger / in the charging station, it may not be charging. The charger may shutoff the charging, but not let the battery drop below 100% (as I've measured).

If the battery is 100%, and unchanging, therefore implying that the robot is being charged, even though the percentage is not increasing / charging, should the batteryState.charging still report charging?

AntonDueck commented 11 months ago

For me the term charging means to put energy inside the battery. It does not mean to run without battery or from the grind.

So, if the battery stops charging then you can resett the changing flag. Charging is also a property of batteryState and not from non exiting energyState. You could generate an information if your robot is running from the grind.