KubeEdge4Robotics / robosdk

An Open Source SDK for Robotics
Apache License 2.0
8 stars 0 forks source link

🐛 #8

Open jaypume opened 1 year ago

jaypume commented 1 year ago

Description

Robot dot ysc x20 connect failed.

Screenshots

image

To Reproduce

Steps to reproduce the behavior:

Follow the example code from examples/ysc_x20/auto_gait_change/main.py

class Detection:
    def __init__(self):
        self.robot = Robot(name="dog", config="ysc_x20")
        self.robot.connect()

And I have tried to add the log to robosdk/control/legged/ysc_control.py

    def connect(self):
        print("enter to =================")
        self.commander.__enter__()

But unfortunately, the log didn't appear.

Expected Behavior

it can connected success and run the following code.

Environment

Additional Context

JoeyHwong-gk commented 1 year ago

Thank you for reporting this issue. I've verified the problem you've mentioned. We'll investigate and resolve it promptly.