https://github.com/virtuald/frc-robotpy-workshop
Slides + Code for RobotPy workshop
https://github.com/virtuald/frc-robotpy-workshop
Last synced: about 1 month ago
JSON representation
Slides + Code for RobotPy workshop
- Host: GitHub
- URL: https://github.com/virtuald/frc-robotpy-workshop
- Owner: virtuald
- Created: 2014-12-13T04:24:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-11T12:17:42.000Z (almost 10 years ago)
- Last Synced: 2025-01-26T11:09:00.466Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 998 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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)