Go to Post Suggesting change is one thing, implementing it is another. - JaneYoung [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 15-01-2011, 13:20
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 Problems

Quote:
Originally Posted by captainking View Post
As for why we are using polar: we had to reset the gyro whenever we wanted to reorient the robot
I think you are making this harder than it has to be.

What language are you using?

In LabVIEW, you don't have to use the polar form to use the gyro. You can use the gyro with the Cartesian form too. See attachment.


Attached Thumbnails
Click image for larger version

Name:	mec cartesian.png
Views:	80
Size:	39.9 KB
ID:	9692  
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2011, 13:22
captainking's Avatar
captainking captainking is offline
Level 85 Programmer
FRC #0168 (MIB)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: North Miami Beach
Posts: 41
captainking is an unknown quantity at this point
Re: Mecanum Problems

I know, we used cartesian last year but we had to keep zeroing the gyro

I want to use polar so we don't have to deal with the gyro
__________________
Integrity first
Service before self
Excellence in all we do
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2011, 13:36
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 Problems

Quote:
Originally Posted by captainking View Post
I know, we used cartesian last year but we had to keep zeroing the gyro
What I hear you saying is this:

1) last year, you had a mecanum drive

2) you used the LabVIEW holonomic Cartesian vi

3) you used a 3-axis joystick

4) you connected (Y, X, Z, and gyro) to (Y, X, rotate, and gyro) on the Cartesion vi

5) the gyro kept losing calibration

6) you think that switching to the polar form of the vi will solve your problem.


Is the above accurate?



Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2011, 14:45
captainking's Avatar
captainking captainking is offline
Level 85 Programmer
FRC #0168 (MIB)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: North Miami Beach
Posts: 41
captainking is an unknown quantity at this point
Re: Mecanum Problems

yes
__________________
Integrity first
Service before self
Excellence in all we do
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2011, 20:26
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,113
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: Mecanum Problems

Quote:
Originally Posted by captainking View Post
I want to use polar so we don't have to deal with the gyro
I don't understand what you mean. Do you want to use a gyro and "just have it work", or do you not want to use a gyro at all? There's no connection I can think of between using a gyro and the choice of polar vs. cartesian mecanum drive control.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2011, 00:11
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Mecanum Problems

If you don't want to use the gyro at all, you can wire (LabVIEW) a zero constant to gyro on the holonomic VI. It will then drive normally without any respect to the gyro/field orientation, just like simple tank/arcade/etc. drive. I found this by looking at the help page for that VI.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
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:19.

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