Go to Post You play your best, the refs do their best, and at the end of the day we are FIRST, collectively. - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-07-2014, 13:08
SoftwareRachel's Avatar
SoftwareRachel SoftwareRachel is offline
Registered User
FRC #4505
 
Join Date: Feb 2014
Location: Maryland
Posts: 12
SoftwareRachel is an unknown quantity at this point
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!
Reply With Quote
  #2   Spotlight this post!  
Unread 13-07-2014, 13:17
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Drivetrain controlled by xbox controller?

I would suggest arcade drive.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-07-2014, 13:21
SoftwareRachel's Avatar
SoftwareRachel SoftwareRachel is offline
Registered User
FRC #4505
 
Join Date: Feb 2014
Location: Maryland
Posts: 12
SoftwareRachel is an unknown quantity at this point
Re: Drivetrain controlled by xbox controller?

Quote:
Originally Posted by notmattlythgoe View Post
I would suggest arcade drive.
Would public void arcadeDrive(double moveValue, double rotateValue) work?
Reply With Quote
  #4   Spotlight this post!  
Unread 13-07-2014, 13:34
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: Drivetrain controlled by xbox controller?

Quote:
Originally Posted by SoftwareRachel View Post
Would public void arcadeDrive(double moveValue, double rotateValue) work?
Absolutely.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi