We are using RobotC for Vex IQ autonomous. The turns and movements are always inconsistent, works perfect for first 2-3 times then after some time it will miss the hubs while turning.
We are using sensor to check the angle turn and 4 omni wheels . Any suggestions?
If you are using a gyro, I would suggest the following:
Turn once to the angle you want the robot to turn to minus 30, then proceed to turn the turn/motor speed down to about 15% and turn the remaining degrees. You can then turn motor speed back to 100% and continue with your program.
Otherwise, if you do the turn all in one go there will be some drift from the omni wheels and the robot may overturn, presenting you with inaccurate results each time.
@Raj73 Had that problem, now we are only using 2 omni wheels and the gyro is consistent. I think there is a little drift with using 4 omni wheels. Also a slower drive speed helps with consistency. They are also using the encoders for rotation count instead of a time delay, which dramatically helps with accuracy. The kids have a 38 driver skill and autonomous combined now with their changes.