And when executed, all robot functionality stops. To clarify, the issue only occurs when using GearsetRatioPair, and I am trying to set the gear ratio on my drive. Any idea what’s going on?
Basically, when you do 1/3, C looks at the two values, and sees that they are both integers. Then, it does integer division on the two numbers, which returns another integer. Since 1/3 = 0.33, it will truncate the number to 0, which is why the base does not move.
To solve it, simply change your code to (1.0/3.0), so that it does floating point math.
Btw, you are currently calling the X-Base factory, change your motor parameters to {1, -2}, {-9, 10} in order to create a skid-steer chassis.
Oops, I will fix that. Also worth noting that if OP had the PROS terminal open, they would have gotten an error message stating The gear ratio cannot be zero! Check if you are using integer division..