[0347]_python_Example

tar -zxvf xxxx.tar.gz

tar -zxvf gopigo3-1.1.1.tar.gz

sudo python basic_robot.py

sudo python Motor.py

tar -zxvf gopigo3-test1-0.0.3.tar.gz

pi@raspberrypi:~/GoPiGo/Software/Python/gopigo3-1.1.1/Examples $ python LED.py
Traceback (most recent call last):
File “LED.py”, line 20, in
GPG = gopigo3.GoPiGo3() # Create an instance of the GoPiGo3 class. GPG will be the GoPiGo3 object.
File “build/bdist.linux-armv7l/egg/gopigo3.py”, line 232, in __init__
gopigo3.FirmwareVersionError: GoPiGo3 firmware needs to be version 0.3.x but is currently version 0.2.6

10/13 Fri
gopigo3 1.1.1
https://pypi.python.org/pypi/gopigo3/1.1.1

GoPiGo3 Tutorials & Documentation

Raspbian for Robots Support Page

Raspbian for Robots Support

Raspberry Pi Robot Software

Raspbian For Robots Update

Install Raspbian for Robots on an SD Card for the Raspberry Pi

Install Raspbian for Robots on an SD Card for the Raspberry Pi


>>>
Enter the?password:?robots1234

Five Ways To Run a Program On Your Raspberry Pi At Startup

Five Ways To Run a Program On Your Raspberry Pi At Startup

10/14 Sat
Our Software: Raspbian for Robots

Raspberry Pi Robot Software

Join GitHub today for Dexter
https://github.com/DexterInd/GoPiGo

GoPiGo3/Software/Python/
https://github.com/DexterInd/GoPiGo3/tree/master/Software/Python/Examples

>>>Five Ways To Run a Program On Your Raspberry Pi At Startup

Five Ways To Run a Program On Your Raspberry Pi At Startup

error happened >>>>

pi@dex:~/gopigo3-1.1.1/Examples $ python Motor.py
Traceback (most recent call last):
File “Motor.py”, line 20, in
GPG = gopigo3.GoPiGo3() # Create an instance of the GoPiGo3 class. GPG will be the GoPiGo3 object.
File “/usr/local/lib/python2.7/dist-packages/gopigo3-1.1.1-py2.7.egg/gopigo3.py”, line 232, in __init__
gopigo3.FirmwareVersionError: GoPiGo3 firmware needs to be version 0.3.x but is currently version 0.2.6

answer>>>
https://forum.dexterindustries.com/t/update-the-firmware-on-the-gopigo3/3256
https://forum.dexterindustries.com/t/update-the-firmware-on-the-gopigo3/3256/2

The Desktop – You can click on the Software Update icon, update it if you haven’t updated in the last few months, and then select your robot and update the firmware.

>>>Example

Python Projects

>>>

Python in the GoPiGo3


sudo curl -kL dexterindustries.com/update_gopigo3 | bash
sudo reboot

>>>Examples in Dexter’s Raspbian OS
/home/pi/Dexter/GoPiGo/Software/Python/Examples
>>>
/home/pi/Dexter/GoPiGo/Software/Python/Examples/Browser_Streaming_Robot
sudo chmod +x robot_web_server.py
sudo ./robot_web_server.py
NGGGGGGGGGGG!Error!!!!!!!!!!!!!

/home/pi/Dexter/GoPiGo/Software/Python/Examples/Basic_Robot_Control
sudo chmod +x basic_robot.py
sudo python basic_robot.py
No move!!!!!!!!!!!!

/home/pi/Dexter/GoPiGo3/Software/Python/Examples
sudo chmod +x Motor.py
sudo python Motor.py
NGGGGGGGGGGG!Error!!!!!!!!!!!!!

/home/pi/Dexter/GoPiGo3/Software/Python/Examples
sudo chmod +x easy_LED.py
sudo python easy_LED.py
NGGGGGGGGGGG!Error!!!!!!!!!!!!!

Browser Streaming Robot

/home/pi/Dexter/GoPiGo/Software/Python/Examples/Basic_Robot_Control_GUI
sudo chmod +x basic_robot_gui.py
sudo python basic_robot_gui.py
Now open the browser and enter
$ dex.local/
in the browser and hit enter to start streaming.
You’ll also see some activity in the terminal.

/home/pi/Dexter/GoPiGo3/Software/Python/Examples
sudo chmod +x easy_Motors.py
sudo python easy_Motors.py
NGGGGGGGGGGG!Error!!!!!!!!!!!!!

10/15
(Dexterの画面でupdate、Farmupgradeもやった後)