Thread
:
Use both joysticks to drive robot on Xbox controller?
View Single Post
#
3
15-01-2017, 11:48
AustinShalit
Registered User
AKA: אוסטין
no team (WPILib Suite Developer)
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester/Israel
Posts: 150
Re: Use both joysticks to drive robot on Xbox controller?
You can also try this:
Code:
robotDrive.tankDrive(xboxController.getY(Hand.kLeft), xboxController.getY(Hand.kRight));
__________________
AustinShalit
View Public Profile
Find all posts by AustinShalit
Find CD-Media Photos by AustinShalit
Find CD-Media Papers by AustinShalit