Go to Post Ken Patton rocks my socks off! - Josh Hambright [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 14-05-2004, 16:20
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Question 2001 2002 in Automous

can the 2001 2002 controllers (oi and rc) support autonomous modes like 2003 and 2004?
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
  #2   Spotlight this post!  
Unread 14-05-2004, 16:25
dez250 dez250 is offline
54... What a good number!
no team
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Upstate NY / Manchester, NH
Posts: 1,721
dez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond repute
Send a message via AIM to dez250
Re: 2001 2002 in Automous

Quote:
Originally Posted by SpaceOsc
can the 2001 2002 controllers (oi and rc) support autonomous modes like 2003 and 2004?
No they cant with out any modifications to the circuitry and firmware.
__________________
#5

-Michael Dessingue
  #3   Spotlight this post!  
Unread 14-05-2004, 16:35
D.J. Fluck
 
Posts: n/a
Re: 2001 2002 in Automous

Quote:
Originally Posted by dez250
No they cant with out any modifications to the circuitry and firmware.
I know for a fact back in 2003, you were able to send in your old RC to InnovationFIRST and they would do an update for you. I'm not sure if they offered this service this year, but I think its worth asking them about.

We sent in our 02 controller to IFI and they updated it to the 2003 specs just for practicing...obviously since thye are different setups in 03/04 you wouldnt be able to use it competition wise

Last edited by D.J. Fluck : 14-05-2004 at 16:37.
  #4   Spotlight this post!  
Unread 14-05-2004, 16:54
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 921
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
Re: 2001 2002 in Automous

Theres only certain ones that can be updated. Somthing with your serial number said if you could update or not.
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 6323 The Pink TeamMentor
FTC 8996 Pink Fluffy BunniesMentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
  #5   Spotlight this post!  
Unread 14-05-2004, 17:16
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: 2001 2002 in Autonomous

The robot controller will not enforce autonomous by neutralizing the operator interface inputs before your user program sees them. You are free, however, to ignore data from the OI.

You could set up a switch on the OI which would initiate autonomous operations. (I haven't tried it, but it is conceivable that pin 5 of the competition port may actually be passed in the PB_mode byte, so that you might be able to use the same competition port dongle you already have.... You do have one, don't you? )
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #6   Spotlight this post!  
Unread 14-05-2004, 17:20
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Red face Re: 2001 2002 in Autonomous

Quote:
Originally Posted by gwross
The robot controller will not enforce autonomous by neutralizing the operator interface inputs before your user program sees them. You are free, however, to ignore data from the OI.

You could set up a switch on the OI which would initiate autonomous operations. (I haven't tried it, but it is conceivable that pin 5 of the competition port may actually be passed in the PB_mode byte, so that you might be able to use the same competition port dongle you already have.... You do have one, don't you? )
dongle is not a word im familiar with but if u mean a competition port box that allows for channel change, autonomous mode, and disable functions then yes i do if not then help me out
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
  #7   Spotlight this post!  
Unread 14-05-2004, 17:43
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: 2001 2002 in Autonomous

Quote:
Originally Posted by SpaceOsc
dongle is not a word [I'm] familiar with but if u mean a competition port box that allows for channel change, autonomous mode, and disable functions then yes i do if not then help me out
Yep. That's what I'm talking about. Many teams (ours included) made their "box" compact enough to fit in a serial port connector shell. Something like that is what is referred to as a dongle.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #8   Spotlight this post!  
Unread 14-05-2004, 18:04
Mike Soukup's Avatar
Mike Soukup Mike Soukup is offline
Software guy
FRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Schaumburg, IL
Posts: 797
Mike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond reputeMike Soukup has a reputation beyond repute
Re: 2001 2002 in Automous

Quote:
Originally Posted by SpaceOsc
can the 2001 2002 controllers (oi and rc) support autonomous modes like 2003 and 2004?
Despite what others say, the old OI & RC are capable of autonomous mode. See this thread for an old post of mine on the issue http://www.chiefdelphi.com/forums/sh...5&postcount=11
  #9   Spotlight this post!  
Unread 14-05-2004, 18:06
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Cool Re: 2001 2002 in Automous

Quote:
Originally Posted by Mike Soukup
Despite what others say, the old OI & RC are capable of autonomous mode. See this thread for an old post of mine on the issue http://www.chiefdelphi.com/forums/sh...5&postcount=11
ahhh someone would know thank you
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
  #10   Spotlight this post!  
Unread 14-05-2004, 19:05
Joshua May's Avatar
Joshua May Joshua May is offline
Go Bears!
FRC #1110 (Binary Bulldogs)
Team Role: College Student
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Berkeley, CA
Posts: 1,306
Joshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond repute
Send a message via AIM to Joshua May
Re: 2001 2002 in Automous

Wouldn't it be possible to create a joystick trigger to start an "autonomous" mode. I think that something like this would be usable (its in C, its just for the basic idea):

Code:
/* Global Variables */
toggled = 0;
previous_toggle = 0;
clock_counter = 0;

/* Checks if the trigger is toggled */
void Default_Routine()
{
if (p1_sw_trig == 1 & previous_toggle == 0)
     {
     toggled = 1;
     run_auto = 1;
     }
     previous_toggle = p1_sw_trig;

if (run_auto & clock_counter <= 225) /* ~15 seconds in slow loop */
     {
     clock_counter++;
     /* Place "Autonomous" code here */
     }
}
if (counter > 225)
     counter = 0;

if (!run_auto)
     {
     /* Regular robot code here */
     }
You could also do one that would last until the trigger is pressed again:
Code:
/* Global Variables */
toggled = 0;
previous_toggle = 0;

void Default_Routine()
{
/* Checks if the trigger is toggled */
if (p1_sw_trig == 1 & previous_toggle == 0)
     {
     toggled = 1;
     run_auto = 1;
     }
     previous_toggle = p1_sw_trig;

if (p1_sw_trig == 1 & run_auto == 1)
     {
     toggled = 0;
     run_auto = 0;
     }

if (run_auto)
     {
     /* Place "Autonomous" code here */
     }
}

if (!run_auto)
     {
     /* Regular robot code here */
     }
Now these would be slower than a real processor with autonomous because of the If statements. Also, a heads up to the NRG Code Repository for the trigger toggler code.
__________________
The FIRST Wiki - openFIRST - Ultimate Robot Challenge - URC Wiki
I currently have 50 GMail invites, PM or email me for one.
UC Berkeley Class of 2009

2005 Las Vegas Regional Autodesk Visualization Award
2005 Las Vegas Regional #8 Seeded Alliance with 988 and 1505
2006 Southern California Regional #15 seed
  #11   Spotlight this post!  
Unread 15-05-2004, 12:55
Joshua May's Avatar
Joshua May Joshua May is offline
Go Bears!
FRC #1110 (Binary Bulldogs)
Team Role: College Student
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Berkeley, CA
Posts: 1,306
Joshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond reputeJoshua May has a reputation beyond repute
Send a message via AIM to Joshua May
Re: 2001 2002 in Automous

Here I've made an attempt at re-writting this code in PBasic for the 2001-2002 controllers, here is the section of code, it SHOULD work, but I have no method of testing it right now. Also, for this to work, the variables "toggled" "prev_toggle" and "run_auto" must be created and initially set to 0.

Code:
  IF (p1_aux = 1) & (prev_toggle = 0) THEN Toggler:
  Toggler:
    toggled = 1
    run_auto = 1
  prev_toggle = p1_aux

  IF (p1_aux = 1) & (run_auto = 1) THEN StopAuto:
  StopAuto:
    toggled = 0
    run_auto = 0

  IF (run_auto = 1) THEN GoAuto:
    driveR = (((2000 + p1_y + p1_x - 127) MIN 2000 MAX 2254) - 2000)
    driveL = (((2000 + p1_y - p1_x + 127) MIN 2000 MAX 2254) - 2000)
  GoAuto:
   ' Autonomous Code Goes Here
Just place this code into the drive section and hopefully it will work. I don't have much experience with PBasic, so if there are any errors, please tell me.
__________________
The FIRST Wiki - openFIRST - Ultimate Robot Challenge - URC Wiki
I currently have 50 GMail invites, PM or email me for one.
UC Berkeley Class of 2009

2005 Las Vegas Regional Autodesk Visualization Award
2005 Las Vegas Regional #8 Seeded Alliance with 988 and 1505
2006 Southern California Regional #15 seed
  #12   Spotlight this post!  
Unread 15-05-2004, 15:24
Mike Ciance Mike Ciance is offline
Registered User
FRC #0025 (Raider Robotix)
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2002
Location: North Brunswick, NJ
Posts: 693
Mike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant futureMike Ciance has a brilliant future
Send a message via AIM to Mike Ciance
Re: 2001 2002 in Automous

i think i remember somethign at the 2002 nationals where a robot won an award for autonomously grabbing the goals.....
  #13   Spotlight this post!  
Unread 17-05-2004, 01:52
Avarik Avarik is offline
Registered User
#0022
 
Join Date: Jan 2004
Location: Chatsworth, CA
Posts: 75
Avarik is an unknown quantity at this point
Re: 2001 2002 in Automous

I am not sure that you could cause autonomous mode to initiate through some signal to the competition port, but it would be possible to create an autonomous mode that ran off of the joystick. This is how i tested our autonomous.

I made my autonomous code simply a function. I called it once in the autonomous mode section, and once with an iff statement that ran only if p4_wheel was greater than a certain value. Here is an example.

Code:
if (p4_wheel > 200)
     My_Autonomous();
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
2000, 2001, 2002, Videos Boesing General Forum 28 07-02-2004 00:32
Ramp Riot 2002, November 2, Updated Information OZ_341 Off-Season Events 0 05-09-2002 02:40
Please Post Pictures of 2002 & 2001 Batteries... Joe Johnson General Forum 7 13-03-2002 15:49
Follow-up to 2001 Nats Mars Launch dlavery Chit-Chat 2 22-10-2001 20:45
2001 Scratch Awards Andy Grady General Forum 12 04-10-2001 22:04


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