Go to Post While at kickoff I asked Woodie if there were any concerns about missed shots at the center goal hitting the operators or the controls. He handed me a ball and told me to throw it at him as hard as I could... How many times does an opportunity like that come up? - Barry Bonzack [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 01-02-2008, 23:35
manderson5192 manderson5192 is offline
Registered User
AKA: Matt Anderson
FRC #0948 (Newport Robotics Group: NRG (pronounced eNeRGy))
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Bellevue, WA
Posts: 62
manderson5192 is on a distinguished road
Bizarre Mecanum Programming Bug

Hey Guys,

I have tried both my own code and stuff based on what team 357 put on this site and I have encountered the same problem in both cases. The robot will move straight forward and backward just fine. It will even spin in circles in both directions just fine.

Whats bizarre is that when we attempt to just strafe to the side, the robot will travel in an arc and spin slowly one way or the other (depending on which way we try to strafe). The problem seems to be caused by two wheels (diagonal from each other) spinning much faster than the other diagonal pair. Here's the real interesting part, though: the pwms indicate that the 4 wheels should be rotating in their respective directions at the same rates. When we try to strafe in the opposite direction, though, the pair of diagonal wheels that spin faster is the other one and again the pwms (seen via printf) indicate that there should be no problem.

Would someone please explain what is going on and maybe how we can fix this?
 


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 drivetrain programming problems Mr. Freeman Programming 4 21-03-2007 17:11
Bizarre Driving Issue kitscuzz Programming 23 11-02-2007 17:02
mecanum programming mrmummert Programming 27 28-01-2007 13:45
bug? Duke 13370 CD Forum Support 4 30-12-2003 21:44
Bug Matt Leese CD Forum Support 7 14-06-2001 12:18


All times are GMT -5. The time now is 12:17.

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