ftcsim
A desktop runtime and simulator for FTC robot code.
ftcsim is not another FTC gameplay simulator. It is a tool for software teams to directly test their robot's code without access to the physical robot. It works by swapping out the FtcRobotController for a custom version that communicates with a Python server. This server keeps track of motor states, sensor readings, and every other peripheral you could connect to a Lynx module. You can then configure your robot in the web driver station, which allows you to upload custom CAD models, change your hardware map, and configure mechanisms. Your code, ideally, never realizes it's not running on the real robot, giving you an accurate test platform for your robot's software.
Installation and Setup
Make sure you have Python 3.10+ and Android Studio (which I would hope you do) installed
pip install ftcsim
Setup
cd /path/to/your/FTC-project
ftcsim --wizard
This will install the TeamCodeSim package and desktop version of the SDK into your project. It'll also add Gradle tasks to run the simulator. Don't worry, the normal robot target will still work normally.
Usage
Either in the Android Studio terminal or in another window run the robot simulator and driver station server.
ftcsim
You can use the Driver Station at localhost:9015/ds/.
Run ./gradlew runSimulator in the robot project to launch its SDK and TeamCode. You can also change the Gradle target in Android Studio to run it from your IDE.
Progress and Shortcomings
ftcsim is still missing some features. Most importantly, it lacks drivers/peripherals for the Lynx module. For multi-motor or velocity-based feedback software to work, we also need to define mechanisms that link motor/servo output to sensor readings. Right now, I have a simple mecanum drive mechanism and a tank drive mechanism implemented, but they also need more odometry options. I also need to implement more drivebases and other miscellaneous mechanisms like flywheels.
Development
Source builds require Python 3.10+, JDK 17+, Node.js 22.12+, and npm
python3 -m pip install -e .
ftcsim --dev
Run npm ci and npm run dev in driver-station/ for frontend development
python3 -m pip install build
python3 -m build
The Python build runs scripts/build_driver_station.py and
scripts/build_sdk.py. They compile the frontend and JVM libraries into the package. Either script can also be run
independently.
License
This project is made by @simplyrohan at 29619 Axiom Robotics. ftcsim is licensed under GNU GPL v3. The bundled FTC SDK keeps its license.
Metadata
Release files for ftcsim 0.1.0.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ftcsim-0.1.0.post2.tar.gz | 31.4 MB | With provenance | Details for ftcsim-0.1.0.post2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ftcsim-0.1.0.post2-py3-none-any.whl | Python 3 | none | any | Details for ftcsim-0.1.0.post2-py3-none-any.whl |
Total release size: 126.4 MB
Release files / ftcsim-0.1.0.post2.tar.gz
| Download URL | ftcsim-0.1.0.post2.tar.gz |
|---|---|
| Size | 31.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ada50ed332b54023a0f0a7c9b57c85033749da0a50d5b42558ef14a471a1ef06
|
|
BLAKE2b-256 checksum How to use checksums |
ed699b5e7801b8aafc4e16095b12c447396d5065fec6188de351a5bfde106f49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / ftcsim-0.1.0.post2-py3-none-any.whl
| Download URL | ftcsim-0.1.0.post2-py3-none-any.whl |
|---|---|
| Size | 95.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53358fa42fa65337639e49f0d7cbe99f0f4a94bd75543f3606a47dfd0cf81df7
|
|
BLAKE2b-256 checksum How to use checksums |
952c499c6bc48c695857c61e6a92c7e9c454f374a059fe817b8416883a4f882e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for ftcsim 0.1.0.post2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ftcsim-0.1.0.post2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.