Go to Post The Robot Alliance Project is perpetrating the government shutdown? I KNEW robots would take over the world! - BBray_T1296 [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: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 13-02-2010, 18:37
inventor1254 inventor1254 is offline
Registered User
FRC #1254
 
Join Date: Feb 2010
Location: Van Buren Technology Center
Posts: 5
inventor1254 is an unknown quantity at this point
Re: 4 motor Mecanum wheel code request

First thanks for the quick replies!

I have to say I'm not too sure what strafing is (googled it a little) I'm guessing thats when you use the rollers on the wheels to make the robot go sideways. I don't know too much about driving systems or their different advantages, (mostly math and lower level languages) but thats a different topic.

I would first ask for just the basic tank drive, just because we lost ours from last year, only with 2 motors per side. (I know LabView has a basic vi of the tank drive, but like I said most of my experience is with things like C++, too me Labview is just confusing.)

With the tank drive (y axis on 2 joysticks) leaves the x axis unused, I'm assuming that is where you would want to use the strafing [moving perpendicular to the wheels (correct me if I'm wrong on my vocabulary here]) but that leaves open 2 possible movements you can make with the joy sticks (that I can think of) one where both joy sticks go outward from each other, and the other where they point inward/toward each other. I'm not too sure what that would do or how those "gestures" could be utilized.


What I'd like is some thing that can utilize as much as possible, but still be simple to use. and thats where I have trouble with LabView is that seems like a lot of if statements, and I never quit get how those work.

So could we get a few basic examples, one with basic tank drive for 4 wheels, and one with the strafing. Plus maybe the strafing on one and tank on the other, but really this isn't my area of expertise. I'm only able to really talk with my team during the week, and am not sure exactly where they were going with this.

I'd just like to see a couple of different ones that I know work so I can kind of figure out how they work and how to edit them, because at the moment I'm not too sure what would work better.

Again thanks for any and all help, and all help already given! I don't want to ask for too much but I don't know too much about the drive system aspect, and if we were doing this in C++ a few of our teachers and I would probably be the main programmers, so we're kinda in the dark!
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2010, 19:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 4 motor Mecanum wheel code request

Quote:
Originally Posted by inventor1254 View Post
First thanks for the quick replies!
...

I would first ask for just the basic tank drive, just because we lost ours from last year, only with 2 motors per side. (I know LabView has a basic vi of the tank drive, but like I said most of my experience is with things like C++, too me Labview is just confusing.)

...

Again thanks for any and all help, and all help already given! I don't want to ask for too much but I don't know too much about the drive system aspect, and if we were doing this in C++ a few of our teachers and I would probably be the main programmers, so we're kinda in the dark!
LabVIEW examples for WPILib are most easily reached from the Getting Started window. You can click on the Examples list and it is near the bottom. It demonstrates how to use the Y axis on two joysticks to control a skid steer driving platform. At least on the update I have, there wasn't a holonomic example.

If you actually want to learn LV, I'd suggest watching a few tutorials, perhaps with the students. NI has quite a few, and there are also good ones on LVMastery.com.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2010, 19:27
inventor1254 inventor1254 is offline
Registered User
FRC #1254
 
Join Date: Feb 2010
Location: Van Buren Technology Center
Posts: 5
inventor1254 is an unknown quantity at this point
Re: 4 motor Mecanum wheel code request

sorry, apparently my reply didn't get posted, been too busy to retype it.

Quote:
Originally Posted by Greg McKaskle

LabVIEW examples for WPILib are most easily reached from the Getting Started window. You can click on the Examples list and it is near the bottom. It demonstrates how to use the Y axis on two joysticks to control a skid steer driving platform. At least on the update I have, there wasn't a holonomic example.
yeah, I know LabView has a lot of examples, including the tank drive, but with my current understanding of LabView I don't understand what I am looking at. I tried editing basic things on them last year with little or no luck, plus with the basic tank drive we have 4 motors, and the example only has 2. That's why I was hoping to get an example on here, so I can ask questions about it, and it would have a better description of what it is, a lot of the examples in LabView are named things that I don't know what are. Plus we need something a little more advanced than basic tank drive.

I haven't looked through every thing yet though, we just recently got LabView on some other computers so we can really learn it (before it was just on the NetBook).

Quote:
Originally Posted by Greg McKaskle
If you actually want to learn LV, I'd suggest watching a few tutorials, perhaps with the students. NI has quite a few, and there are also good ones on LVMastery.com.
I really need to learn LabView, but I loathe having to do so, I'd rather just use C++, but my team wants LabView because they have a little more experience with it. I'm going to be watching more of the tutorials tomorrow though, one on LVMastery.com looks interesting to me, LabView for C programmers. Thanks for the site!

Most of our programmers can only program during the school day though, as they don't have LabView on their computers, (my self included) so we decided to ask so if we don't manage to learn LabView and program it in time we'll at least have some thing.

Again thanks for any and all help and all help already given!
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2010, 20:37
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: 4 motor Mecanum wheel code request

here u go if you need deadzones for direction tell me because we already figured out a way to do it http://www.chiefdelphi.com/forums/at...7&d=1265942765
__________________

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 16-02-2010, 07:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 4 motor Mecanum wheel code request

I was pointing out the Getting Started Examples link because as you mention, LV ships with thousands of VIs that cover many devices and used in many industries. If you look at the FRC specific ones, they should all be more applicable.

One thing you may find helpful, open the Help>>Show Context Help. This will give information as you idle over a particular node or wire.

Greg McKaskle
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 Wheel Considerations abross General Forum 20 23-01-2010 19:34
Mecanum wheel size Mr. A Technical Discussion 7 18-01-2010 08:58
pic: New mecanum wheel? scottydoh Extra Discussion 5 16-01-2010 21:29
pic: 2" Mecanum Wheel Tytus Gerrish Technical Discussion 17 22-04-2006 12:22


All times are GMT -5. The time now is 11:56.

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