View Single Post
  #5   Spotlight this post!  
Unread 15-01-2017, 23:40
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 398
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Use both joysticks to drive robot on Xbox controller?

Quote:
Originally Posted by 18gillespiery View Post
What we did was define two variables as joysticks on the same port

From there use the Joystick.setChannel() method to change it to the y axis on the other stick. It should be channel 5.

after that it should work.
Sorry, I'm a bit confused about what you're doing.
Quote:
Originally Posted by 18gillespiery View Post
What we did was define two variables as joysticks on the same port
Bad idea. Why do you need to do this?
Can you post your code please?
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote