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

Fix commands problem #191

Closed
glannuzel opened this issue Jan 24, 2024 · 0 comments · Fixed by #195
Closed

Fix commands problem #191

glannuzel opened this issue Jan 24, 2024 · 0 comments · Fixed by #195
Assignees

Comments

@glannuzel
Copy link
Member

When sending goal_position, it may happen some commands are not taken into account (not correctly updated on server side):
Doing:

for joint in reachy.joints.values():
        joint.goal_position = 0

sometimes r_wrist.roll or r_shoulder.roll are not correctly updated (only joints to be sent in a first message, all other joints are sent in a second message)

The problem is increased doing:

for joint in reachy.joints.values():
        joint.goal_position = 0
        time.sleep(0.01)

where each joint is sent in a single message, all orbita2d axis1 and orbita3d roll and pitch can sometimes be overwritten by an older goal_position.

@glannuzel glannuzel self-assigned this Jan 24, 2024
@glannuzel glannuzel linked a pull request Jan 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant