Hi @roboor ,
You are right, we don’t provide the charging/discharging status for the robot and therefore did not include it to the stretch_robot_battery_check.py
tool.
But Stretch 2 has a mechanical switch in its charge port that is tied to robot_status['pimu']['charger_connected']
which allows you to detect if the charger gets connected.
Stretch RE1 doesn’t have this switch and therefore this value will always be zero. You can refer to this forum post.
Best,
Mohamed Fazil