PROS Odometry Okapalib Help

I am having trouble setting up the chassis using the ChassisControllerBuilder. I keep getting the error that .withSensors is not a part of chassisControllerBuilder’s class when I do this. Anyone know how to fix this?

If I remove the part without the .withSensors() the code gives me no errors, but with I keep getting these errors. BTW, I actually have 3 encoders but I just copy pasted the example on the API to see if it would work and it still gives me this error.

1 Like