BitBucketsFRC4183 / FRC2020_Infinite_Recharge

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

Considering turret rotation and implementing primary system model #268

Closed howard-beck closed 4 years ago

howard-beck commented 4 years ago

Next step is to implement the Kalman filter in Java and possibly create multiple KFs running at once with different sensors. When one KF diverges from the rest it can tell us certain things about the robot. For example, we could tell if we're being pushed sideways by fusing together vision + accelerometer. Another thing to test is fusing in accelerometer readings into the primary system, but that requires more data that's not currently available. So we'll have to make do with what we have. All of these should be supported by hardware checks. If encoders start giving 0, give up, don't ram the robot into a wall.