BitBucketsFRC4183 / FRC2020_Infinite_Recharge

Team 4183's repository for our Infinite Recharge robot's code
5 stars 10 forks source link

Error handling #172

Open cpostbitbuckets opened 4 years ago

cpostbitbuckets commented 4 years ago

We need to determine a better error handling solution. Some errors, such as configuring motors during initialization, should be considered failure conditions if they don’t succeed. We can’t use a robot if the PID configuration fails.

Other errors, such as setting output or velocity can fail periodically because they will be called again during the next loop.

We need a better strategy to check for errors from our calls to the talons, and report failure conditions when they occur.