Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1. Missing instruction of getting the instance of the body in python 2. Cannot import name 'ChassisControl' from 'pymycobot' #36

Open
SJoJoK opened this issue Aug 17, 2024 · 0 comments

Comments

@SJoJoK
Copy link

SJoJoK commented Aug 17, 2024

I can get the instance of left/right arm by

ml = Mercury("/dev/left_arm")
mr = Mercury("/dev/right_arm")

but how can i get the instance of the body so that I can rotate the neck?

>>> from pymycobot import ChassisControl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'ChassisControl' from 'pymycobot' (/home/elephant/.local/lib/python3.8/site-packages/pymycobot/__init__.py)

the version of pymycobot is 3.5.0b15

@SJoJoK SJoJoK changed the title 1. Missing instruction of getting the instance of the body in python 2. annot import name 'ChassisControl' from 'pymycobot' 1. Missing instruction of getting the instance of the body in python 2. Cannot import name 'ChassisControl' from 'pymycobot' Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant