View Single Post
  #2   Spotlight this post!  
Unread 14-01-2015, 20:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote