Go to Post Keep your chin up, your safety glasses on, and don't let the magic smoke out of the electrical components and you'll do just fine :) - rsegrest [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 16-02-2016, 13:01
Beeker's Avatar
Beeker Beeker is offline
Registered User
AKA: Joe
FRC #4377 (BC. Blaze)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Michigan
Posts: 7
Beeker is an unknown quantity at this point
Re: How do i make my robot drive without the robot drive class

public void teleopPeriodic() {
while (isOperatorControl() && isEnabled()) {

// tank drive xbox controller no robotdrive class
frontRight.set(mXboxController.getRawAxis(5);
rearRight.set(mXboxController.getRawAxis(5);
frontLeft.set(mXboxController.getRawAxis(2);
rearLeft.set(mXboxController.getRawAxis(2);

Timer.delay(0.01);
}
}
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 09:35.

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