Go to Post If it's not a sport, and it's not an art, it might as well be criminal behavior, because that's how you're going to be treated. - jasoni [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-03-2003, 12:16
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Clark

very nice baseline code. You used 'stepnum' to sequence the same way I did in my auton SW.

couple comments.

you left a debug statement intact - that will slow the cycle times way down

you have no ramping between changes in motor speeds (unless I missed it) If you switched the PWMs on our bot from 0 to 254 in one cycle the gearheads would spleen you with the jagged remains of the tranny shafts!

your timing is pretty long (120 counts is about 3 seconds) - if you have a fast bot then shorten the counts down, try it first, and then adjust as needed. Try driving your bot with the joystick first to get a rough idea of how long each step will take, and use 40 counts for each second - that will get you close.
Closed Thread


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
2-week FIRST summer program @ WPI ColleenShaver General Forum 20 31-05-2009 03:02
White Paper Discuss: 2003 Automated Dead Reckoning Test Code CD47-Bot Extra Discussion 10 07-09-2005 11:25
Fried program slots? Jeff Waegelin Programming 18 19-03-2003 18:08
Autonomous Mode Strategy Brian48216 Programming 27 23-01-2003 14:47
Ahh! Program trick confusing! archiver 2001 9 24-06-2002 02:26


All times are GMT -5. The time now is 02:28.

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