Go to Post However, because they're programmers they just redid the interpolation tables for our motors as opposed to actually fixing the bent shooter. - Nuwanda [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-02-2010, 20:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Holonomic issues

Quote:
Originally Posted by dwodrich View Post
I have validated that the wheels are mounted correctly "x" from the top "o" from the bottom.

I have validated that we are sending in the correct vector in degrees. 0 for straight ahead.

We can move forward with 0 and backward with 180 when motors on one side are inverted. But we have no ability to strafe. The motors are each side are fighting each other.

When we change the motors so that none are inverted. We can strafe side to side with no issues, but we can no longer go forward or backwards.

Check polarity on all the jags.

Anyone have any ideas? seems like we are making a simple mistake.

TOP VIEW of robot:

front
1......2
.........
.........
3......4
rear

numbers in chart above refer to the wheels.
wheel#1 is front left
wheel#2 is front right
wheel#3 is rear left
wheel#4 is rear right


Put the 'bot up on blocks and test it with all six commands (fwd/rev, slide left/right, spin clockwise/counterclockwise) and tell us which direction each of the four wheels is being driven for the different commands.

Here's what you should get:

forward command: all 4 wheels spinnning forward

reverse command: all 4 wheels spinning reverse

slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward

slide left command: exact opposite of slide right

spin right: wheels 1 & 3 spinning forward; wheels 2 & 4 spinning backwards

spin left: exact opposite of spin right

download this PDF file and carefully study the chart at the bottom left of the page:

http://lib.store.yahoo.net/lib/yhst-...lSpecSheet.pdf


~

Last edited by Ether : 01-02-2010 at 22:41.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2010, 21:03
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 issues

Not at the robot now, but I did that, when strafing both front were turning the same direction and both back were turning the same direction but the opposite of the front.

I am now thinking that maybe the PWM cables are switched front to bakc on one side. I think that would cause one side to fight the other in this way.

and changing the inversion of one side would then fix the side to side strafing, but brake the forward-backward motion.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2010, 21:10
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Holonomic issues

dwodrich, I updated my earlier post with more detail:

http://www.chiefdelphi.com/forums/showpost.php?p=911502
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2010, 22: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,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: Holonomic issues

Quote:
Originally Posted by dwodrich View Post
Not at the robot now, but I did that, when strafing both front were turning the same direction and both back were turning the same direction but the opposite of the front.
I know you said you validated the wheel configuration, but I urge you to check it again. If turning both front wheels in the same direction makes the robot go sideways, the rollers are apparently oriented the same way. Same for the back ones. Having them in an incorrect >> orientation could explain the behavior you described.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2010, 22:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Holonomic issues

Quote:
Originally Posted by dwodrich View Post
when strafing both front were turning the same direction and both back were turning the same direction but the opposite of the front
What you described above is not a valid set of wheel commands for mecanum.

valid mecanum wheel commands explained here


~
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2010, 00:58
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 issues

dwodrich - My team is having a similar problem. Left and right slide work but forward/backwards have the front and rear wheels fighting each other:

We are simulating the code on our computers with PWM indicators and a USB joystick just fine. So it makes me believe its a hardware issue. ... Not sure what though.

Keep us posted if you figure out something.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-02-2010, 08:20
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 issues

left side inverted:
forward command: all 4 wheels spinnning forward - goes forward
***this is what we get
reverse command: all 4 wheels spinning reverse - goes backward
***This is what we get
slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward
***we get 1&2 spinning forward and 3&4 spinning backward - won't go anywhere
slide left command: exact opposite of slide right
***we get 3&4 spinning forward and 1&2 spinning backward - won't go anywhere

When we do not invert one side we get:
forward command: all 4 wheels spinnning forward - won't go anywhere
***front wheel spinning forward back wheels spinning backward
reverse command: all 4 wheels spinning reverse - won't go anywhere
***front wheel spinning backward back wheels spinning foreward
slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward
***this is what we get - slides right
slide left command: exact opposite of slide right
***this is what we get - slides left

I will check tonight when we get to the robot. We must have the left side of the robots PWM cables reversed on the digital side car. We are using the electronics board from last years robot and I know the PWM cables are bundled and zip tied. I also don't remember checking the digital side car end. We called out the PWM location by looking at the label we put on the PWM last year.

Thanks for all the idease! I'll post the solution when we get it figured out, hopefuly tonight.
Reply With Quote
  #8   Spotlight this post!  
Unread 02-02-2010, 10:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Holonomic issues

Quote:
Originally Posted by dwodrich View Post
left side inverted:
forward command: all 4 wheels spinnning forward - goes forward
***this is what we get
reverse command: all 4 wheels spinning reverse - goes backward
***This is what we get
slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward
***we get 1&2 spinning forward and 3&4 spinning backward - won't go anywhere
slide left command: exact opposite of slide right
***we get 3&4 spinning forward and 1&2 spinning backward - won't go anywhere

When we do not invert one side we get:
forward command: all 4 wheels spinnning forward - won't go anywhere
***front wheel spinning forward back wheels spinning backward
reverse command: all 4 wheels spinning reverse - won't go anywhere
***front wheel spinning backward back wheels spinning foreward
slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward
***this is what we get - slides right
slide left command: exact opposite of slide right
***this is what we get - slides left

I will check tonight when we get to the robot. We must have the left side of the robots PWM cables reversed on the digital side car. We are using the electronics board from last years robot and I know the PWM cables are bundled and zip tied. I also don't remember checking the digital side car end. We called out the PWM location by looking at the label we put on the PWM last year.

Thanks for all the idease! I'll post the solution when we get it figured out, hopefuly tonight.
what do the wheels do when you give a spin command (clockwise and counterclockwise)?

If you map out what each of the four wheels are doing for each of the six commands, you can figure out what wires to swap, or, alternatively, you can fix it in software.


~
Reply With Quote
  #9   Spotlight this post!  
Unread 02-02-2010, 21:19
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 issues

Quote:
Originally Posted by dwodrich View Post
left side inverted:
forward command: all 4 wheels spinnning forward - goes forward
***this is what we get
reverse command: all 4 wheels spinning reverse - goes backward
***This is what we get
slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward
***we get 1&2 spinning forward and 3&4 spinning backward - won't go anywhere
slide left command: exact opposite of slide right
***we get 3&4 spinning forward and 1&2 spinning backward - won't go anywhere

When we do not invert one side we get:
forward command: all 4 wheels spinnning forward - won't go anywhere
***front wheel spinning forward back wheels spinning backward
reverse command: all 4 wheels spinning reverse - won't go anywhere
***front wheel spinning backward back wheels spinning foreward
slide right command: wheels 1 & 4 spinning forward; wheels 2 & 3 spinning backward
***this is what we get - slides right
slide left command: exact opposite of slide right
***this is what we get - slides left

I will check tonight when we get to the robot. We must have the left side of the robots PWM cables reversed on the digital side car. We are using the electronics board from last years robot and I know the PWM cables are bundled and zip tied. I also don't remember checking the digital side car end. We called out the PWM location by looking at the label we put on the PWM last year.

Thanks for all the idease! I'll post the solution when we get it figured out, hopefuly tonight.
It was the PWM cables. The ones on the left side were reversed. Drives like a charm now.
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 angle? dwodrich NI LabVIEW 17 05-02-2010 09:39
Holonomic vs Mecanum Help!! kSniper Technical Discussion 10 25-03-2008 16:57
Holonomic Programming??? sknkmeistermatt Programming 2 12-02-2008 15:47
Holonomic... Greg Perkins Technical Discussion 2 02-02-2005 11:59
holonomic drives Max Lobovsky Technical Discussion 5 10-03-2004 21:31


All times are GMT -5. The time now is 04:57.

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