Go to Post However, the best responses come with patience. It might be a couple of days before you get a good answer or it could be 10 minutes. - Molten [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 10-01-2006, 12:34
jjbarrow jjbarrow is offline
Registered User
FRC #0441 (Reagan Devil Dogs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Houston
Posts: 5
jjbarrow is an unknown quantity at this point
Question How to Start Autonomous mode?

How does our team activate autonomuos mode to see if the programming we put in it works?

Thank you
  #2   Spotlight this post!  
Unread 10-01-2006, 12:39
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,110
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: How to Start Autonomous mode?

you need to jumper from pins 5 to 8 on your operator interface competition port

a schematic for building an autonomous switch is here
http://ifirobotics.com/docs/competit...guide-reva.pdf

you can also buy one from http://andymark.biz
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
  #3   Spotlight this post!  
Unread 10-01-2006, 12:56
jjbarrow jjbarrow is offline
Registered User
FRC #0441 (Reagan Devil Dogs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Houston
Posts: 5
jjbarrow is an unknown quantity at this point
Smile Re: How to Start Autonomous mode?

THANK YOU
  #4   Spotlight this post!  
Unread 13-01-2006, 22:45
kevlarman kevlarman is offline
"why cant i install Linux?" guy
AKA: Roman Tetelman
None #0100
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Belmont, CA
Posts: 11
kevlarman is an unknown quantity at this point
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Greg Needel
you need to jumper from pins 5 to 8 on your operator interface competition port

a schematic for building an autonomous switch is here
http://ifirobotics.com/docs/competit...guide-reva.pdf

you can also buy one from http://andymark.biz
this is something that they really should put in the kit. the autonomous switch is very useful, but the disable switch is the most useful piece of hardware ever (and that includes the pic to run code on, and the laptop used to write said code)
  #5   Spotlight this post!  
Unread 14-01-2006, 00:20
Tsom467 Tsom467 is offline
Registered User
FRC #0467 (Shrewsbury Colonials)
Team Role: Leadership
 
Join Date: Mar 2004
Rookie Year: 2001
Location: Shrewsbury
Posts: 63
Tsom467 will become famous soon enoughTsom467 will become famous soon enough
Re: How to Start Autonomous mode?

We were discussing this the other day. Since, if you don't wire up the disable/auton switch correctly, you will fry your operator interface. Yes, we did, twice... $200 to repair each time....

Instead of leaving it up to the teams to do this, it would be easy for them to include a correctly wired one and help to limit the number of controllers they have to fix!
  #6   Spotlight this post!  
Unread 14-01-2006, 00:47
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: How to Start Autonomous mode?

You can also have a button on one of your joysticks to toggle the Auto mode function.

Code:
int automode=0;

if(p1_trig==1)autmode=1;

while(automode==1)
{
     if(p1_trig==1)autmode=0;
     User_Autonomous_Code();
}
  #7   Spotlight this post!  
Unread 14-01-2006, 07:14
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,549
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Tsom467
We were discussing this the other day. Since, if you don't wire up the disable/auton switch correctly, you will fry your operator interface. Yes, we did, twice... $200 to repair each time....

Instead of leaving it up to the teams to do this, it would be easy for them to include a correctly wired one and help to limit the number of controllers they have to fix!
Well, if you're paranoid about soldering up a good switch, there is an alternative.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
  #8   Spotlight this post!  
Unread 15-01-2006, 14:03
Oumonkey's Avatar
Oumonkey Oumonkey is offline
Master of the If statement
AKA: Josh Tyus
FRC #1555 (Pulse)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Monon, IN
Posts: 50
Oumonkey has a spectacular aura aboutOumonkey has a spectacular aura about
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Tom Bottiglieri
You can also have a button on one of your joysticks to toggle the Auto mode function.

Code:
int automode=0;

if(p1_trig==1)autmode=1;

while(automode==1)
{
     if(p1_trig==1)autmode=0;
     User_Autonomous_Code();
}
Where would I put that piece of code?
I don't know much about C, so I wanted to ask before I mess something up. don't hurt me...
__________________
  #9   Spotlight this post!  
Unread 15-01-2006, 14:35
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Oumonkey
Where would I put that piece of code?
I don't know much about C, so I wanted to ask before I mess something up. don't hurt me...
You could put it right in Default_Routine() or Process_Data_From_Master_uP()

Just make sure you initialize the trigger variable outside the function.

Code:
int automode=0;
void Default_Routine(void)
{

what I had before....

}

Last edited by Tom Bottiglieri : 15-01-2006 at 14:37.
  #10   Spotlight this post!  
Unread 15-01-2006, 20:35
Oumonkey's Avatar
Oumonkey Oumonkey is offline
Master of the If statement
AKA: Josh Tyus
FRC #1555 (Pulse)
Team Role: Programmer
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Monon, IN
Posts: 50
Oumonkey has a spectacular aura aboutOumonkey has a spectacular aura about
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Tom Bottiglieri
You could put it right in Default_Routine() or Process_Data_From_Master_uP()

Just make sure you initialize the trigger variable outside the function.

Code:
int automode=0;
void Default_Routine(void)
{

what I had before....

}
Great,, I think I know what do to know, I'll have to try it know. Thanks.
__________________
  #11   Spotlight this post!  
Unread 15-01-2006, 23:18
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: How to Start Autonomous mode?

<-- Totally my reaction! We gotta buying one of those switches!...not that we couldn't make it ourselves , but the fact that it has nice toggle switches and a giant stop the robot button so we won't have to chase down the robot, tackle it, and hit the e-stop
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #12   Spotlight this post!  
Unread 16-01-2006, 17:02
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: How to Start Autonomous mode?

Make your disable button very, very big. And always have it plugged into the OI. Earlier today I had a robot start running away because the joystick was out of calibration... I was literally holding onto the transmission mount panel, and hoping that someone would come hit the circut breaker.

Last year I had the robot come full speed in reverse at me. That wasn't too fun.

I think I may want to put a large EStop button on the robot itself this year..just tell it in code to zero all pwm's when its pressed
  #13   Spotlight this post!  
Unread 16-01-2006, 17:08
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: How to Start Autonomous mode?

For the uninitiated: When Robots Attack. (Watch Phrontist get dragged around by a robot, laptop and all. )
  #14   Spotlight this post!  
Unread 16-01-2006, 20:12
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Astronouth7303
For the uninitiated: When Robots Attack. (Watch Phrontist get dragged around by a robot, laptop and all. )
That has got to be the funniest thing I have ever seen.
  #15   Spotlight this post!  
Unread 16-01-2006, 20:34
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,031
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: How to Start Autonomous mode?

Quote:
Originally Posted by Astronouth7303
For the uninitiated: When Robots Attack. (Watch Phrontist get dragged around by a robot, laptop and all. )
Haha.

Yea, this is why kill switches are good ideas.
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
a simple autonomous mode question chippermonky Programming 3 18-02-2005 01:54
How do I enter the Autonomous mode? CompMaster Programming 5 17-02-2005 19:12
What do you do during autonomous mode? Salik Syed Programming 46 21-03-2004 21:05
Autonomous mode Tyler Olds General Forum 30 22-02-2004 14:31
Initializing autonomous mode Mr. Lim Programming 7 02-02-2004 07:26


All times are GMT -5. The time now is 17: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