|
Re: Single motor 2015
The default project demonstrates how to open one joystick and one RobotDrive with several motors belonging to it. The references are then saved under a name such as "Joystick 0". That is all that Begin is responsible for.
Later in the program, such as in TeleOp, the code will retrieve the reference to the joystick or motors or other sensors and will perform reads and writes.
I don't entirely understand what error you are receiving, but will be happy to help if you post a more detailed description. You can attach a screenshot if it helps.
Greg McKaskle
|