Go to Post Teaching students should take place in the offseason. Applying the skills learned is what the real season is for. - [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 07-02-2003, 16:49
powercat powercat is offline
Registered User
no team
 
Join Date: Jan 2003
Location: Kansas
Posts: 14
powercat is an unknown quantity at this point
comp_mode

Do I need to use the comp_mode for anything?

And how will testing at competition be done to ensure autonomous mode is obeyed and operators aren't really driving during this period ?

Code bugs happen, how will they ensure that the robot obeys ?

Just curious. I use the auton_mode to determine if autonomous or user driven.

thanks.
  #2   Spotlight this post!  
Unread 07-02-2003, 16:59
Damian Manda's Avatar
Damian Manda Damian Manda is offline
The Damian
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Fort Collins, CO
Posts: 154
Damian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud of
Send a message via AIM to Damian Manda
Taken directly from the Default code:
Code:
  Bit 7 of the PB_mode byte (aliased as comp_mode below) indicates the status
 of the Competition Control, either Enabled or Disabled.  This indicates the
  starting and stopping of rounds at the competitions.
  Comp_mode is indicated by a solid "Disabled" LED on the Operator Interface.
  Comp_mode = 1 for Enabled, 0 for Disabled.
In other words, when comp_mode is 1, your robot runs, otherwisw it doesn't

As to the other question, you have to stand behind a line during Autonomous mode, and can only cross it to hit the kill switch. I'm sure someone will make sure noone violates the rule.

--Damian Manda
  #3   Spotlight this post!  
Unread 07-02-2003, 17:08
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
http://hyperrules.chiefdelphi.com/vi...php?ruleid=265 - From Update 11

For whatever reason, IFI inverted the comp_mode bit from what the comments in the source code say.
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...
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


All times are GMT -5. The time now is 03:59.

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