Hi everybody, this week we changed from preprogrammed automated robots to remote-controlled robots. We converted our simple Pygame script from last week which controlled a small rectangle on our screens so it could control our robots.
As Pygame needs a screen to operate we had to get VNC going before we could start, I think we had it working for most people by the time the session ended. VNC will be a hugh advantage to us as we start to write more code as we can use a mouse and copy and paste with a GUI text editor instead of Nano on Putty.
We also added a webcam to our robots which worked well, we would probably need to work on mounting them properly if we wanted to use them for real life applications.
Here is a video of them in action.
I will go over the code again next week, if you want to take a look at the code check out pygame_robot.py and robot_cam.py here.
We will leave robots for a while and go back to basic electronics for the next few weeks.