Go to Post Start up the rumor mill... - frcguy [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 26-01-2011, 23:06
MattCarey3625's Avatar
MattCarey3625 MattCarey3625 is offline
#3625 Programming and Wiring Head
FRC #3625 (Some Assembly Required)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Virginia Beach, VA
Posts: 23
MattCarey3625 is an unknown quantity at this point
Re: Drive Function (Complete Rookie)

Quote:
Originally Posted by Wolfgang View Post
You need to decide whether you are using arcade drive or tank drive (or something else). For arcade drive, you need to open up the arcade drive vi and wire in the joystick you will use and such. For tank drive, use the tank drive vi and open 2 joysticks. Wire the ONLY the y axes of the joysticks to the tank drive axes inputs. It's probably a little difficult to read this, but I hope this helps!
Today I coded the attached VI. Is the arcade drive function do what this does? If so I should probably use that and shorten the code.
Attached Files
File Type: vi single_controller_0.1.2.vi (13.4 KB, 9 views)
__________________
matt@hp-mini-110$> sudo make robot
sudo pass for matt:
unable to make robot
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2011, 11:05
Clayton Yocom's Avatar
Clayton Yocom Clayton Yocom is offline
Programming Mentor
FRC #0027 (RUSH)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Clarkston, MI
Posts: 87
Clayton Yocom will become famous soon enoughClayton Yocom will become famous soon enough
Send a message via AIM to Clayton Yocom Send a message via MSN to Clayton Yocom Send a message via Yahoo to Clayton Yocom
Re: Drive Function (Complete Rookie)

Yes, this is what arcade drive does, here and here are what you really need to try to duplicate.

Both of those are actually in the FRC cRIO Robot Project framework that you can use in labview. (in wpi robotics library there are open 2 motors and open 4 motors btw, which will then map them to a single referum name then arcade drive can address both of them. )
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 21: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