I'm having trouble with the odometry chassis



It is saying that ChassisControllerBuilder is an undeclared identifier and I need help figuring out how to fix this please.

Since you’ve put okapi:: in front of everything, I’m going to assume you’re not using the okapi namespace. In that case, do:

okapi::ChassisControllerBuilder()


A new error has popped up where it doesn’t recognize withMotors

Hm, I’ve copied that code and it doesn’t throw any errors. Try building the project w/ the pros terminal and see what it outputs.

You forgot to put curly braces around the Right and left motors, with the left motors being first and the right motors being second.

Using the ChassisControllerBuilder | OkapiLib A PROS library for programming VEX robots

Or use the ports, which should be listed in the link

I tried adding the curly brackets, but the problem still persists

Does anyone know how to use rotation sensors in .withSensors instead of ADI sensors?