Go to Post FRC for a four year student is a marathon disguises as four sprints. I'd much rather win the marathon than a sprint. - Ian Curtis [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 21-01-2003, 11:40
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Question Autonomous user-input loophole?

Was working on the code late last night, and this scenario occured to me:

While in autonomous mode, it's likely that the Operator Interface user_mode button will still be enabled, so that we can get feedback from the robot running in the form of a byte or use our LED's on the OI. The first forums talk about disabling all user-input ports, but I'm going on the assumption that the PB_mode byte will remain untouched.

Looking at the Competition Port pinout, it seems as if they only can toggle the autonomous_mode bit. So unless their "extra" chip inside the OI is coded to mess with individual bits of the PB_mode byte, teams should still have control over the user_mode bit.

So here's my idea. You have a single bit, the user_mode bit, as input during the 15 second autonomous period. If it were not held static by the judging station, you could very easily use it to trigger events in your autonomous code such as turning at breakpoints, or waiting at the top of the ramp until user_mode goes low, or any number of things. You can do a lot with a single bit in 15 seconds.

Does anyone know the state of this? I personally don't plan on giving my autonomous code any input whatsoever, but it would be nice to know if other teams might be able to implement this questionable hack.

DISCLAIMER: This only occured to me. I and my team have no intention whatsoever of giving our robot any input during autonomous operation.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...

Last edited by Jeff McCune : 21-01-2003 at 13:19.
  #2   Spotlight this post!  
Unread 21-01-2003, 12:43
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
This would be unethical and questionable as to whether it would work. I do not have an operator interface in front of me, so I am unable to test what is sent.


I'm sure if the referees caught you cheating in that way, they would kick you and your team out of the competition.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.
  #3   Spotlight this post!  
Unread 21-01-2003, 13:14
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
And rightfully so. With nearly 60 views and only one reply, it would seem this is a subject that's up in the air. I think I'll post a question to the innovation first forums to see if they're aware of the possible loophole.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...
  #4   Spotlight this post!  
Unread 21-01-2003, 14:00
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Quote:
Originally posted by Jnadke
I'm sure if the referees caught you cheating in that way, they would kick you and your team out of the competition.
I don't think the referees would do this. Worst case, they DQ you.

As for whether it works, I don't know. I have a couple of ideas for setting the program remotely, but haven't tested any of them.
  #5   Spotlight this post!  
Unread 21-01-2003, 14:21
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
I believe First's stance on setting programs remotely is that you shouldn't do it.



Basically, it's my understanding that once you put your robot down on the playing field, you can't give it any more information until after the autonomous period is over. Well, you're not supposed to at least, I'm questioning if you're technically able to.... So the 10 seonds it's sitting there, powered on while your human players are running around is supposed to be dead-air time.

Just my intrepretation of the rules so far.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...
  #6   Spotlight this post!  
Unread 21-01-2003, 15:01
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.
isn't the user mode controlled THROUGH the competition port, which is completely covered by the competition "teather" (i don't know what it's called, but it provides power, so i'll call it a teather ). unless you cut that open, and touch a few leads together, you can't alter the user_mode bit, cause it's part of the PB_mode byte, which is controlled by the referees. so, that leaves you without a bit to control what's going on in your robot...

there is a way around this though, but it's highly unethical. i'm pretty sure it was posted here before, but well, here it is again. another bit in the PB_mode byte is the competition bit, the one which disables you. you can disable yourself through the E-Stop button. so, you could technically use that to control your robot in the way mentioned above. as i said though, it's highly unethical, and almost sure to get you a nice DQ. to eliminate this, FIRST should make the E-Stop button work only once during autonomous mode. say your robot goes wild, you hit the E-Stop button, robot is disabled till the end of the 15 seconds. this would stop this idea from being used. on the other hand, i'm sure if teams use this, the referees would get mad. but, then again, there's no rule against it, yet.
__________________
AIM --> Woloi
Email --> ian@woloschin.com
  #7   Spotlight this post!  
Unread 21-01-2003, 15:45
Jay5780 Jay5780 is offline
Registered User
no team (Aztechs)
Team Role: Alumni
 
Join Date: May 2001
Rookie Year: 1996
Location: Warwick, Rhode Island
Posts: 172
Jay5780 will become famous soon enoughJay5780 will become famous soon enough
I was under the impression that there would be no power to the driver's station during autonomous time.

From the FIRST Forums...

The transition from the human player mode will be activated by the field control system when all of the pressure sensitive mats have human players on them.

At that time the field control system will send the 'Autonomous Mode' signal and the 'Enable' signal to the Operator Interface.
The 'Autonomous Mode' signal disables all user accessible ports on the Operator Interface while the 'Enable' signal is passed through to the Robot Controller.

The Robot Controller will then begin running the user program. At the end of the Autonomous period the field control system will terminate the 'Autonomous Mode' signal enabling the user accessible ports on the Operator Interface.
__________________
Jay
  #8   Spotlight this post!  
Unread 21-01-2003, 16:40
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
there is no 115v power, however the "competition tether" provides power to the OI. (does anybody know which pins do this?)
__________________
1139 Alumni
  #9   Spotlight this post!  
Unread 21-01-2003, 16:44
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
Re: Operator Power During Autonomous MOde

Technically, as soon as the Competition cable is plugged into the Operator Interface, the operator controls have power. However, whether or not the operator control data is transmitted to the robot is another story, and that's what the Enabled and Autonomous mode controls do...
__________________
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...
  #10   Spotlight this post!  
Unread 21-01-2003, 16:51
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Quote:
Originally posted by Ian W.
isn't the user mode controlled THROUGH the competition port, which is completely covered by the competition "teather" (i don't know what it's called, but it provides power, so i'll call it a teather ). unless you cut that open, and touch a few leads together, you can't alter the user_mode bit, cause it's part of the PB_mode byte, which is controlled by the referees. so, that leaves you without a bit to control what's going on in your robot...

When you push the select button on the Operator Interface until you have a u_000 or whatever, that's changing the user_mode bit of PB_mode. The OI will have power during autonomous operation. Furthermore, from the pinout of the competition port they don't have controll over the entire PB_mode byte. Just the autnomous mode. I could be wrong, and they do actually have control over the entire byte, so they simply need to force the user_mode bit to something constant. I guess I could just play around with the competition port and see if I can toggle user mode from it...
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...
  #11   Spotlight this post!  
Unread 21-01-2003, 18:06
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Quote:
Originally posted by Jeff McCune

I could be wrong, and they do actually have control over the entire byte, so they simply need to force the user_mode bit to something constant. I guess I could just play around with the competition port and see if I can toggle user mode from it... [/b]
Remember that we only have documentation of 4 pins of the competition port. We know that there is a power pin on there somewhere, but don't know which one. We also know that they have some way of setting the channel, becasue they do it at the competitions, irregardless of the dip switches on the front of the OI. So basically, there are more things that we don't know about the competition port then we do know. It would be very easy for them to give us a completely different interface then they use at the competitions (the already do this with the channel setting).

So basically, we don't really know :-)
  #12   Spotlight this post!  
Unread 21-01-2003, 20:18
sevisehda's Avatar
sevisehda sevisehda is offline
Registered User
#0666
 
Join Date: Jan 2003
Location: The South
Posts: 215
sevisehda is an unknown quantity at this point
Send a message via AIM to sevisehda
Although this post has mainly gone to the technical aspects of human control through the operator interface there are countless other ways of inputting data to your bot.


Example:
You could put an IR sensor on the bot with 9 preloaded programs. Have it look for a signal from a TV remote and choose the corresponding program. 1 for 1, 2 for 2, ect. Or you could stear it from the channle and volume buttons.


Personally I think its cheating to have any human input during the 15 seconds but I know someone will try.
  #13   Spotlight this post!  
Unread 21-01-2003, 21:03
n[ate]vw's Avatar
n[ate]vw n[ate]vw is offline
Registered User
#0933 (Adler Attack)
 
Join Date: Jan 2003
Location: Rockford, IL
Posts: 48
n[ate]vw is an unknown quantity at this point
Send a message via AIM to n[ate]vw
Quote:
Originally posted by sevisehda

Personally I think its cheating to have any human input during the 15 seconds but I know someone will try.
It is cheating to have human input. The whole point of "autonomous" mode is to have the robot control itself autonomously. Any "loop-holes" in the rules for autonomous mode will prove to be closed or wrong/hard to use by competition time. Hopefully people won't waste their time trying.
__________________
Adler Attack #933 -- Trigos
  #14   Spotlight this post!  
Unread 21-01-2003, 21:16
Kyle Fenton Kyle Fenton is offline
GET IT ON!!
FRC #0121 (Rhode Warrior)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 2000
Location: Middletown, R.I.
Posts: 785
Kyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud of
Send a message via AIM to Kyle Fenton
Quote:
Originally posted by Joe Ross
Remember that we only have documentation of 4 pins of the competition port. We know that there is a power pin on there somewhere, but don't know which one. We also know that they have some way of setting the channel, becasue they do it at the competitions, irregardless of the dip switches on the front of the OI. So basically, there are more things that we don't know about the competition port then we do know. It would be very easy for them to give us a completely different interface then they use at the competitions (the already do this with the channel setting).

So basically, we don't really know :-)
Pin 1 is for the power. I know it because I was fooling around with the pins and when I touched pin one with a keychain, sparks flied out of pins, and the OI reset itself. However I can't build one that provides power, because it could void the warrantee, and the OI isn't cheap.

I was always been finding a way to build a dummy arena controller, with power and switching the channels to the ones more than what can be provided by the channel select on the OI.

However I know when you power the OI from the cable, you get all that functionality plus more.

As for loopholes in the programming, well there are always loops in software, nothing is 100%. However you will be caught, and it won’t look good for your team.
  #15   Spotlight this post!  
Unread 21-01-2003, 21:39
Moshingkow Moshingkow is offline
Registered User
#0334
 
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 63
Moshingkow is an unknown quantity at this point
Quote:
Originally posted by Kyle Fenton
Pin 1 is for the power. I know it because I was fooling around with the pins and when I touched pin one with a keychain, sparks flied out of pins, and the OI reset itself. However I can't build one that provides power, because it could void the warrantee, and the OI isn't cheap.
Ok... So making the pins shoot out sparks doesn't void the warrantee?
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 better autonomous method.. randomperson Programming 4 24-02-2004 18:02
crazy idea for autonomous Mike Ciance Programming 16 24-04-2003 21:50
variable? manodrum Programming 11 01-04-2003 17:20
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Autonomous Kill Switch UCGL_Guy Programming 8 15-01-2003 17:39


All times are GMT -5. The time now is 04:29.

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