Go to Post There really is nothing else that needs to be said. - billbo911 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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
  #15   Spotlight this post!  
Unread 13-02-2006, 09:57
the_short1's Avatar
the_short1 the_short1 is offline
Head of Electronics
AKA: Kevin F.
FRC #1596 (Twin Saults International Instigators)
Team Role: Electrical
 
Join Date: Feb 2005
Rookie Year: 2005
Location: CANADA
Posts: 252
the_short1 is a name known to allthe_short1 is a name known to allthe_short1 is a name known to allthe_short1 is a name known to allthe_short1 is a name known to allthe_short1 is a name known to all
Send a message via MSN to the_short1
Re: Backwards motor

yes reversing output wires is easiest for coding, then to compensate for bias, drive the robot using pure code (no joystick) with pwm1 being left and pwm2 being right motors...
code:
pwm01 = 175;
pwm02 = 175;

then see if the robot pulls to the left or the right... if so adjust the numbers until it drives straight... you might end up with 175:180 .. then take the difference (5) and add it automatically to the drive code (pwm02 = p2_y +5) so it will send the joysticks value to the pwm but add 5 to compensate for bias.

or for somethign more complicated, use a percentage (as you drive faster add more to the joystick to compensate)

hope that helps
__________________
2005 GLR: 12th/58 Seed, Aliance: 1596, 910, 1447 (Semi Finalists) Website, Rookie All Star, Highest Rookie Seed, and 2 Peer Awards, my BIG thank you thread, PLEASE READ
2005 GTR: 11th/66 Seed, Aliance: 703, 1596, 1680 (Semi Finalists) Highest Rookie Seed & 1 Peer Awards
2005 Championship (Galileo): 36th/86 Seed Highest Galileo Match Score: 123:7 Thanks 447 and 121
2006 Website (Totally Revamped):Instigators1596.com
2006 GLR: 31st/61 Seed, Aliance: 835, 1213, 1596 (Quarter Finalists) Spirit & 3 peer awards, THX!
2006 Waterloo: 7th/31 Seed, Aliance: 1219, 1596, 912 (Semi Finalists) Spirit & 2 peer awards, THX!
2006 Waterloo: Aliance: 1596, 1680, 1114 Higest Match Score: (Q22) 128|32
Reply With Quote
 


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
Low Cost Planetary Gearbox Source... Joe Johnson Motors 32 14-11-2006 18:02
Inductance of CIMs phrontist Electrical 13 06-01-2006 09:17
Cheap Torque Measurement? ChuckDickerson Motors 15 13-06-2005 13:57
**FIRST EMAIL**/Important Fisher-Price motor and gearbox information sanddrag FIRST E-Mail Blast Archive 1 11-02-2005 18:19
DC motor design project Ian Mackenzie Motors 0 29-01-2005 13:30


All times are GMT -5. The time now is 18:32.

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