Go to Post ...he's acting like a programmer whose code is compiling...:yikes: - EricH [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 21-02-2012, 20:31
DeadlyJohny DeadlyJohny is offline
Registered User
FRC #3417
 
Join Date: Feb 2012
Location: Dallas, TX
Posts: 26
DeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to behold
Unhappy Basic issues! HELP! D:

Hey there guys! Me and my team have been working hard for quite some time now but programming(my sub-team) is running into large(probably simple) issues!

First of all, the idea is to have two joysticks control mecanum wheels, and a few other buttons for other miscellaneous things, but the main issue is that I simply cannot make the mecanum wheels right. I don't know how to use Labview nor does anybody else I know. If someone could please help by showing an example of the starter code modified to run mecanum wheels with two joysticks controlling them like tank drive. or even better provide a project file with this so that I can go through and tear it apart. That would be fantastic! Or forward me to a link that explains EXACTLY how to do this as I cannot seem to figure it out, even with all the documentation out there.

Second of all, THANKS!

p.s. we are using LabView!


-Team 3417

Last edited by DeadlyJohny : 21-02-2012 at 20:35.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2012, 20:52
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Re: Basic issues! HELP! D:

Check this site out http://team358.org/files/programming...2009-/LabVIEW/

One of the examples on there is holonomic drive which is what you need. I've never done mecanum before but I am familiar with it.

Just switch axis 3 with the x or y axis of your second joystick to control rotation.

Hope this helps.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2012, 21:33
SeanBurger SeanBurger is offline
Registered User
FRC #2129 (Ultraviolet)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Minneapolis
Posts: 11
SeanBurger is an unknown quantity at this point
Re: Basic issues! HELP! D:

Posting a picture of how we did it last year. the stuff in the blue box is what is important. It is combinations of adding and substacting the vector, the joystick axises. Each axis is added os subrtacted from each of the others, three in all. Chaning a plus to a minus should just switch the direction of the wheel. I don't fully understand it, a senior programmed it last year. Hope it helps
Attached Thumbnails
Click image for larger version

Name:	Help.png
Views:	36
Size:	147.1 KB
ID:	12043  
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2012, 21:47
DeadlyJohny DeadlyJohny is offline
Registered User
FRC #3417
 
Join Date: Feb 2012
Location: Dallas, TX
Posts: 26
DeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to beholdDeadlyJohny is a splendid one to behold
Re: Basic issues! HELP! D:

That's all great stuff guys! Thanks for all the help! I managed to get one motor to run correctly! That makes me very happy!

SeanBurger, although your program is confusing, i am able to figure it out. But am I crazy or are you missing a good portion of the file in that image? I feel as though thats just some of the math logic behind it but not how to implament it.
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:10.

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