Skip to content

🐛  #8

@jaypume

Description

@jaypume

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

  • RoboSDK version (e.g., v0.1.1a1): (0bb7903)
  • RoboSDK scenario (Gazebo, Pybullet): Jueying X20 Robot Dog.
  • RoboSDK component (Simulation, RL, Distributed Training): None
  • How you installed RoboSDK (pip, source): source
  • OS (Linux, Windows, macOS): Linux
  • Robot Type (ysc-X20, Turtlebot3): ysc-X20
  • Python version (3.6, 3.7): 3.8.10
  • CPU/GPU: CPU
  • Any other relevant information:

Additional Context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions