Go to Post Just wondering what types of food you have been living off of while working on your robot? Our team has had pizza almost 3-4 times a week or more. Just wondering. SGS DRAGONS - sgsdragons [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-02-2013, 00:16
M15onebillion M15onebillion is offline
Registered User
FRC #4619
 
Join Date: Jan 2013
Location: Huntington Beach
Posts: 3
M15onebillion is an unknown quantity at this point
Programming Help

Hi I'm new at java in a rookie team and wanted to ask a few questions. So lately I wanted to program the throttle axis of the Logitech Attack joystick to yield a different motor speed corresponding to the axis position, but I don't know how to assign the axis(or any button at all) without the use of an "if" statement. Could anyone show me how to do it, perhaps give a little example.

I appreciate your help!

Last edited by M15onebillion : 05-02-2013 at 00:26.
Reply With Quote
 


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 11:26.

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