Go to Post Reffing a FIRST event is unlike being an ump or a ref at any other event. Where else is a game invented each year and over 1000 teams play this game within 3 months of its birth? - Andy Baker [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 13-02-2007, 12:00
Japper's Avatar
Japper Japper is offline
Registered User
FRC #3692 (RocknRobots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Rutland Wisconsin
Posts: 147
Japper has a spectacular aura aboutJapper has a spectacular aura about
Banebots/Cim motor programming question

On our robot,we are using 2 wheel drive with one CIM motor per side and mounted back to back (non-shaft ends towards each other).

In this configuration, the polarity of the victor outputs are positive to red lead and negative to black lead on one motor and positive to black lead and negative to red lead on the other motor. This seems elementary due to the orientation of the motor and its relative rotation to one another....

What causes some issues is that I am finding that these motors are not linear in regards to direction, where as for example, a PWM of 200 will spin the motor at a different speed while connected with the polarity for forward than it will with the polarity in reverse...

I understand how the PWM works where values greater than 127 is forward and less than 127 is reverse but I am talking about the motor speed relative to how the polarity of the motor is connected as these motors seem to move faster forward than backwards with the same relative PWM output and the polarity set for each case....

And thus the dilemna where one motor spins ever so slightly faster causing the robot to track towards one side.. Is anyone else experiencing this?

Can this be overcome with programming or can the motor speeds change in time and at different rates due to heat and friction?

The default code treats the PWM values the same per the 2 joystick control values with the assumption that one of the motors (at least in our configuration) must have its polarity set opposite of the other motor.

With the two joystick control, we can make the robot track straight with a little technique but I would like to take as much of the need for technique out of the equation as the students will most likely be in a high level of excitement during the competition. (yes we are rookies this year...)

Any suggesions on how to normalize the effects of the motors so that these track straight?

Thanks in advance.
 


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
Small Banebots Motor Issue - Lessened torque and smoke sanddrag Motors 10 12-02-2007 21:41
Strange noises from the BaneBots gearbox/CIM combination. PhilBot Motors 5 15-01-2007 11:15
CIM Motor polarity question. Lightposter Motors 4 07-02-2006 12:03
question on programming fisher price motor? waialua359 Programming 1 22-01-2006 21:11
cim motor power question Zippiot Motors 16 16-02-2005 20:40


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

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