Go to Post FIRST robots definitely meet many commonly agreed upon definitions of robots. Some will disagree. Good for them. In my opinion, it's not worth arguing over. - Mikell Taylor [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 01-03-2011, 00:47
wiiking123 wiiking123 is offline
Registered User
FRC #3855
 
Join Date: Feb 2011
Location: Washington
Posts: 20
wiiking123 is an unknown quantity at this point
Encoders w/ Cartesian Mecanum Drive

Since Andymark did not ship our Mecanum wheels out fast enough, I am working on configuring our robot with Mecanum wheels. I currently have a two joystick setup that will work with the Mecanum wheels, but I currently cannot figure out how to incorporate them into the final output values each motor receives. If possible, how can I examine what value is being sent to each motor so I can compare it to the encoder value? If this is not a viable option, what other option is there that allows me to use encoders to make sure each motor moves at the correct rate? Below is a screenshot of how I have the Mecanum drive programmed. Please ask any relevant questions that may help achieve an answer.http://s917.photobucket.com/albums/a...=MecanumSS.png
Reply With Quote
  #2   Spotlight this post!  
Unread 01-03-2011, 10:14
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,112
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: Encoders w/ Cartesian Mecanum Drive

The Dashboard data includes the individual motor control values. You can view it in graphical form on the default Dashboard screen. To see actual numbers, you should be able to find it and probe it in the Build Dashboard Data vi.

At first glance, what you're doing with the joystick values looks exactly right. You might want to add a dead band to the rotation value so the driver isn't required to move the joysticks in perfect tandem in order for the robot not to spin at all.
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 08:10.

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