Commands should extend LoggedCommand instead of Command.
Commands need to run super.initialize(); in the initialize method, and super.end(interrupted); in the end method.
| Motor Name | CAN ID |
|---|---|
| FLNeo | 0 |
| FLVortex | 1 |
| FRNeo | 2 |
| FRVortex | 3 |
| BLNeo | 4 |
| BLVortex | 5 |
| BRNeo | 6 |
| BRVortex | 7 |
| ElevLNeo | 8 |
| ElevRNeo | 9 |
| EELeft | 10 |
| EERight | 11 |
| EETop | 12 |
| AIRotate | 13 |
| AIIntake | 14 |
| GILeft | 15 |
| GIRight | 16 |
| GILift | 17 |
- Open the robot code in wpilib vscode.
- Ctrl + Shift + P, type Simulate, then select "WPILib: Simulate Robot code". Glass will then open and allow you to set the bot state, use the controller, and look through networktables. Currently there aren't any physics sims, so the bot and subsystem encoders aren't updated.
- Open the dashboard code in an IDE.
- Change the address on the NT4Provider element in src/main.tsx to localhost. (If using a physical bot, do not change it)
- Set up the environment to use Node.js. The app was developed for and on the pi, so Linux is the only tested platform. Remember to run
npm iwhen setting up the project to install dependencies. - Run
npm run dev. The webserver urls will be printed in the terminal and can be accessed from a web browser.