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