Go to Post I (personally) am not involved in FIRST because I want to win (of course, that would still be nice ;) ). - pogenwurst [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
  #5   Spotlight this post!  
Unread 24-01-2010, 11:42
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Programming Issues with Crab Drive System

We had something similar last year, with each side slaved together in steering. (although we later separated the front and rear) We used Globe motors at around 3:1 or 2:1 reduction. In our testing, we initially used a simple proportional loop for our first test drives and it worked really well. We were using 5-turn pots, and had few problems with them.

How exactly are you relating joystick position to wheel position?

The window motors have thermal breakers in them, and will automatically shut down when they get too hot. That dosen't mean they are broken, it means you are overusing them.

Looking at the problems you found:
1. Do you mean the two drive modules are not turning to the same place? You need to set the centerpoint for your calculations for each side.

Also, if you mean they aren't turning the same way, all you can do is set the gains the same for both sides. If you have the same motors and the same sensors, they should need the same gains. We only calculated the gains for the left side of our robot, since the right side was a mirror of it.

2. If you aren't using I and D, set the P gain as high as it will go without excessive overshoot. IF you are using I and D, set the P gain so high it will oscillate. You probably don't need I and D unless you have problems with overshoot when the P gain is set reasonably.

3. Lower the P gain or add more I. If it twitches a bit, add D.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
 


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
crab drive vs. mecanum drive system superbotman Technical Discussion 33 06-01-2010 03:09
crab drive cloud_254 Technical Discussion 14 24-01-2009 14:23
Crab Drive nukelear1991 Programming 13 21-12-2007 18:02
Crab Drive Collin Fultz Technical Discussion 3 04-09-2002 16:35


All times are GMT -5. The time now is 01:53.

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