Pros Compiling Help

I’m having an error compiling my devices.cpp

It says:

src/devices.cpp:16:39: error: ‘ChassisControllerFactory’ has not been declared
ChassisControllerIntegrated chassis = ChassisControllerFactory::create(

I’ve declared the ChassisControllerIntegrated but I’m not sure how to declared the factory

Any help is appreciated thanks

It looks like you are writing code for OkapiLib 3.x but are using 4.x. Please read the new documentation here OkapiLib Index Page | OkapiLib A PROS library for programming VEX robots

1 Like