All items below were attempted with the Clawbot - built precisely following directions from VEX.
-
When you set up the drivetrain and check the box for gyro and choose the port, VEXcode no longer shows you the blocks for gyro in the sensing category. It also doesn’t make you put in any measurements – just gear ratio and wheel size. When I tell it to turn right 90 degrees with this configuration, it isn’t consistent with the turns. Sometimes the turns are at 88 degrees, sometimes they are at 92. Is it even using the gyro at all? Or is it determining 90 degrees based on the wheel size and gear ratio?
-
If you leave the gyro off the drivetrain in configuration and include it separately by adding it as a separate component, then the gyro sensing blocks appear. When I tell it to turn right 90 degrees with this configuration, it only turns 77 degrees in either direction. I checked the track width measurement on the drivetrain and everything is correct.
-
The only way I could get it to turn an accurate 90 degrees consistently is by including a command that says…
Wait until “Gyro Heading in Degrees” > 90
Stop Driving
Is there a reason for the inconsistencies in turn rotation using the drive commands when the gyro is included in the drivetrain config? I know it is only off a couple of degrees each time, but that makes a big difference when the robot is travelling a longer distance.