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

Only send one command at a time. #1

Open
JamesNewton opened this issue Mar 30, 2020 · 0 comments
Open

Only send one command at a time. #1

JamesNewton opened this issue Mar 30, 2020 · 0 comments

Comments

@JamesNewton
Copy link

DexRun.c (on the robot) only processes one command at a time and signals completion by returning a status. Your current send command doesn't check that the status has been returned before it sends the next command. If you send a command that takes a bit to complete, then send another command, it will miss the second command, or try to execute it when the first is still working. You should change the send command so it queues up commands, and sends each one after the prior commands status has been returned.

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