View Single Post
  #1   Spotlight this post!  
Unread 15-01-2017, 00:07
trycatch's Avatar
trycatch trycatch is offline
Registered User
FRC #5858
 
Join Date: Nov 2015
Rookie Year: 2015
Location: AL
Posts: 39
trycatch is on a distinguished road
Command-Based robot + OI + joystick axis?

Hey all. This is my first year trying to transfer over to Command Based, and I think I've got most of it figured out. I've got a few JoystickButtons with whenPressed commands in the OI, but I'm a bit fuzzy on how to handle the actual joystick x, y, and twist. Is there an on-pressed equivalent, or should I just get the x, y and twist every teleopPeriodic and add a new Drive() to the scheduler?

Thanks all!
Reply With Quote