Skip to content

virtuald/frc-robotpy-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RobotPy Workshop

Requirements (all platforms)

Go to python.org, download and install Python 3. Will require admin access on your machine.

https://www.python.org/downloads/

Requirements (Windows)

Next, install pyfrc via pip (requires internet). Open up the command prompt:

py -3 -m pip install pyfrc

Requirements (OSX)

Next, install pyfrc via pip (requires internet). Open up a terminal and do one of the following:

OSX (admin access):

sudo pip3 install pyfrc

OSX (no admin access):

pip3 install --user pyfrc

Or on the internet:

pip3 install --user pyfrc

Running the code

Command prompt

Once you have the requirements installed, you can run this from a terminal or command prompt.

Don't forget to change directory to where robot.py is!

OSX:

python3 robot.py sim

Linux:

python3 robot.py sim

Or on windows:

py -3 robot.py sim

From Eclipse (with pydev installed)

Open up robot.py, select "Run As" and "Python Run", and make sure to add the 'sim' argument to your run configuration.

More information

RobotPy Documentation is available online at:

http://robotpy.readthedocs.io/
http://pyfrc.readthedocs.io/

There are more RobotPy samples online at

https://github.com/robotpy/robotpy-wpilib/tree/master/examples/examples
https://github.com/robotpy/pyfrc/tree/master/samples

Also see the RobotPy mailing list:

https://groups.google.com/forum/#!forum/robotpy

Author

Dustin Spicuzza (dustin@virtualroadside.com)

About

Slides + Code for RobotPy workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages