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

GaitTypes not working properly #11

Closed
Velt1 opened this issue Jul 26, 2023 · 4 comments
Closed

GaitTypes not working properly #11

Velt1 opened this issue Jul 26, 2023 · 4 comments

Comments

@Velt1
Copy link

Velt1 commented Jul 26, 2023

I have the Go1 EDU and the GaitType CLIMB_STAIR acts like the running mode. The TROT_OBSTACLE makes my robot walk very weird, like it would fall every moment. And I also wanted to ask what the Speed Levels do?

@MAVProxyUser
Copy link
Collaborator

@Velt1 what is the expected behavior? Does the normal Unitree SDK do something different? Please verbosely explain what happens when you attempt the same thing via the OEM SDK.

Could be a typo. Edit enums.py and set TROT_OBSTACLE to 4, and try again. Let me know the result of your test.
image

@Velt1
Copy link
Author

Velt1 commented Jul 27, 2023

Yeah it works like that:
class GaitType(Enum):
IDLE = 0
TROT = 1
TROT_RUNNING = 2
CLIMB_STAIR = 3
TROT_OBSTACLE = 4

But do I have to pay attention to some parameters when using the climb stairs mode?
Because sometimes it just falls down

@MAVProxyUser
Copy link
Collaborator

How does it behave with Unitree SDK? I suspect the safety limits are getting triggered perhaps? Someone needs to put some initiative in to implementing them. #7

MAVProxyUser added a commit that referenced this issue Aug 1, 2023
@MAVProxyUser
Copy link
Collaborator

First issue was fixed here. a83f21c after testing with the normal SDK, let us know how it handles, and open a new issue if you think the Safety Limits are being exceeded, or something else causing the falling. do you have any log file entries when this happens from the dog?

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

2 participants