Go to Post So please, think twice before you click that little button that says "reply". - Ken Leung [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
  #8   Spotlight this post!  
Unread 17-02-2012, 08:34
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Help! RobotDrive Error in all 3 languages

Quote:
Originally Posted by bdbayes View Post
We discovered that one side was putting 2.27 volts through the control circuit while the other was putting 0.67 through on the other side.
Can you clarify on this more? I assume what you are doing is taking a multi-meter and measuring the voltage on the PWM Signal Wire to Ground. First, this is going to be inaccurate as the PWM frequency is pretty high and your multi-meter may not interpret that as correct, unless you have a true RMS meter. I may be wrong on this point, someone correct me if I am. The better test for this would be to use an oscilloscope and measure the pulse width.

However, this may be a non-issue anyways depending on your electrical and software setup. If you are running the basic tank drive software with all the CIM motors hooked up normally (red-red, black-black) one side will need to be inverted from the other. If this is done in software one side will get a different PWM signal than the other, and this can be easily determined by looking at the speed controllers while driving forwards. If the speed controller led's for the left side are different than the right side that means they are inverted in the software. Which is perfectly fine.

You didn't specify your actual drive-train setup, are you guys doing 4wd or 6wd?

I suspect that you have one or more of the following problems: a) You still have binding issues in your drive-train b) Bad weight distribution on your wheels c) Not all wheels contacting the ground.

If you see the same problem in all 3 programming languages using the default code (disregarding many other teams using the default code without issue) the problem is probably not the software. When you drive fully forwards and the speed controllers led's are constantly on (green or red) that means the software is putting out a full throttle command.
__________________
 


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 20:15.

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