akbarpasha / team6718-1

Git repo for FRC team 6718 (Oakland Tech)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploying Code to the Robot

  1. Plug the USB cord into the robot and computer, and make sure the robot is turned on.
  2. Write the code in python and save the file as robot.py
  3. Open the Command Prompt and "change directory" to the location where you saved the robot.py file. For example, if the file is saved on the desktop, you would type the command cd Desktop
  4. Copy the file to the robot using the command scp robot.py lvuser@roborio-6718-frc.local:/home/lvuser/py
  5. Login to the robot using the command ssh lvuser@roborio-6718-frc.local
  6. "Change directory" to the one that contains the robot.py file with the command cd /home/lvuser/py
  7. Run the code with the command python3 robot.py run
  8. Open the FRC Drivers Station program and click "Start" to run the code.

About

Git repo for FRC team 6718 (Oakland Tech)


Languages

Language:Java 93.7%Language:Python 6.3%