View Single Post
  #6   Spotlight this post!  
Unread 11-11-2014, 14:15
JamieKilburn JamieKilburn is offline
Registered User
FRC #0610 (The Coyotes)
Team Role: Driver
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Toronto, Ontario
Posts: 15
JamieKilburn has a spectacular aura aboutJamieKilburn has a spectacular aura about
Re: Logitech F310 Control Scheme Help

Hi! For our controllers, we use the left stick to control forward/backward, and right stick to control left/right movement. Is this something similar to what you want? A sample implementation of this could be something along the lines of
Code:
 leftSpeed = y-x; 
rightSpeed = y+x; 
//y = Y axis of left joystick
//x = X axis of right joystick
If you have any other questions, please ask away!
Reply With Quote