Go to Post But now we know what's inside Shaun's backpack! ...Don Rotolo's plastic egg. - MishraArtificer [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #46   Spotlight this post!  
Unread 23-03-2014, 11:03
chris1592's Avatar
chris1592 chris1592 is offline
Chris
no team
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2007
Location: Thailand
Posts: 48
chris1592 is a jewel in the roughchris1592 is a jewel in the roughchris1592 is a jewel in the rough
Re: Hot Goal Timing Issues

Quote:
Originally Posted by sebas View Post
At the Orlando Regional, our team's auton. would check the Hot Goal about a quarter second after the robot was enabled for auton. During the matches, it would always think there was a hot goal because the vision target hadn't changed yet to indicate that the goal in front of us wasn't hot.

While changes could/will be implemented to compensate for the lag, it'd be nice to have the lag fixed entirely.
We ran into the same issues as our autonomous does roughly the same thing.

It was also hard to fix the problem because there was so much inconsistency in the lag/delay of the hot display.
Reply With Quote
  #47   Spotlight this post!  
Unread 23-03-2014, 13:51
vinnie's Avatar
vinnie vinnie is offline
Registered User
FRC #3309 (Friarbots)
Team Role: College Student
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Los Angeles / Anaheim
Posts: 107
vinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond reputevinnie has a reputation beyond repute
Re: Hot Goal Timing Issues

In LA it was really inconsistent, sometimes it would switch right away, sometimes it took a second and a half, leading us to miss our hot goal shot if the goal we were aiming for was hot second.

As someone mentioned above, this could easily be solved if the indicators started the match in the "not hot" position and flipped down to indicate hot rather than the other way around.
__________________
Student (3309) 2010-2013
Mentor (597) 2014
Mentor (3309) 2013-Present
Reply With Quote
  #48   Spotlight this post!  
Unread 23-03-2014, 15:04
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 520
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Hot Goal Timing Issues

Video : http://youtu.be/rMa97wE1XIc

Week 4 was our fist event, and having read about the issues and seeing it on the videos we worked hard to get this worked out on Thursday practice matches.

We are using a sensor to detect the dynamic reflector, we line up at the start of the match, and we have to make our hot detection prior to moving the bot, once we move the photoeye is no longer aligned.

We chose this as we have never done vision processing on a comp bot yet, and this seemed so simple that it was not worth the effort, for the point bonus.

This was taken at Week 4 Midland Mid Michigan event, and the timings below were calculated with raw video from my Nikon D5100. I am not sure about the frame rates after processed by YouTube so posting data here.

Summary, we have to wait a full second to detect, it was 750 mils to see the dynamic sensor move in frame. Also the second between 6 and 5 on the clock is significantly longer than a second. I suspect as the field electronics are running the code to change the states of the dynamic sensors and lights, there is extra processing happening. It appears that the added length from 6 to 5 is the taken off from 5 to 4 as 6 to 4 timing is 2 seconds.

For our bot, 1 second after autonomous starts, we check the sensor, and then turn on the underglow to match the goal we are shooting at.
Attached Thumbnails
Click image for larger version

Name:	Auto.PNG
Views:	81
Size:	31.8 KB
ID:	16633  
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote
  #49   Spotlight this post!  
Unread 23-03-2014, 15:22
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,574
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
Re: Hot Goal Timing Issues

Quote:
Originally Posted by tr6scott View Post
Summary, we have to wait a full second to detect, it was 750 mils to see the dynamic sensor move in frame. Also the second between 6 and 5 on the clock is significantly longer than a second. I suspect as the field electronics are running the code to change the states of the dynamic sensors and lights, there is extra processing happening. It appears that the added length from 6 to 5 is the taken off from 5 to 4 as 6 to 4 timing is 2 seconds.
When did the 2nd hot goal light? Hard to tell from Youtube.

Thanks for taking these measurements.
Reply With Quote
  #50   Spotlight this post!  
Unread 23-03-2014, 15:51
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Hot Goal Timing Issues

The field update for week 4 seems to have made all the hot goal delays less than one second. They've also changed the timer on the video display so that it turns yellow at 30 seconds.
Reply With Quote
  #51   Spotlight this post!  
Unread 23-03-2014, 15:55
Unsung FIRST Hero
Karthik Karthik is offline
VEX Robotics GDC Chairman
no team
Team Role: Mentor
 
Join Date: Apr 2002
Rookie Year: 1998
Location: Toronto, Ontario, Canada
Posts: 2,346
Karthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond reputeKarthik has a reputation beyond repute
Re: Hot Goal Timing Issues

Thanks for collecting this data.

Quote:
Originally Posted by tr6scott View Post
Also the second between 6 and 5 on the clock is significantly longer than a second. I suspect as the field electronics are running the code to change the states of the dynamic sensors and lights, there is extra processing happening. It appears that the added length from 6 to 5 is the taken off from 5 to 4 as 6 to 4 timing is 2 seconds.
I don't know whether I should laugh, or slam my head into my laptop.
__________________
:: Karthik Kanagasabapathy ::
"Enthusiasm is one of the most powerful engines of success. When you do a thing, do it with all your might. Put your whole soul into it. Stamp it with your own personality. Be active, be energetic, be enthusiastic and faithful and you will accomplish your object. Nothing great was ever achieved without enthusiasm" -- R.W. Emerson
My TEDx Talk - The Subtle Secrets of Success
Full disclosure: I work for IFI and VEX Robotics, and am the Chairman of the VEX Robotics and VEX IQ Game Design Committees
.
Reply With Quote
  #52   Spotlight this post!  
Unread 23-03-2014, 15:57
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Hot Goal Timing Issues

Quote:
Originally Posted by Karthik View Post
I don't know whether I should laugh, or slam my head into my laptop.
Laugh first, head slam second and hope it knocks you unconscious so you don't have to worry about it anymore.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android

Last edited by plnyyanks : 23-03-2014 at 19:24.
Reply With Quote
  #53   Spotlight this post!  
Unread 23-03-2014, 16:33
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 520
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Hot Goal Timing Issues

Quote:
Originally Posted by Joe Ross View Post
When did the 2nd hot goal light? Hard to tell from Youtube.
Frame 222 - Right Goal Only lit
Frame 223 - Both Goals lit
Frame 224 - Left Goal Only lit

I shared the raw video file on my goggle drive, you should be able to click the link to download. Not sure if google will try to play or not, hopefully you can download.


https://drive.google.com/file/d/0B9P...it?usp=sharing

*when you click the link, you can use the "File" menu to download.
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 23-03-2014 at 18:09. Reason: Added download note.
Reply With Quote
  #54   Spotlight this post!  
Unread 23-03-2014, 18:05
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 520
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Hot Goal Timing Issues

Also, picture of the actuator for the dynamic reflector.
I would guess this reacts much quicker than the 750 mils.
Pretty sure it isn't hardware.

https://www.facebook.com/photo.php?f...type=3&theater
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 23-03-2014 at 18:06. Reason: bad wording by engineer.
Reply With Quote
  #55   Spotlight this post!  
Unread 25-03-2014, 16:11
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: Hot Goal Timing Issues

Team 3018 was in 18 matches week 4 at Wisconsin (19 autonomous periods since one match had a replay declared partway through telop).

We hit the hot zone in 18 out of 19 attempts. The reason for the one failure was that the hot zone flapper stayed hot on the non-hot goal for the first 5 seconds. We hit the shot in the first 5s because that is what the flapper told us to do.

The robot can score in about 1.8s from the white zone so the auton algorithm is to wait for 2 full seconds before checking for the hotzone (we use vision tracking of 4 pics per second). It begins moving as soon as it sees a hot marker or until a timer set at autonomous_init() hits 5s.

I've seen us start moving *before* the hot goal has moved to our side but it is always hot by the time we hit it. I think this must be due to the long 5-6s interval.

At our first event (Lake Superior week 2) we had unbelievable issues with the hot zone. Originally we waited only 1s and we were using the drive station object (java) to check match time to decide when to go. We were always going early so we first had it start waiting 2s instead of 1s. But we would still always go early. We set our own timer in autonomous_init and things started working like at home, but we kept the 2s wait 'just to be safe'.

Then we discovered the flappers at one end of the field were reversed, and later we had another stuck (both stay hot) scenario. We lost a match by 3 points in one match where the field lied to us about which was hot (we'd have been the first seed instead of second had that worked properly). Finally, (completely unrelated to to hot zone targeting) we had a physical catch to keep our robot in frame that a motor had to break away from. By elims we were bent and battered so even though the robot was moving for the hot zone, the breakaway failed for mechanical reasons (catch too firm all of a sudden) and the shot never happened. We only scored 5pts for about 6 matches in a row. A piece of scored electrical tape allowed us to function properly in the very final match.

Things were certainly better week 4 at Wisconsin (we used a magnet base breakaway which completely solved the one problem), but not quite perfect due to the one bad flapper event.

It's only 5 points, but it can be the difference in some matches, so it is nice when it works properly.
Reply With Quote
  #56   Spotlight this post!  
Unread 25-03-2014, 16:20
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Hot Goal Timing Issues

Quote:
Originally Posted by cstelter View Post
Then we discovered the flappers at one end of the field were reversed, and later we had another stuck (both stay hot) scenario.
Those situations, if they occur again, should be brought up to your FTA - those sound like prime candidates for field faults.

Every morning the field staff should run a full test where they check for this sort of thing, so they should be pretty rare.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #57   Spotlight this post!  
Unread 25-03-2014, 16:38
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Hot Goal Timing Issues

Quote:
Originally Posted by tr6scott View Post
Also the second between 6 and 5 on the clock is significantly longer than a second. I suspect as the field electronics are running the code to change the states of the dynamic sensors and lights, there is extra processing happening. It appears that the added length from 6 to 5 is the taken off from 5 to 4 as 6 to 4 timing is 2 seconds.
Seriously?

Coding timers that remain true to real-time while other stuff is going on is not difficult. Seems to me that the field timing should probably have 'remains true to within 100 ms throughout the match' as one of its mission critical requirements.

Its stuff like this that makes me seriously question both the people *doing* the work, and the people *checking* the work in Manchester.
Reply With Quote
  #58   Spotlight this post!  
Unread 25-03-2014, 16:44
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: Hot Goal Timing Issues

Quote:
Originally Posted by plnyyanks View Post
Those situations, if they occur again, should be brought up to your FTA - those sound like prime candidates for field faults.

Every morning the field staff should run a full test where they check for this sort of thing, so they should be pretty rare.
We brought the issues up to the FTA at Lake Superior. The one failure at WI occurred in our 2nd quarter final match and it did not affect the outcome. My son is the lead programmer and was driver and he saw the problem. I'm not sure if he mentioned to the FTA or not, but we started in the same place for finals and it was fine.

At Lake Superior, we had to review video, check code, etc. before we found the root cause of the problems. The reversed flappers I think were only problematic on practice day. The stuck flapper required us to review the video before we found the problem and by then it was too late to ask for a fault. (I think we did ask and were told it was too late-- it was a couple matches later).

None of the problems hurt us from winning Lake Superior, nor reaching finals at Wisconsin so we're not grousing about it-- just sharing our own observations.

We now *always* watch the flappers (both left/right) every match as you never know when those 5 points will become critical and unless we notice it live it will be too late to go to the question box. Even then, I'm not sure it will result in a replay as it is unlikely the refs are watching for it and they won't accept video evidence.
Reply With Quote
  #59   Spotlight this post!  
Unread 31-03-2014, 04:37
Michael Corsetto's Avatar
Michael Corsetto Michael Corsetto is offline
Breathe in... Breathe out...
FRC #1678 (Citrus Circuits)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2002
Location: Davis, CA
Posts: 1,132
Michael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond reputeMichael Corsetto has a reputation beyond repute
Re: Hot Goal Timing Issues

Any news on if the initial hot goal delays have persisted through week 5? If so, is the delay now consistently <1sec? Just wondering for autonomous implementation. Thanks!

-Mike
__________________
Team 1678: Citrus Circuits - Lead Technical Mentor, Drive Coach **Like Us On Facebook!**
Reply With Quote
  #60   Spotlight this post!  
Unread 31-03-2014, 10:24
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,077
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Hot Goal Timing Issues

Looking at the images we recorded from DC indicates that there was still a delay.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
Reply


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


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

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