Skip to content

Added async io, action until keyup#112

Closed
casten wants to merge 2 commits intoDexterInd:masterfrom
casten:master
Closed

Added async io, action until keyup#112
casten wants to merge 2 commits intoDexterInd:masterfrom
casten:master

Conversation

@casten
Copy link
Copy Markdown

@casten casten commented Jan 1, 2016

I had wished the example controller stopped the action when you released the key. This is via the pygame library which seems to be preinstalled on my GoPiGo. Since keyup triggers stop, I removed the stop key handling. Finally, since I'm using a blocking call, no repl style interface is needed, so I think that is a little cleaner.
It seems to work pretty well.

@karan259
Copy link
Copy Markdown
Contributor

karan259 commented Jan 4, 2016

Hi casten,
Thanks for the pull. I just tried it out and it does indeed look a much better way to control the GoPiGo. The basic_robot_control project is being used as a reference by a lot of users who are starting out with the GoPiGo so I think it would be better to not change it.

So, I took your example, modified it a bit and made a new project folder for it here #114 . Do try it and let me know if it looks good and feel free to make changes to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants