|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Drivetrain controlled by xbox controller?
Hello,
I was wondering which RobotDrive would I use if I wanted to control the robot in a way such that: The left stick on the xbox controller would give y-values that would control the forward and backward movement of the robot And the right stick on the controller would give x-values that would control the rotation of the robot (for example if the right stick was pushed to the right, the robot would rotate to the right) It's probably really simple, but I've been stuck for a while Thanks in advance! ![]() |
|
#2
|
|||||
|
|||||
|
Re: Drivetrain controlled by xbox controller?
I would suggest arcade drive.
|
|
#3
|
||||
|
||||
|
Re: Drivetrain controlled by xbox controller?
Would public void arcadeDrive(double moveValue, double rotateValue) work?
|
|
#4
|
|||||
|
|||||
|
Re: Drivetrain controlled by xbox controller?
Absolutely.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|