Go to Post You don't see teams plastering the arena with signs saying "Show your spirit!" or "Be creative in your robot design!" or "Be sure to be innovative in your control!" - Mr. Van [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-06-2002, 02:38
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
PBASIC TYPO -- patch found here

Posted by Joe Johnson at 03/21/2001 3:52 PM EST


Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems.


In Reply to: you'll be sorry if you use bevel gears (imho) + free code
Posted by Joe Johnson on 03/21/2001 10:44 AM EST:



I had a typo in my code above -- fixed below.

Joe J.

PWMLeft is left wheel output
(assume fwd robot motion runs motor in reverse)
PWMRight is right wheel output
(assume fwd robot motion runs motor is forward)


BOOST_NUM CON 140
LOG2_BOOST_DEN CON 7
'Effective boost = BOOST_NUM / 2^LOG2_BOOST_DEN

'in the above case boost= 140 / 128 = 1.09

'use whatever means you normally use to generate the

'PWM outputs for the left and right wheels then use the

'following code to modify these values


if PWMLeft > LOG2_BOOST_DEN + $80 MAX $FE
NoBoostLeft:
if PWMRight > $80 then NoBoostRight
PWMRight = $8080 - ($80 - PWMRight * BOOST_NUM >> LOG2_BOOST_DEN) MIN $8000 - $8000
NoBoostRight:

The above code assumes 128 is "off" (128 = $80) for both wheels, this is the standard Victor calibration.

__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference in forward/reverse drill motor speed archiver 2001 25 24-06-2002 00:21
Complete Drill, Seat, and Window motors for trade archiver 2000 0 23-06-2002 22:16
Complete Drill, Seat, and Window motors for trade archiver 2000 0 23-06-2002 22:16
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32
what about the drill motors? Ken Leung Motors 2 26-06-2001 02:11


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

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