Gray Matter LogoGray Matter Workshop

Running Program

Running Program - Hardware Simulation Testing

WPILib provides a powerful tool called Hardware Simulation. This allows you to run your code in the simulator, while also running motors that are connected to the CANivore.

Using a CANivore also allows you to build robot applications that run directly on Windows or Linux machines.

🎯 Key Concept: Hardware simulation eliminates the need to use a roboRIO for testing, while still allowing you to test your code on hardware.

Important: CANivore USB Setting

Before running Hardware Simulation code, you must turn OFF the "CANivore USB" setting in TunerX. This prevents conflicts between the simulation environment and physical hardware communication.

Steps

Open TunerX → Go to CANivore settings → Disable "CANivore USB"

Hardware Simulation Setup

We use PostHog analytics with user-identifying features disabled to improve our site. Data is aggregated and not used to identify you. You can accept or reject analytics.