Go to Post My mom's cousin heard from her friend who heard from her brother who heard from his barber who heard from his son that his teacher told him that his father's brother's sister's former roommate heard from Frank himself. - notmattlythgoe [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 02-03-2004, 14:38
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
How do you turn on the Autonomous mode (to test)?

Hi i can't test autonomous, what i did was put some code in user routines where if a joystick trigger is pressed the autonomouse mode var is set to 0 but when i do it nothing happens????? I can still control the robot!
__________________
Team 701
  #2   Spotlight this post!  
Unread 02-03-2004, 14:39
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,188
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 do you turn on the Autonomous mode (to test)?

set team number to 0000
  #3   Spotlight this post!  
Unread 02-03-2004, 14:53
Jason Rudolph Jason Rudolph is offline
Alumni of 168
no team
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Coral Springs, FL
Posts: 144
Jason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud ofJason Rudolph has much to be proud of
Send a message via AIM to Jason Rudolph
Re: How do you turn on the Autonomous mode (to test)?

Go to http://www.innovationfirst.com/FIRST...nout_Guide.PDF

and make yourself a dongle, having a couple of switches to test auton, and to be able to disable the robot when needed are both invaluable, plus if you want to showcase multiple robots, you can change the channel of the radio as well. Highly recommended
  #4   Spotlight this post!  
Unread 02-03-2004, 15:01
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,862
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
Re: How do you turn on the Autonomous mode (to test)?

Quote:
Originally Posted by Salik Syed
Hi i can't test autonomous, what i did was put some code in user routines where if a joystick trigger is pressed the autonomouse mode var is set to 0 but when i do it nothing happens????? I can still control the robot!
Normally, you'd be wanting to set the autonomous_mode = 1.

a la,
Code:
autonomous_mode = p1_sw_top;
if (autonomous_mode)

{

User_Autonomous_Code();

}

__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 02-03-2004, 20:32
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: How do you turn on the Autonomous mode (to test)?

Quote:
Originally Posted by Jason Rudolph
Go to http://www.innovationfirst.com/FIRST...nout_Guide.PDF

and make yourself a dongle, having a couple of switches to test auton, and to be able to disable the robot when needed are both invaluable, plus if you want to showcase multiple robots, you can change the channel of the radio as well. Highly recommended
This method is the most convinent and safe. It allows you to quickly diable the robot if it goes berserk. (and it will...)
__________________

  #6   Spotlight this post!  
Unread 02-03-2004, 22:33
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: How do you turn on the Autonomous mode (to test)?

Thanx mark....(and others also) for the code.... i see what i did wrong ....
I didn't put this in:
if (autonomous_mode)

{

User_Autonomous_Code();

}


I thought that maybe just setting auton = 1 would do the trick i didn't know about that..
__________________
Team 701
  #7   Spotlight this post!  
Unread 03-03-2004, 23:37
JBabbie's Avatar
JBabbie JBabbie is offline
Registered User
#0201
 
Join Date: Mar 2004
Location: Michigan
Posts: 10
JBabbie is on a distinguished road
Re: How do you turn on the Autonomous mode (to test)?

you could always copy and paste your code onto the bottom of user_routines.c and put an if statement over it...

if (p1_sw_trig = 1)
run your auto code kinda thing
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
test autonomous mode CharlieWilken Programming 14 20-02-2004 00:39
inputting data for autonomous mode Lou Programming 2 16-02-2004 22:26
Initializing autonomous mode Mr. Lim Programming 7 02-02-2004 07:26
how can you use a gyro in autonomous mode magical hands Programming 3 02-01-2004 13:31
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


All times are GMT -5. The time now is 16:09.

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