Frequently Asked Questions
What software steps can be used to make robot operation robust?
Plan for Catastrophic Sensor FailureAny electronic component can fail. To ensure that your robot can still function during a FRC match even if such a failure does occur, your robot software should handle cases when communication with sensors such as the navX-sensor is disrupted.
An easy way to accomplish this is to use the “isConnected()” indication, and only use navX-sensor data to control your robot when this is true.
Additionally, displaying whether the robot software is connected to the navX-sensor circuit board on the driver “dashboard” can help the drivers quickly detect a connection problem.
Last Updated 4 years ago