Seamonsters-2605.github.io

Robot Simulator

Pyfrc has a built in robot simulator—it lets you drive a virtual robot with real joysticks. This is useful if you want to test your code, and don’t have access to a robot.

Installation instructions

Debugging the simulator in VS Code

Being able to pause the program mid-run (called ‘breaking into a debugger’) is one of the most important skills to develop when diving into programming. Doing so allows you to step through code line-by-line, stop at any break-point, and inspect the state of your program to test and verify the code behaves as you’d expect it to. We’ve created a sim configuration for VS Code to allow you to have the editor start the simulation and attach to it for you.