https://github.com/thedropbears/pysysid
SysId Python robot code for common mechanism types
https://github.com/thedropbears/pysysid
robotpy
Last synced: 4 months ago
JSON representation
SysId Python robot code for common mechanism types
- Host: GitHub
- URL: https://github.com/thedropbears/pysysid
- Owner: thedropbears
- License: mit
- Created: 2024-01-21T03:31:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-02-05T09:14:29.000Z (4 months ago)
- Last Synced: 2026-02-05T20:54:07.783Z (4 months ago)
- Topics: robotpy
- Language: Python
- Homepage:
- Size: 185 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pysysid
The Drop Bears' robot code for sysid in common mechanism types
## Setup
### Install dependencies
We use `uv` to manage our dependencies in our development environments.
This includes the Python version, and any Python packages such as `wpilib`.
Install `uv` by following the [`uv` docs](https://docs.astral.sh/uv/).
After installing `uv`, use it to create a virtual environment and install our dependencies.
```sh
uv sync
```
Then, download the roboRIO dependencies.
```sh
uv run python -m ensurepip
uv run robotpy sync --no-install
```
### pre-commit
[pre-commit][] is configured to run our formatters and linters.
These are enforced for all code committed to this project.
To use pre-commit, you must install it outside of this project's virtual environment.
Either use your system package manager, or use `uv tool`:
```sh
uv tool install pre-commit
```
You can then set up the pre-commit hooks to run on commit:
```sh
pre-commit install
```
## Run
### Simulation
``` bash
uv run robotpy sim
```
### Deploy to Robot
Once on robots network
``` bash
uv run robotpy deploy
```
### Test
``` bash
uv run robotpy test
```