Parallel programming in Python?


#1

It would be cool to have the GoPiGo stream everything from the camera while running, say, a maze completion program-- running 2 or more scripts in parallel.

Do you have any notes on how to run browser streaming + any other script at the same time?


#2

@ianturnercms,
The Browser streaming robot does run things in parallel. The browser stream is handled by another software called mjpeg-streamer which is running in the background, and all of it is serverd with a Tornado server and this is the code which handles the gopigo functionality.

You can also use this example to setup streaming and run another python program to control the GoPiGo.