for pros v5 C++, how can I initiate motor/controller for both autonomous and driver-control? where should I put the following code to initiate motor/controller? I know I can put them in the opcontrol.cpp. However I want the autonomous to use the same configuration as well.
pros::Motor liftleft (5);
pros::Motor liftright (6, true);