Go to Post Your opions and statements DO reflect on your team and its' reputation, regardless of what your disclaimer says. - Chris Fultz [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-02-2008, 10:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Danger in Disconnected IR Receiver

I've been concerned about the inherent dangers inadvertently introduced by Team Update #6's ruling that the IR Receivers must be physically disconnected from the robot while in the Pit.

The intent is admirable, however, the execution method is dangerous.

Every programmer should be aware that a physically disconnected IR Receiver will look to the code as if every IR command has been simultaneously selected.

The danger of course is that if your code simply checks to see if a pin is ==1, then you'll begin executing the first command you check. If you plan to use the IR in Teleop mode, then your robot will take off as soon as you turn it on in the pit. If you use IR only in Hybrid mode, then your robot will take off as soon as the Competition Port Auto switch is thrown.

Please design your code to check for and reject multiply selected IR commands.

P.S. And stand clear of the team in the next pit who won't test this ahead of time and will find out the hard way Thursday morning of the Regional.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2008 at 12:08. Reason: mistyping
 


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
Reliable way to detect disconnected controller heydowns Control System 4 13-02-2007 08:30
Possible danger using default camera code Mike Programming 3 07-02-2006 23:28
Team in Danger! Jill1022 General Forum 36 13-01-2006 00:57
Please help a class in danger! MattK Chit-Chat 0 12-12-2005 20:40
FIRST in Danger Robocardgrl5 General Forum 49 29-07-2003 13:45


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

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