Currently, simulation is mostly working. Once issue we seem to have is with odometry not matching up with the field display and actual robot positions. E.g. when running autonomous and when disabling, the robot sometimes resets its position. The reset position also seems random.
If we try to move/rotate the robot in Test mode, and then start an Autonomous routine, the robot location/rotation sometimes jumps to something different.
My guess is the issue is related to the navx gyro, differentialSim, and the drivetrain resetPosition logic.
We need simulation to be more accurate if we want to develop more advanced robot software.
Currently, simulation is mostly working. Once issue we seem to have is with odometry not matching up with the field display and actual robot positions. E.g. when running autonomous and when disabling, the robot sometimes resets its position. The reset position also seems random.
If we try to move/rotate the robot in Test mode, and then start an Autonomous routine, the robot location/rotation sometimes jumps to something different.
My guess is the issue is related to the navx gyro, differentialSim, and the drivetrain resetPosition logic.
We need simulation to be more accurate if we want to develop more advanced robot software.