diff --git a/controller/packagesrc/client.py b/controller/packagesrc/client.py index 6799629..d6dd3b7 100644 --- a/controller/packagesrc/client.py +++ b/controller/packagesrc/client.py @@ -254,6 +254,9 @@ class Commander: """ return self._do('robotic_gripper status ?') + def robot_battery(self) -> int: + return self._do('robot battery ?') + def get_ip(self) -> str: """ 返回机甲IP。