View Single Post
  #1   Spotlight this post!  
Unread 29-01-2015, 10:21
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: Main Robot Code NOT Working

I commented out one pair of increment/decrement methods but left the other pair - I was testing which one worked better.

So .LEFTJOY_X is enum but .LEFTJOY_Y is not - those are pointers to getRawAxis() in the XBox class - I will try that but I don't know if it will do anything.

Why is XBox.RIGHTJOY_Y < 0 always going to be false - dont joystick axis return values from -1 to 1? How else would I make a program that would change the robots speed using the right joysticks X axis on an XBox controller?
Reply With Quote