Go to Post Your students are my idols. - Al Skierkiewicz [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-02-2003, 12:19
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Reset Button

Quote:
Originally posted by redbeard0531
Please add support for a reset button. Or at least set all vars to zero when "Begin match" is clicked. Otherwise my counter is never reset. I have to completely exit out to reset it!
This sounds like a disaster waiting to happen. (A little hyperbole can sometimes come in handy. )

Remember that you power up your robot when you place it on the field, and your program then begins running (albeit disabled) as soon as communications are established with your OI. This means that if you don't check the comp_mode bit, and only start incrementing your counter after it changes to 0, your counter could have been running for something like 2 minutes before the match starts. I handle this problem by reseting my timer to zero whenever comp_mode = 1. Unfortunately, this isn't a 100% solution when running RoboEmu, since it doesn't start a match disabled.

What I would like to see RoboEmu do is to start a match with the 10 second human player period -- during which time comp_mode would be set to 1. Only then would comp_mode be cleared, and auton_mode be set. It would also be very helpful to have a visible match timer.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me

Last edited by Greg Ross : 19-02-2003 at 14:07.
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
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
Making RoboEmu 1.09 work rbayer Programming 2 14-01-2003 00:49
RoboEmu 1.08 released rbayer Programming 9 26-12-2002 22:31
RoboEmu 1.07 rbayer Programming 3 08-12-2002 18:28
RoboEmu for Linux (PBASIC emulator) rbayer Programming 5 21-11-2002 21:08


All times are GMT -5. The time now is 07:42.

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