Running commands made in python for Alphabot



-If you are creating your own code it must be saved as an executable script
-You can use 1_template for the basic layout
-FILE PERMISSIONS MUST BE CHANGED: Right click file > Properties > Permissions > Execute > Anyone or your choice  
-Alphabot Class file (AlphaBot2.py) must be in the same folder location as desired code in order to run as the bot relies on functions from this class




1 - Access the Alphabot

    Find address on white sticker of robot 
    SSH into the robot and enter password
    SSH device and robot must be on the same wifi network in order to work

    ssh pi@(YOUR ADDRESS)
    ssh pi@10.26.0.75
    


2 - Navgiate to the folder of command stored in the raspberry pi of the Alphabot 

    cd ~/code/AlphaBot2/AlphaBot2/python



3 - Call specific name of folder in order to run the command inside

    sudo python (YOUR PY FILE NAME)

    To run the forward function:
    sudo python 1forward.py
    
    To run the line following function:
    sudo python Line_Follow.py