Files
allwpilib/simulation/halsim_ds_socket/src/main/python
PJ Reiniger 762d1e8b93 [copybara] mostrobotpy to allwpilib (#8545)
Project import generated by Copybara.
GitOrigin-RevId: f10284b37498bb6a088891ca41f160793ec7fd90
2026-01-12 19:11:02 -08:00
..

robotpy-halsim-ds-socket

Installing this package will allow you to utilize the 2020+ WPILib GUI DS Socket from a RobotPy program.

Usage

First, install pyfrc. Then run your robot with the 'sim' argument and --ds-socket flag:

# Windows
py -3 -m robotpy sim --ds-socket

# Linux/OSX
python3 -m robotpy sim --ds-socket

WPILib's documentation for using the simulator can be found at http://docs.wpilib.org/en/latest/docs/software/wpilib-tools/robot-simulation/