Custom Simulators¶
There are several times when you might want to add a custom simulator to your robot, such as
- Simulating limit switches being triggered when your elevator encoder reaches a certain height
- Simulate non-supported SPI/I2C devices like a PixyCam or Dotstar LED strips
- Simulate your camera ICD to fake data based on your robot position (i.e. faking the Limelight NetworkTable or the NetworkTable/socket messages coming from a co-processor)
- Simulating delayed sensor responses (i.e. When I press my “intake ball” button, it takes .25 seconds before my sensor gets tripped)