Go to Post Ha, our 2009 robot's nickname was Sparky, for the same reason...we now have EXTRA fire extinguishers because of it ;P - Karibou [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
  #16   Spotlight this post!  
Unread 22-02-2004, 21:13
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: 2 questions (programming)

Rule book 4.3.1ish
Quote:
AUTONOMOUS PERIOD - During this 15-second period, the ROBOTS operate and react only to sensor
inputs and to commands programmed by the team into the onboard robot control system. Human control of
the ROBOT will not be possible during this time. During this period, ROBOTS may perform any activities
that would be permissible when operated under human control. All ROBOT operation and safety rules
applicable during the operator control period are also applicable during this period.
You could test if you can get control input by creating your own competition port which is in one of the innovation first documents...
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award

Last edited by Kevin Karan : 22-02-2004 at 21:22.
  #17   Spotlight this post!  
Unread 22-02-2004, 21:14
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: 2 questions (programming)

In a real match, the full competion port will be used.
  #18   Spotlight this post!  
Unread 22-02-2004, 21:15
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
Re: 2 questions (programming)

Quote:
Originally Posted by jacob_dilles
when the OI is in disabled mode, the robot sees it as off and no data at all is transmited or received.
Wow ...

If you don't know the answer to a question, PLEASE don't respond.

When the robot is set to disabled mode by the Operator Interface, data IS transmitted and data IS received. The ONLY thing that is different when the robot is in disabled mode is that all PWM outputs are set to 127 and all Relay outputs are set to 0. Operator Interface inputs can still be read in by the robot.

During the autonomous period, the reverse happens -- outputs function normally, but the robot sees all OI input as 0 for switches/buttons and 127 (neutral) for joystick axes and pots.

This means, YES you can put switches on the control board to choose autonomous programs and all will work wonderfully.
  #19   Spotlight this post!  
Unread 22-02-2004, 21:17
Kevin Karan's Avatar
Kevin Karan Kevin Karan is offline
Linux Guy
AKA: maxdamage
None #0174 (Arctic Warriors)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Liverpool, NY
Posts: 141
Kevin Karan will become famous soon enoughKevin Karan will become famous soon enough
Send a message via AIM to Kevin Karan
Re: 2 questions (programming)

Quote:
Originally Posted by KevinB
Wow ...

If you don't know the answer to a question, PLEASE don't respond.

When the robot is set to disabled mode by the Operator Interface, data IS transmitted and data IS received. The ONLY thing that is different when the robot is in disabled mode is that all PWM outputs are set to 127 and all Relay outputs are set to 0. Operator Interface inputs can still be read in by the robot.

During the autonomous period, the reverse happens -- outputs function normally, but the robot sees all OI input as 0 for switches/buttons and 127 (neutral) for joystick axes and pots.

This means, YES you can put switches on the control board to choose autonomous programs and all will work wonderfully.
thats what I figured.
Quote:
Human control of the ROBOT will not be possible during this time.
The way they worded it suggests that
__________________
It isnt ALWAYS the programmers falt!
2004: Buckeye team website award
2002: Rutgers semi-finalists
2001: National semi-finalists
2001: Rutgers semi-finalists
1998: Manchester Rookie All-Star Award

Last edited by Kevin Karan : 22-02-2004 at 21:23.
  #20   Spotlight this post!  
Unread 22-02-2004, 21:19
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: 2 questions (programming)

okay my bad.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #21   Spotlight this post!  
Unread 22-02-2004, 23:15
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: 2 questions (programming)

I used this last year, and I don't think it has changed at all. What you do is you grab the values of the OI autonomous selection switch while the robot is disabled before the autonomous period. Then you store it for later use. Works great.
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
3 Questions!!! (2/20/04) Andy Grady General Forum 20 20-02-2004 17:31
3 Questions!!! (2/5/04) Andy Grady General Forum 11 05-02-2004 21:14
3 Questions!!! (1/5/04) Andy Grady General Forum 8 05-01-2004 16:01
$3500 limit - Who does not have questions Raul Rules/Strategy 5 12-01-2003 11:31
Update 7 - Behind Schedule (or out of questions)? archiver 2000 2 23-06-2002 22:58


All times are GMT -5. The time now is 23:57.

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