https://github.com/jaustinpage/frc_rekt
FRC Robot Electrical and Kinematic Tool - This is a tool for modeling the electrical and kinematic properties of an FRC robot. It aims to make predictions about how a robot's electrical system would respond to loads, in particular motors, and predict the effects of those loads.
https://github.com/jaustinpage/frc_rekt
electrical-system frc frc-rekt frc-robot kinematics model
Last synced: over 1 year ago
JSON representation
FRC Robot Electrical and Kinematic Tool - This is a tool for modeling the electrical and kinematic properties of an FRC robot. It aims to make predictions about how a robot's electrical system would respond to loads, in particular motors, and predict the effects of those loads.
- Host: GitHub
- URL: https://github.com/jaustinpage/frc_rekt
- Owner: jaustinpage
- License: mit
- Created: 2017-03-26T16:32:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T19:07:14.000Z (over 7 years ago)
- Last Synced: 2025-03-24T21:51:11.259Z (over 1 year ago)
- Topics: electrical-system, frc, frc-rekt, frc-robot, kinematics, model
- Language: Python
- Homepage:
- Size: 124 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
frc_rekt - FRC Robot Electrical and Kinematic Tool
==================================================
[](https://circleci.com/gh/jaustinpage/frc_rekt) [](http://frc-rekt.readthedocs.io/en/latest/?badge=latest)
This is a tool for modeling the electrical and kinematic properties of an
FRC robot. It aims to make predictions about how a robot's electrical system
would respond to loads, in particular motors, and predict the effects of
those loads.
This tool uses data from [motors.vex.com](http://motors.vex.com/).
Dependencies
------------
Depending on your os, you may have to install these yourself.
* [Python 3.4+](https://www.python.org/downloads/)
* [Pip](https://pypi.python.org/pypi/pip) (Note: should come with Python)
* [Venv](https://docs.python.org/3/tutorial/venv.html) (Note: should also
come with Python)
* [pandas](http://pandas.pydata.org/pandas-docs/stable/install.html)
* [motors.vex.com](http://motors.vex.com/) (Note: no need to download by
hand)
Setup
-----
1. Install the dependencies listed above, e.g. `
make dependencies`
1. Create a virtual environment `
python3 -m venv ./env # Keeps your packages separate`
1. Activate the virtual environment `
source env/bin/activate`
1. Install python dependencies `
pip3 install --upgrade pip;
pip3 install -r requirements.txt`
1. Download motor curve data from vex `
cd vex_data/
./download_curves.py`
Running
-------
Until a proper package is created, this can be run manually. First, activate
the venv with `source env/bin/activate`. Then `./*.py` to run a module.
Developing
----------
Write good code. Before uploading, run `make prep` if you are on linux to
prepare and run tests. Note: This will auto-format your files, so you probably
want to run this before you commit.
If pylint complains about misspelled words that are not misspelled, run
`make add_words_to_pylint` and the words that pylint is complaining about will
be added to the dictionary. Make sure you add the modified
.pylint_spelling_dict file to your commit, or you will not pass circleci.
Testing
-------
run `make prep` to run tests locally.
Other
-----
Find a bug? Algorithm doesn't work? Make an issue on github, and we will try to
fix it.