Go to Post You know, one year we need to stake out the AndyMark building for several weeks before Kickoff so we can see what the game pieces will be. Hidden webcam? :rolleyes: - DonRotolo [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 08-11-2012, 00:41
vhcook's Avatar
vhcook vhcook is online now
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: Mecanum wheel labview help

This doesn't have to be as complicated as the presentation is making it. While there are some great ideas in there, they aren't absolutely necessary. We use mecanum more often than not, and we do it like this:

In begin.vi, open a 4-motor drivetrain. In teleop (and autonomous if you're planning on moving then), rather than using the Arcade or Tank robotdrive VIs, use Holonomic in Cartesian mode. X axis is strafe left/right, Y is forward/backward, Z is rotation clockwise/counterclockwise - attach to your joystick axes as desired. That's all you have to do to get basic movement.

Testing on blocks:

If these tests fail for one or more wheels, check wiring and invert settings in begin.vi. If they are exactly backwards, consider your sign convention for what constitutes forward/right/clockwise on the robot vs your control inputs and adjust accordingly.

- Give the robot Y axis forward only. Confirm all wheels move forward.

- Give the robot Y axis reverse only. Confirm all wheels move backward.

- Give the robot X axis "left" only. Check wheel movement - front wheels should be going back, rear wheels should be going forward.

- Give the robot X axis "right" only. Check wheel movement - front wheels forward, rear wheels backward.

- Give the robot Z axis "clockwise/right turn" only. Check wheel movement - left wheels forward, right wheels back. This is will make the robot spin in place. In real driving, if you want to arc the turn, you would also provide some Y axis forward.

- Give the robot Z axis "counterclockwise/left turn" only. Check wheel movement - right wheels forward, left wheels back.

- Once all behavior is as expected, put the robot on the floor and start driving.
__________________


Reply With Quote
 


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 10:46.

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