Go to Post You can either suck up a lot of oxygen, or you can contribute to our communal knowledge. The choice is yours. - dlavery [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 24-01-2010, 11:34
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Lightbulb Re: Labview Questions!!

Oops. I will make the change and test on Monday. Thanks all!

One last question though...Is Arcade mode(default) needed in the True case as Joe stated earlier... or does it matter..or what?
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2010, 12:00
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Labview Questions!!

Quote:
Originally Posted by grosh View Post
Is Arcade mode(default) needed in the True case as Joe stated earlier... or does it matter..or what?
The True case is what executes while you press the joystick button. It uses the gyro and vision tracking to rotate the robot to face the target. It does that by controlling the "turn" input to the Arcade Drive vi.

If you want to change the target-seeking code to give commands to a Tank Drive vi instead, you can.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 13:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,756
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview Questions!!

Quote:
Originally Posted by Alan Anderson View Post
If you want to change the target-seeking code to give commands to a Tank Drive vi instead, you can.
However, there is no particular reason to do so. The use of Arcade Drive there doesn't affect your driving controls at all, since with the push of the button you've relinquished joystick control of the robot until you release the button.
Your joysticks will not revert to Arcade drive. They will only operate in Tank drive.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2010, 10:43
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 135
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Labview Questions!!

Quote:
Also if anybody knows how to wire the gyro the information is to technical for us.
For gyro wiring, check out the Gyro Example. The example shows generic wiring. For the 2010 kit gyro, the RATE pin is marked. The 5V pin is next to the RATE pin in the row of three pins nearest the edge of the board. The GND pin is next to the 5V pin in the row of pins nearest the edge of the board. For the 2010 kit gyro, the Gain (Volts/Degree/Second) is 0.007. You will need to input that value in the example.

For more on wiring the gyro, see the FIRST Sensor Manual_RevA here
http://www.usfirst.org/roboticsprogr...nt.aspx?id=452

If you have trouble with your gyro drifting, try rebooting the cRIO. The cRIO calibrates modules when it boots, so if you added a module afterward, or your robot was moving during bootup, you may have calibration issues.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview 8.6: Xbox 360 wired controller Questions Lucario231 NI LabVIEW 3 20-01-2010 18:03
LabView: Questions of a Rookie assaf2b NI LabVIEW 1 17-01-2009 12:14
Autonomous questions (Labview) and some general issues Daniel_H NI LabVIEW 15 08-01-2009 21:07
Basic Labview Programming Questions comphappy NI LabVIEW 20 13-10-2008 18:29
A few Labview questions Japper NI LabVIEW 14 09-09-2008 20:41


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

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