ultrasonic sensor connected to GoPiGo Board's analog portThe GoPiGo Robot machine is at nowadays laid upwardly to hold upwardly programmed to execute commands. To programme the GoPiGo Robot Car I volition hold upwardly using the Python programming language. Here are the steps to source programming the GoPiGo Board:
Step 1) Go to your Internet browser, type in http://dex.local/ too Launch VNC
Step 2) Click on GoPiGo folder, correct click too choose Empty File to attain a file (I called it test.py). You tin give the sack telephone outcry upwardly it anything you lot desire simply hold upwardly certain to add together ".py" at the end.
Step 3) Write the next lines of code too hence salve the file:
from gopigo import *
Step 5) Notice the directory place of test.py, which is /home/pi/Desktop/GoPiGoLocal/test.py Therefore, nosotros type inwards cd Desktop/ >cd GoPiGoLocal >sudo python test.py to execute the command.
Step 6) The wheels volition spin forwards too backwards too hence stop. That's it!
The upcoming Part v volition hold upwardly about remote controlling the GoPiGo Robot Car amongst a desktop keyboard. Stay tuned!