Go to Post Although it took me a little while to find my niche in the program, every moment spent has been one great memory after another. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 01-02-2012, 17:34
Quellek2 Quellek2 is offline
Registered User
FRC #4121
 
Join Date: Jan 2012
Location: North Canton, OH
Posts: 10
Quellek2 is an unknown quantity at this point
Exclamation How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interface?

We want to use them as a way of controlling the max power, but we have no idea how to get data from them. Anyone know?0
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2012, 17:50
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf

It's axis 3.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2012, 10:02
sometimestommy's Avatar
sometimestommy sometimestommy is offline
Schrödinger's Assistant
AKA: Thomas Moll
FRC #1939 (Ku-Nig-Its)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: US
Posts: 48
sometimestommy is on a distinguished road
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf

Yes. It is axis 3 on your joystick.

All you have to do is to unbundle the joystick and then "select" axis 3 from the context menu on the unbundle by name.

Important! Check the value on the scroll wheel as it could go past 1 or -1 which is really bad for motor control (since they only go to these values)
__________________
-Team 1939 The Barstow Ku-Nig-Its!
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2012, 16:40
Quellek2 Quellek2 is offline
Registered User
FRC #4121
 
Join Date: Jan 2012
Location: North Canton, OH
Posts: 10
Quellek2 is an unknown quantity at this point
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf

Huh. Not sure how I missed that one. Thanks!
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2012, 02:04
Wildcat Robotic Wildcat Robotic is offline
Registered User
FRC #3039
 
Join Date: Jan 2012
Location: Destrehan, LA
Posts: 15
Wildcat Robotic is an unknown quantity at this point
Re: How do we get the scroll wheels (behind buttons 8 and 9) on the attack3 to interf

If you take the value of Axis 3 and add 1 then divide by 2, it changes the scale from [-1, 1] to [0, 1]. Just a helpful hint if you wanted to use it to control one direction of a motor.
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 22:21.

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