Go to Post We moved-ish mostly, in a direction or two. - Siri [more]
Home
Go Back   Chief Delphi > Competition > Off-Season Events
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
  #10   Spotlight this post!  
Unread 17-02-2008, 18:43
Kendal Reed's Avatar
Kendal Reed Kendal Reed is offline
Hatless Hacker
FRC #0007 (007)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Parkville High
Posts: 22
Kendal Reed will become famous soon enoughKendal Reed will become famous soon enough
Send a message via AIM to Kendal Reed
Re: Suffield Shakedown observations...

Quote:
Originally Posted by Bongle View Post
I cannot believe so many teams didn't go for the drive-straight autonomous mode. This is the first year I've been in FIRST where you can actually get some permanent points simply for driving straight. If you have 3 robots that can do nothing else, having all 3 of them drive across the first line is 1.5 hurdles of points. DO IT. This is certainly something I see teams helping with at a competition pre-match: "hey do you have a drive-straight autonomous mode?" "no?" "ok here you go".
If you're having trouble with the code, here's some:
Code:
pwmLeft = pwmRight = 127;
if(time < AMOUNT_OF_TIME_TO_DRIVE) // experimentally determined, but 100 might be a good bet
{
  pwmLeft = pwmRight = 190;
}
time++;
Um... what kind of drive system are you expecting? I can't think of any where it would make sense to use the same value for the left and right PWMs. Most systems have the left and right motors facing in opposite directions and would therefore use value pairs where one side's value is equal to 255 minus the other's.
__________________
And I think it's gonna be a long, long time... till kickoff brings us round again to find... we're not the same six weeks a year... We're all robot men.. burning out our brains; we love it here...

Yesterday is history.
Tomorrow is a mystery.
Today is a gift;
that's why we call it the present.


Good heads, Fezzik. Bad heads, Speed Racer. One robot, two faces.
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
Suffield Shakedown Scrimmage MWTrek Off-Season Events 58 22-02-2008 01:28
2008 Pre-Ship 2008 Suffield Shakedown Scrimmage Webcast stevek General Forum 0 13-02-2008 23:55
LIVE Webcast from the Suffield Scrimmage xtremedarkness General Forum 11 20-02-2005 21:44
SBPLI Observations ZZII 527 Regional Competitions 3 18-03-2004 21:46
GLR Observations archiver 2000 5 23-06-2002 22:20


All times are GMT -5. The time now is 19:55.

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