Cannot move forward with Okapi

When I run auton off of the controller, the robot doesn’t move.
We are trying to use OkapiLib for autonomous.

 void autonomous() {

	//Building OkapiLib ChassisController
	std::shared_ptr<okapi::ChassisController> chassis
								= okapi::ChassisControllerBuilder()
	.withMotors ({2,4},{-9,-10}) 																														//leftmotors, rightmotors
	.withDimensions(okapi::AbstractMotor::gearset::green, {{4, 9.5}, okapi::imev5GreenTPR}) //cartridge,wheelsize,wheelbase,Ticks.Rotate
	.build();

	chassis->moveDistance(20_in);
}
1 Like