Commit fe1063dc authored by Aadil M. Alli's avatar Aadil M. Alli

Update Guide_Running

parent b4ba276c
Running commands made in python for Alphabot Running commands made in python for Alphabot
-Python files must be saved as executable scripts in order to run if you are creating your own -Python files must be saved as executable scripts in order to run if you are creating your own
-Alphabot Class file (AlphaBot2.py) must be in the same folder location as desired script in order to run -Alphabot Class file (AlphaBot2.py) must be in the same folder location as desired script in order to run
1 - Open terminal and navgiate to folder of script
1 - Access the Alphabot
Find address on white sticker of robot
SSH into the robot
ssh pi@(address)
ssh pi@10.26.0.75
2 - Navgiate to folder of script
cd ~/code/AlphaBot2/AlphaBot2/python cd ~/code/AlphaBot2/AlphaBot2/python
2 - Call specific name of folder in order to run the command inside
3 - Call specific name of folder in order to run the command inside
sudo python (name of py file).py
To run the forward function: To run the forward function:
sudo python 1forward.py sudo python 1forward.py
...@@ -19,4 +36,4 @@ Running commands made in python for Alphabot ...@@ -19,4 +36,4 @@ Running commands made in python for Alphabot
To run the line following function: To run the line following function:
sudo python Line_Follow.py sudo python Line_Follow.py
sudo python (name of py file).py
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment