Go to Post We will be stressed, we will be angry. But we need to hold ourselves to a higher standard, we need to be role models and inspirations to students. - Andrew Schreiber [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-01-2010, 10:26
I am error's Avatar
I am error I am error is offline
The Error
FRC #0686 (Bovine Intervention)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Frederick
Posts: 20
I am error is an unknown quantity at this point
Arrow Holonomic Drive Example?

Does anyone know if first has a an example of the Holonomic Drive in labview. I know there is a blovk for it, but i dont understand how the crontrols work with it. If anyone knows or has an example that would be great thanks.
__________________
I am Error. Yes.

Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2010, 11:27
bakketti bakketti is offline
Registered User
FRC #0443 (Freelance Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Denver, Co
Posts: 18
bakketti is an unknown quantity at this point
Re: Holonomic Drive Example?

Haven't found any FIRST resources but we have been referring to this paper: http://www.scipub.org/fulltext/ajas/ajas351831-1835.pdf

In addition we set up a simple PC simulator that allows us to take PC joystick, pass them through a modified Holonomic Drive algorithm and output respective PWMs on each wheel's channel. Theres a diagram in the paper above that shows how wheel speeds and directions cause different vehicle reactions. Very very handy.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2010, 19:24
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 207
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: Holonomic Drive Example?

Here's a very oversimplified way to do it.

You need to open four motors in begin.vi (Open4Motors.vi) instead of the 2 motors.

You need to make the refnums agree as well.

The following would be what your teleop.vi would look like. The case structure would be the inner case that already exists and the open and get blocks would be outside the outer case.

I don't show anything connected to the rotate input, but you can add that pretty simply. Generally, you'd connect the Y-axis to the rotate input and keep both the other inputs set to 0 to use the rotate. Just add another case and feed it with a button.



This is not meant to be complete. It's more an idea what you might change within teleop.vi.
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2010, 16:07
I am error's Avatar
I am error I am error is offline
The Error
FRC #0686 (Bovine Intervention)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Frederick
Posts: 20
I am error is an unknown quantity at this point
Re: Holonomic Drive Example?

Thanks..., but can you also show the rotation to? Thanks again
__________________
I am Error. Yes.

Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2010, 16:25
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Holonomic Drive Example?

where would i find polar to rect
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2010, 17:08
I am error's Avatar
I am error I am error is offline
The Error
FRC #0686 (Bovine Intervention)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Frederick
Posts: 20
I am error is an unknown quantity at this point
Re: Holonomic Drive Example?

There should be a picture attached of our FAILING holonomic drive example. There is a boolean that leads into the case statement you see there. This is so we can have a false case where the robot flips out (as a test) and then the true case that is our actual program. The inputs are just constants in the false case, but not in the true case shown below. The robot will drive in circles when I tell it too (the false case), but when set up like below, it doesn't work. Why is this? Does it have to do with the scalar input? Please help!
Attached Thumbnails
Click image for larger version

Name:	HELP.JPG
Views:	293
Size:	118.8 KB
ID:	8512  
__________________
I am Error. Yes.

Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2010, 21:08
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: Holonomic Drive Example?

Quote:
Originally Posted by I am error View Post
The robot will drive in circles when I tell it too (the false case), but when set up like below, it doesn't work. Why is this?
When it doesn't work, what does it do?

It might be helpful to see what is in the false case.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2010, 08:22
dwodrich dwodrich is offline
Registered User
FRC #1706
 
Join Date: Dec 2008
Location: Wentzville
Posts: 45
dwodrich has a spectacular aura aboutdwodrich has a spectacular aura aboutdwodrich has a spectacular aura about
Re: Holonomic Drive Example?

I would double check the location of every motor/PWM and make sure it is where the program thinks it is. Also you probably need to invert the left side, if your motors are mirrors of each other.
Reply With Quote
  #9   Spotlight this post!  
Unread 12-02-2010, 15:15
I am error's Avatar
I am error I am error is offline
The Error
FRC #0686 (Bovine Intervention)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Frederick
Posts: 20
I am error is an unknown quantity at this point
Re: Holonomic Drive Example?

this is the false case, and it is operating like this because the highlighted connector is set to false. It's for testing only. As you can see, it is set to drive around in circles, and it does that. But when you switch to the true case, it fails and DOES NOTHING. Therefore, the error is likely in the true case.
Attached Thumbnails
Click image for larger version

Name:	untitled.jpg
Views:	154
Size:	136.6 KB
ID:	8639  
__________________
I am Error. Yes.

Reply With Quote
  #10   Spotlight this post!  
Unread 12-02-2010, 15:32
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: Holonomic Drive Example?

What is LeftStick? It doesn't appear to have a value. Without a proper USB# there when you run the code, I think the Joystick Open will fail.

Note that changing the value of the control after the vi is running will do nothing helpful. The Joystick Open has already been executed, and the invalid reference being fed to the Joystick Get will not change.

Either replace the control with a constant and set it appropriately, or set the control to the right value and choose "make default" before you run the vi.
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
Holonomic Drive Help star_lancer NI LabVIEW 2 01-02-2010 22:39
Switching to Holonomic Drive MachineSMMC NI LabVIEW 1 22-01-2010 13:07
Holonomic drive and ramp robotaddict Technical Discussion 11 13-01-2006 16:57
Holonomic Drive Question Jeff Waegelin Technical Discussion 12 20-11-2005 21:23
Holonomic Drive Mathmatics Discussion robotaddict Programming 35 15-10-2005 13:29


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

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