Go to Post What else could you do with a t-shirt? Wait... never mind... I retract my previous statement and realized this is FIRST and we can do anything with anything. ;) - Jeremiah Johnson [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 11-02-2010, 19:44
dancola1 dancola1 is offline
Registered User
FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Glastonbury, CT
Posts: 3
dancola1 is an unknown quantity at this point
Mecanum Help Needed

So we have been working on the Mecanum code since the kickoff and we are still having problems. Currently we can only make the robot go forward and backward. If we press the three button on our logitech Extreme 3D pro joystick it rotates like it is suppose to.

The problem is that we can not get it to crab/strafe or rotate when we twist our joystick.

Attached is two pictures of our teleop.vi when button three is pressed "true" and when it is not pressed "False".

Please help us fix this vi so we can move on to our other code.

thanks.
Attached Files
File Type: doc Mecanum Print Screen97-03.doc (532.0 KB, 37 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2010, 20:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mecanum Help Needed

Quote:
Originally Posted by dancola1 View Post
So we have been working on the Mecanum code since the kickoff and we are still having problems. Currently we can only make the robot go forward and backward.

The problem is that we can not get it to crab/strafe or rotate when we twist our joystick.
take a look here for explanation of commands for mecanum:

http://www.chiefdelphi.com/forums/showpost.php?p=916383


~
Reply With Quote
  #3   Spotlight this post!  
Unread 11-02-2010, 21:05
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: Mecanum Help Needed

look for a subvi in the pallet called rectangle to polar which will combine your x and y vectors in to magnitude and phase(direction)

Last edited by bladetech932 : 11-02-2010 at 21:31.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-02-2010, 21:46
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Mecanum Help Needed

Spoiler alert only go to this picture as a last resort it shows exactly the working holonomic drive (with a Logitech Dual Action Controller(you should only need to change the axes))
It is better to learn through testing and trying things out rather than copying. I repeat last resort only.
Attached Thumbnails
Click image for larger version

Name:	Working Mecanum Drive.PNG
Views:	389
Size:	22.0 KB
ID:	8627  
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-02-2010, 12:00
robot.lords robot.lords is offline
Registered User
FRC #2485
 
Join Date: Jan 2009
Location: San Diego
Posts: 1
robot.lords is an unknown quantity at this point
Re: Mecanum Help Needed

What is this block? I can't find it in the palletes. (from your code, dana)
Attached Thumbnails
Click image for larger version

Name:	block.JPG
Views:	43
Size:	21.2 KB
ID:	8633  
Reply With Quote
  #6   Spotlight this post!  
Unread 12-02-2010, 12:10
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Mecanum Help Needed

Quote:
Originally Posted by robot.lords View Post
What is this block? I can't find it in the palletes. (from your code, dana)
That block VI called In Range and Coerce and can be found in the Comparison palette. It takes in 2 values that set a range (in this case 1 and -1) and a third value to compare. The VI tests whether the value is i the range, then outputs a True/False of whether it was in the range or not (In Range) and a value forced into the range (Coerce).

What this means is that if you put something in larger than 1 you will get out 1, if you put something in between 1 and -1 it will pass through unchanged and if you put in something smaller than -1 you will get out -1.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #7   Spotlight this post!  
Unread 13-02-2010, 00:11
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Mecanum Help Needed

Quote:
Originally Posted by j.cole View Post
Spoiler alert only go to this picture as a last resort it shows exactly the working holonomic drive (with a Logitech Dual Action Controller(you should only need to change the axes))
It is better to learn through testing and trying things out rather than copying. I repeat last resort only.
Here's the pwm outputs (in begin.vi)
Attached Thumbnails
Click image for larger version

Name:	begin.PNG
Views:	34
Size:	18.5 KB
ID:	8645  
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
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
Mecanum Wheel Setup Help Dylan5019 NI LabVIEW 16 10-02-2011 15:39
Mecanum help in labview. Sam2197 NI LabVIEW 1 08-02-2010 18:59
Holonomic vs Mecanum Help!! kSniper Technical Discussion 10 25-03-2008 16:57
Mecanum Programming Help Mars Programming 8 27-02-2008 15:41
Mecanum Drive - Help Smoking_Gun Programming 22 04-12-2007 20:51


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

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