Go to Post How well does peanut butter transmit heat? - Lil' Lavery [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 19-01-2010, 10:47
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 170
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Programming Mecanums in Labview

This is our first year using Mecanum drive and we are having some trouble with programming these wheels in Labview. I realize there are a couple of threads discussing this topic, but I have some specifics I would like addressed. For instance:

1. Do you need one joystick or two to control the drive?
2. Can the holonomic vi be used for this drive system?
3. Are there any tutorials available that address this topic?
4. Any suggestions or tips?

Any information you could supply me with would be very helpful and appreciated. Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2010, 13:19
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: Programming Mecanums in Labview

Quote:
Originally Posted by Hadi379 View Post
This is our first year using Mecanum drive and we are having some trouble with programming these wheels in Labview. I realize there are a couple of threads discussing this topic, but I have some specifics I would like addressed. For instance:

1. Do you need one joystick or two to control the drive?
2. Can the holonomic vi be used for this drive system?
3. Are there any tutorials available that address this topic?
4. Any suggestions or tips?
1. You need three inputs to control forward/backward motion, left/right motion, and cw/ccw rotation. You can do that with as many or as few joysticks as you want, depending on the features the joysticks provide. We have typically used two joysticks configured exactly as we would for tank drive, along with the average of the X axes for sideways control.

2. The holonomic vi was written specifically for mecanum drivebases.

3. I don't know of tutorials, but there are a number of threads here on the Chief Delphi Forums that talk about how to do it. Try searching; if you still have specific questions, ask.

4. Listen to your drivers and try to make them happy.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2010, 08:56
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 170
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: Programming Mecanums in Labview

Alan,

Well, as of right now, we are able to drive forward/backward, strafe in all directions off of joystick 1, BUT we have no CW/CCW rotation. I was attempting to get the rotation from joystick 2. I'd like to paste the code here if you would be willing to take a look at it, I feel like I'm making a simple wiring mistake.

Also, when we run the motors, the transmissions make a sound like their fighting themselves, kind of like a jittering motion. Is there anything I can do to refine the program?

Thanks for you time.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2010, 10:51
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: Programming Mecanums in Labview

Quote:
Originally Posted by Hadi379 View Post
Well, as of right now, we are able to drive forward/backward, strafe in all directions off of joystick 1, BUT we have no CW/CCW rotation...Also, when we run the motors, the transmissions make a sound like their fighting themselves, kind of like a jittering motion. Is there anything I can do to refine the program?
Before investigating software, this could be a simple mechanical issue. If you can't make your robot turn under its own power, you might have your wheels swapped.

Can you easily spin the robot by hand when its motors aren't running? If so, you definitely have your wheels swapped.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2010, 13:09
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 170
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: Programming Mecanums in Labview

im pretty sure the wheels are arranged properly, plus, if they weren't, would I still be able to drive in the directions we've already achieved? We just can't get the robot to rotate cw/ccw.
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2010, 14:57
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,721
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: Programming Mecanums in Labview

Quote:
Originally Posted by Hadi379 View Post
im pretty sure the wheels are arranged properly, plus, if they weren't, would I still be able to drive in the directions we've already achieved? We just can't get the robot to rotate cw/ccw.
Yeah, if your wheels are the wrong way, then you could still strafe and everything, just not spin.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2010, 19:45
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 170
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: Programming Mecanums in Labview

Well, I'll have to double check them this weekend, but we arranged the wheels exactly how AndyMark recommends in their drawing...I'll let you know, but I really think it could be a programming problem...I'll post code later tonight if anyones willing to glance at 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview servo programming Delvadar NI LabVIEW 9 01-02-2010 20:29
Programming Toggle Switches in Labview seanl Programming 1 16-02-2009 13:02
FRC LabVIEW programming dlesley National Instruments LabVIEW and Data Acquisition 2 15-12-2008 13:21
Basic Labview Programming Questions comphappy NI LabVIEW 20 13-10-2008 18:29
Labview Programming question pollyproof12 General Forum 2 30-09-2008 16:29


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

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