Go to Post If mentors don't respect the students' desire to learn and take an active role in the construction, they're missing the point of FIRST. If students refuse to accept the knowledge and experience of the mentors, that's not independence - it's arrogance. - DB213parent [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 09-11-2002, 14:37
Unsung FIRST Hero
Nate Smith Nate Smith is offline
FRC Key Volunteer Trainer
AKA: CrazyNate
no team
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Old Town, Maine
Posts: 1,029
Nate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to beholdNate Smith is a splendid one to behold
Send a message via AIM to Nate Smith Send a message via Yahoo to Nate Smith
Here's something interesting...

Quote:
From: http://www.innovationfirst.com/FIRST...RC_Default.bsx (EduRobot Default Code)
Code:
'---------- Aliases for the Pbasic Mode Byte (PB_mode) -----------------------------------------------
'  Bit 7 of the PB_mode byte (aliased as comp_mode below) indicates the status
'  of the Competition Control, either Enabled or Disabled.  This indicates the
'  starting and stopping of rounds at the competitions.
'  Comp_mode is indicated by a solid "Disabled" LED on the Operator Interface.
'  Comp_mode = 1 for Enabled, 0 for Disabled.
'
'  Bit 6 of the PB_mode byte (aliased as auton_mode below) indicates the status
'  of the Autonomous Mode, either Autonomous or Normal.  This indicates when
'  the robot must run on its own programming.  When in Autonomous Mode, all
'  OI analog inputs are set to 127 and all OI switch inputs are set to 0 (zero).
'  Auton_mode is indicated by a blinking "Disabled" LED on the Operator Interface.
'  Auton_mode = 1 for Autonomous, 0 for Normal.
'
'  Autonomous Mode can be turned ON by setting the RC to Team 0 (zero).
'
'  Bit 5 of the PB_mode byte (aliased as user_display_mode below) indicates when
'  the user selects the "User Mode" on the OI.  PB_mode.bit5 is set to 1 in "User Mode".
'  When the user selects channel, team number, or voltage, PB_mode.bit5 is set to 0
'  When in "User Mode", the eight Robot Feedback LED are turned OFF.
'  Note: "User Mode" is identified by the letter u in the left digit (for 4 digit OI's)
'  Note: "User Mode" is identified by decimal places on the right two digits (for 3 digit OI's)

comp_mode		VAR PB_mode.bit7
auton_mode		VAR PB_mode.bit6
user_display_mode	                VAR PB_mode.bit5
Veeerrrryyy interesting...if this carries over to the full size RC at all, it appears we now have the ability to send a 3 digit(1 byte?) number to the OI display, as well as that the system has the ability to go into "autonomous mode," which locks out all driver inputs....hinting at the game, perhaps? Or maybe completely unrelated...
__________________
Nate Smith
nsmith@smythsoft.com
12 seasons, 4 teams, and more time logged behind the scorekeeper's table than I care to remember...
returning for 2011? only time will tell...

Last edited by Nate Smith : 09-11-2002 at 14:41.
  #2   Spotlight this post!  
Unread 09-11-2002, 14:52
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Definately interesting.

Since the botht the eduRobot and the full-size RC use the same OI, I'd guess that the functionality of user-mode display will still be there. The autonomous part is what really interests me though....
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #3   Spotlight this post!  
Unread 09-11-2002, 16:58
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
gah! the programmers will have something to do this year! yay!

now, just to figure out how to make the robot 'dance' on it's own...
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #4   Spotlight this post!  
Unread 10-11-2002, 18:42
DanL DanL is offline
Crusty Mentor
FRC #0097
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Somerville, MA
Posts: 682
DanL is just really niceDanL is just really niceDanL is just really niceDanL is just really niceDanL is just really nice
Send a message via AIM to DanL
Well isn't this essentially what we asked for in that big "Suggestions for the 2003 game" thread a while back? <insert link to appropriate thread here had I have been able to immidiately find the correct one>

I for one am looking forward to it.
__________________
Dan L
Team 97 Mentor
Software Engineer, Vecna Technologies
  #5   Spotlight this post!  
Unread 11-11-2002, 08:25
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Just a question but do you mean you guys couldn't have programmed a completely autonomous robot until now using the ifi system???
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
  #6   Spotlight this post!  
Unread 11-11-2002, 08:47
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
we could have. infact, the programming aspect will be nothing different this year than last year (i'm assuming autnomy will be mandated), except now me and dan will need to add an "Autonomous Code" section, which is flipped on or off by a digital input. If I wanted, I could have done that this year, but i never had time, so i never bothered. it may pay to start trying some stuff though...
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #7   Spotlight this post!  
Unread 11-11-2002, 12:59
srawls's Avatar
Happy Birthday! srawls srawls is offline
Registered User
#0122 (Nasa Knights)
 
Join Date: Dec 2001
Location: Yorktown
Posts: 507
srawls is an unknown quantity at this point
Send a message via AIM to srawls
Quote:
Just a question but do you mean you guys couldn't have programmed a completely autonomous robot until now using the ifi system???
No, we could have done it before, and it will be no easier to do it now. The importance of this revalation is that now we might HAVE TO program a completely autonomous robot (at least for a portion of the match).

Stephen
  #8   Spotlight this post!  
Unread 11-11-2002, 13:54
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
Quote:
Originally posted by wysiswyg
Just a question but do you mean you guys couldn't have programmed a completely autonomous robot until now using the ifi system???

It was possible before, it just wasn't mandated.

There are a lot of variables needed to be known in programming an autonomous robot. One of the more helpful variables is time. The robot contoller has no reliable method of telling time, or difference of time, except that data is sent at minimum every 25ms. Sometimes it may take longer depending on the size and complexity of the code. Basically this means that 25ms or more passes between looping the execution.

Another variable is position. The need for this can vary based on the game. With the parts available from last years game, you could tell the position of the robot in relation to something else with the IR sensors. You could also tell the changing vertical angle of the robot with the gyro (up a ramp or down a ramp). You could also buy $100 parts and make some useful tools such as: a tachometer, a directional compass, acceleration detector, photoelectric distance measuring (up to 1.5m), magnetic material detection, and proximity sensing (including ultrasonic).

However, the parts tended to be rather expensive enough that often times only one of these devices could be built with the materials given. Especially with the tachometer, which would require a separate microprocessor since the included stamp processor is rather imprecise.



If they do mandate automation this year, more gadgetry, or at least a timer, will be needed to do it precisely. Unless they are only concerned with position in relation to other objects.

Sure, the retroreflective tape is nice... but it's not very realistic. I mean, how often does a survivor under 2 tons of rubble have retroreflective tape strapped to their back??? How many rocks on Mars have retroreflective tape on them???
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.

Last edited by Jnadke : 11-11-2002 at 14:10.
  #9   Spotlight this post!  
Unread 11-11-2002, 14:18
Andrew Andrew is offline
Registered User
#0356
 
Join Date: May 2002
Location: Little Rock, AR
Posts: 393
Andrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to all
Re: Autonomy...

Just imagine the havoc of several 130 lb robots with unstable autonomouse controllers careening around a 44'x22' playing field. Yee-Hah!

On a side note, I only discovered recently that the RC is active while in disable mode. It occurs that an autonomous program that just sends the robot forward when the motors are enabled could gain 1-2 seconds before a driver could react. Until last year, I don't think every second counted.

One autonomous task that might be interesting that could be accomplished in a reasonable time would be to follow a line. This is one place where the retroreflective tape and optical sensors could actual work in a competition setting.

Andrew
Team 356
  #10   Spotlight this post!  
Unread 11-11-2002, 14:21
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Quote:
Originally posted by Andrew
This is one place where the retroreflective tape and optical sensors could actual work in a competition setting.
Maybe thats why they were introduced last year, to get everybody thinking about good ways to use them, test their theories, etc. So instead of being a major player last year, teams would help test for FIRST so they could better design this years game.

Or not... i dunno.
__________________
Brandon Martus
e-mail
  #11   Spotlight this post!  
Unread 11-11-2002, 15:25
Ian W. Ian W. is offline
College? What?
no team (Gompei and the Herd)
Team Role: College Student
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Worcester, MA | Smithtown, NY
Posts: 1,464
Ian W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to allIan W. is a name known to all
Send a message via AIM to Ian W.
Quote:
Originally posted by Andrew

On a side note, I only discovered recently that the RC is active while in disable mode. It occurs that an autonomous program that just sends the robot forward when the motors are enabled could gain 1-2 seconds before a driver could react. Until last year, I don't think every second counted.
yes, i noticed this too. our robot had a ramping section of code, so the motors wouldn't violently jump around from full forward to full reverse in two tenths of a second (we're a bit cautious ). that meant the robot took maybe a second or so to react sometimes, although i've grown to like the delay, as i feel i can usually drive a little better with it. i did notice though, if i started the match with the joysticks pushed full forward, the robot would fly away at full speed as soon as the match began. very useful information to know .
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #12   Spotlight this post!  
Unread 11-11-2002, 15:46
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Quote:
Originally posted by Ian W.
gah! the programmers will have something to do this year! yay!

now, just to figure out how to make the robot 'dance' on it's own...
Team 211 (Kodak & Marshall High School) made their robot dance back in 2001. They showed it off at the Rochester Scrimage. It was rather neat to see even if it was completely pointless.

Matt
  #13   Spotlight this post!  
Unread 11-11-2002, 18:36
IVIaxor's Avatar
IVIaxor IVIaxor is offline
Registered User
#0824 (SWAT Robotics)
 
Join Date: Oct 2002
Location: Seattle
Posts: 28
IVIaxor is an unknown quantity at this point
It seems to me that FIRST has been moving tword an autonomous competition for a little while. Every year they have been giving us more and more sensors, even if very few people have used them. Maybe this year they are going to force us to use them.
__________________
"Poetry in stillness, Elegance in motion."

swatrobotics.org

Last edited by IVIaxor : 11-11-2002 at 18:38.
  #14   Spotlight this post!  
Unread 12-11-2002, 19:22
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
As far as I can tell from perusing the EduRobot material, the only way to turn on autonomous mode is to physically set the dip switches on the RC to team number 000. Unless it can also be commanded by the competition port, I don't see how autonomous mode can be required for part of the game.

Maybe the game will allow some teams to choose to fill an autonomous robot role. I.e. there may be some scoring opportunities which are only available to autonomous robots.
__________________
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
  #15   Spotlight this post!  
Unread 12-11-2002, 19:29
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Was the retroflective tape sensors that sensor with the red sheilding on it??
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill
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
Interesting Find UCGL_Guy General Forum 2 13-10-2003 11:58
Interesting "Terms of Service" George1902 Chit-Chat 7 17-09-2003 22:25
Why legs rule and wheels don't. An interesting article relating to the segway Adam Y. Dean Kamen's Inventions 1 30-10-2002 15:29
Interesting facts from the FIRST 9 regionals archiver 2001 12 24-06-2002 02:35
Interesting thing with the times Joe Ross CD Forum Support 6 14-05-2002 21:51


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

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