View Single Post
  #2   Spotlight this post!  
Unread 10-02-2008, 05:05
adamm adamm is offline
Registered User
AKA: Michael Adam
FRC #1671 (The Bird Brains)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2002
Location: Fresno, CA
Posts: 29
adamm is just really niceadamm is just really niceadamm is just really niceadamm is just really niceadamm is just really nice
Re: starting/ending robot configuration

Well, in order for the RC to activate your User Code, AN OI MUST BE ATTACHED TO THE RC. The only way to be able to control the robot to move back to its home position would be to connect an OI.

You could solve this by installing a button on your robot via a digital input, then just connecting a spare OI with a tether Cable. (The robot shouldn't move, but it depends on how you have the robot programmed.) Now, in your code, have the robot return to is 'home' position ONLY when the button is pressed. If that button is placed properly, it shouldn't activate during a match.

You could store the OI and tether on your cart and when you are done with the match, grab the two things, run out to the robot, plug it in, and press the button.

This is all theoretical, but it should work.
__________________
Michael Adam
Director, Central Valley Robotics

FLL and FLL Jr. Affiliate Partner, Central California (2009-Present)
Member, Central Valley Regional Planning Committee (2012-Present)
Volunteer of the Year, Central Valley Regional (2015)
FRC Control System Advisor (2013-Present)
FRC Scorekeeper (2015-Present)
Mentor, Team 1671 (2009-Present)
Member, Team 1671 (2005-2009)
Reply With Quote