Go to Post anything that breaks a kitbot frame is probably breaking most custom frames of similar weight, too. - dtengineering [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 04-13-2014, 07:43 PM
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,117
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: FIRST please fix....

Quote:
Originally Posted by engunneer View Post
Off topic: that blue human player went just a bit out of his box...
G39 is "remain in contact". While he kept a foot in the area of the blue box, there were times when that foot was off the ground.

I interpret those times when a part of the body is in the area bounded by the box as "Exceptions will be granted for ... momentary". That allows for a player to jump up to catch a ball, while fully staying in the box.
  #17   Spotlight this post!  
Unread 04-13-2014, 07:47 PM
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,182
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: FIRST please fix....

Here are some DS logs from matches where this happened to us. Q92 and QF1-1 at SVR.

I've also attached a log from team 118, who saw the same bug at Alamo.


Attached Files
File Type: zip 254_ds_logs.zip (291.1 KB, 10 views)
File Type: zip 118_ds_logs.zip (63.6 KB, 15 views)
  #18   Spotlight this post!  
Unread 04-13-2014, 09:35 PM
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,069
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: FIRST please fix....

Quote:
Originally Posted by Adam Freeman View Post
The second time the issue showed itself slightly longer into auton (maybe 6-7s in), it almost seemed to be some sort of interaction between our CheezyVision timing and the field....since both times it seemed to occur right when we selected the HOT goal. We were going to stop using it, but the FTAs wanted us to keep everything exactly the same.
I would be very surprised if CheesyVision was responsible. There are only ~30 payload bytes (plus TCP overhead) being transmitted to the cRIO per second on one of the open ports listed in the manual. That is peanuts compared to the live video streams and Network Tables data that teams have used successfully for years. Besides which, we have evidence that this bug occurred prior to CheesyVision ever being used. I am confident that this problem is unrelated and will be fixed before Championships.

(But just in case, we are going to make our autonomous routines robust to the problem...)
  #19   Spotlight this post!  
Unread 04-13-2014, 09:36 PM
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,509
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: FIRST please fix....

I'm glad Greg was there to see it and record info on it. We were all questioning what would happen if they were unable to fix the bug - indefinite replays or just let the defective matches stand? Yikes!

I am ALSO very glad that Marjie Jenkins took the microphone and called out booing after the the second replay was announced. It doesn't matter which team in particular, but I hope the mentors on that particular team have a long talk about gracious professionalism with their members. I'm sure their students would have felt differently had they been on the other side of the field glitch.

I believe Greg grabbed our DS logs as well - we had actually shown him some earlier when he was looking at the field networking.
  #20   Spotlight this post!  
Unread 04-13-2014, 09:38 PM
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: FIRST please fix....

Quote:
Originally Posted by Jared Russell View Post
(But just in case, we are going to make our autonomous routines robust to the problem...)
Could you go into detail about how you plan on doing that (because 254 apparently hasn't helped our auto enough yet this year)?
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #21   Spotlight this post!  
Unread 04-13-2014, 09:53 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: FIRST please fix....

Quote:
Originally Posted by Gregor View Post
Could you go into detail about how you plan on doing that (because 254 apparently hasn't helped our auto enough yet this year)?
I'm sure 254 can go into detail on their particulars but here are some general principles:
  • Add a hasRun flag into autoInit to sure any macro initialization runs once (resetting gyros and encoders for example)
  • Make sure any PID with an I component behaves appropriately if the robot is disabled briefly. This may be the case already or it may require making sure that the PID is disabled when the robot is disabled or resetting it when the robot is enabled to avoid integral wind-up.
  • Implement the auto routine as a state machine (as opposed to a hardcoded sequence). If using Iterative Robot, you're probably OK already in this regard. If using Simple Robot you may not be. I'll have to go back and look at some of the details of the Command Based implementation to give proper advice there.
  • If using the Simple Template in C++ or Java, make sure to save the above state data in global variables (not in the auto method itself). This allows the state to be maintained if you drop out of the auto method.
  • Again if using the Simple Template, make sure you have implemented the state machine above as a loop which checks that the robot is enabled. This is important to make sure that you are not taking actions and moving through states which have no external feedback with the robot disabled (and therefore not actually able to take these actions).

Last edited by RufflesRidge : 04-13-2014 at 11:26 PM.
  #22   Spotlight this post!  
Unread 04-13-2014, 10:21 PM
fox46's Avatar
fox46 fox46 is offline
Registered User
FRC #2013 (Cybergnomes)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Toronto, ON, Canada
Posts: 400
fox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond reputefox46 has a reputation beyond repute
Re: FIRST please fix....

Is this bug localized to one single robot or an entire alliance? We had an instance in Calgary where our autonomous shot one ball then the shooter failed to reload, (to shoot the second ball) the intake mechanism seems to cycle yet cannot due to the shooter arm blocking it, then rather than pausing, triggering the shooter and then driving forward for mobility- as soon as the intake appears to deploy and retract, it immediate skips to driving forward. We were unable to reproduce the behavior off the field in practice mode and never figured out what caused it. It only happened the one match. I wonder if this was this bug in action.

http://www.watchfirstnow.com/archives/91370417

Our typical autonomous follows:
*enable*
>open pneumatic latch releasing spring-loaded shooter arm to fire 1st ball
>reload shooter
>>activate loading arm to charge catapult
>>when latch limit switch triggered by catapult, close pneumatic latch
>>reverse loading arm to move it out of way of catapult until it hits limit
>deploy intake mechanism with intake wheels running
>retract intake mechanism and turn off wheels
>pause 1.5 seconds for 2nd ball to settle
>release pneumatic latch to shoot second ball
>drive forward 1.5 sec

In that match it seemed to follow: (Red=skipped steps)
*enable*
>open pneumatic latch releasing spring-loaded shooter arm to fire 1st ball
>reload shooter
>>activate loading arm to charge catapult
>>when latch limit switch triggered by catapult, close pneumatic latch
>>reverse loading arm to move it out of way of catapult until it hits limit

>deploy intake mechanism with intake wheels running
>retract intake mechanism and turn off wheels
>pause 1.5 seconds for 2nd ball to settle
>release pneumatic latch to shoot second ball

>drive forward 1.5 sec

When teleop enabled, the driver was able to click the fire button and the system reloaded automatically as usual. This means that the shooter's reload mechanism had not moved from its home position on the limit switch and had not even attempted a reload cycle after the first shot. It's almost as if we had forgotten to put the machine in 2-ball autonomous however, the intake mechanism cycling proves that it was indeed trying to go for a second ball.
__________________
Mentor, Team 2013 Cybergnomes 2010 - 2014, 2016
Mentor, Team 3756 RamFerno 2011 - 2013
Mentor, Team 854 Iron Bears 2005-2007
Founding member, Team 854 Iron Bears 2000-2005

Mech.Eng.+Mgt University of Ontario 2009
B.Ed OCT Trent University 2015
Professional Education and Product Knowledge Consultant - Toyota Canada Inc.
  #23   Spotlight this post!  
Unread 04-13-2014, 10:28 PM
SilentStryk09's Avatar
SilentStryk09 SilentStryk09 is offline
Registered User
AKA: Andy
FRC #0308 (The Monsters)
Team Role: Coach
 
Join Date: Mar 2013
Rookie Year: 2004
Location: Commerce, MI
Posts: 21
SilentStryk09 will become famous soon enough
Re: FIRST please fix....

Quote:
Originally Posted by fox46 View Post
Is this bug localized to one single robot or an entire alliance?
At MSC, it was the entire red alliance in QF1-1 and QF1-1.1. They appeared to replace every connection to the FMS (all the green Cat5e cables) before eventual third and successful run of the match. I know they were on the horn with FIRST HQ to help troubleshoot the issue. Hopefully this is something that gets resolved before then. I can't believe a system was designed that doesn't allow them to kill a match early.
  #24   Spotlight this post!  
Unread 04-13-2014, 10:33 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 985
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: FIRST please fix....

Quote:
Originally Posted by SilentStryk09 View Post
At MSC, it was the entire red alliance in QF1-1 and QF1-1.1. They appeared to replace every connection to the FMS (all the green Cat5e cables) before eventual third and successful run of the match. I know they were on the horn with FIRST HQ to help troubleshoot the issue. Hopefully this is something that gets resolved before then. I can't believe a system was designed that doesn't allow them to kill a match early.
They can. See Adam's post above for why it wasn't the second time (the first time presumably the FTAs were not aware there was an issue)
  #25   Spotlight this post!  
Unread 04-13-2014, 10:35 PM
SilentStryk09's Avatar
SilentStryk09 SilentStryk09 is offline
Registered User
AKA: Andy
FRC #0308 (The Monsters)
Team Role: Coach
 
Join Date: Mar 2013
Rookie Year: 2004
Location: Commerce, MI
Posts: 21
SilentStryk09 will become famous soon enough
Re: FIRST please fix....

Oh, i realize they "can", but i find it odd it doesn't write the logs when they call a field fault and kill the match. Then again, I'm not a programmer and have no idea what that entails
  #26   Spotlight this post!  
Unread 04-13-2014, 10:37 PM
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,069
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: FIRST please fix....

Quote:
Originally Posted by SilentStryk09 View Post
I can't believe a system was designed that doesn't allow them to kill a match early.
The issue isn't an inability to kill a match early; it's the inability to find out what went wrong (by looking at the logs) if a match with an error is killed early.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #27   Spotlight this post!  
Unread 04-13-2014, 10:46 PM
Zebra_Fact_Man's Avatar
Zebra_Fact_Man Zebra_Fact_Man is offline
]\/[ Go Blue!
AKA: Solomon
FRC #1076 (Pi Hi Samurai)
Team Role: Coach
 
Join Date: Mar 2012
Rookie Year: 2006
Location: Ann Arbor, MI
Posts: 454
Zebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant futureZebra_Fact_Man has a brilliant future
Re: FIRST please fix....

Quote:
Originally Posted by Tom Line View Post
I am ALSO very glad that Marjie Jenkins took the microphone and called out booing after the the second replay was announced. It doesn't matter which team in particular, but I hope the mentors on that particular team have a long talk about gracious professionalism with their members. I'm sure their students would have felt differently had they been on the other side of the field glitch.
I'm pretty sure no one individual team was responsible for the booing, but rather a collective disappointment from a large portion of the audience. It wasn't directed toward the teams or the staff, but rather HQ itself.

I fully understand that everyone involved with FIRST gets nothing in return for sacrificing their time to make this a possibility except for the satisfaction of helping a lot of students, and I am eternally grateful each of their services. This couldn't be done without them. I myself am a volunteer, both within my own teams and at the events. But come on guys, it's week 7 already! FRC is a product that we all buy into and expect to work, and this kind of problem this late in the season is simply unacceptable. Chances are it had nothing to do with any of the volunteer staff on site; they're just doing their job the best they can. Maybe it's just because I'm getting old enough to finally noticing these problems, or maybe this is actually new, but while all the foot soldiers plod along at each event doing their jobs excellently, quality from the top of the organization seems to have declined.

I'm not mad at the GDC for some of the questionable decisions they made this year regarding the unnecessarily large responsibility allocated to the refs, or some of the penalty values (or the refs for enforcing these penalties), or even the large push toward heavy defense or 1 game-piece games, but this kind of technical failure bothers me greatly.

Keep in mind I have no horse in this race (I was completely unaffected by any of these technical failures and my teams were eliminated from Championship contention weeks ago). I just feel bad for all the alliances including MSC QF 1-1 that have gotten screwed by the the field system we were given to use. I'm just frustrated that while all the other teams are doing their best and working their darnedest, considering the pedestal lights, the hot goal timing, match length discrepancy, and now this, the FMS we were given doesn't seem to be fully debugged before being released to us for use.

disagree with me or not, these are my individual feelings. I don't know any of the facts, so I may be entirely in left field. Thank you event-staff FMS guys for working your butts off to get it fixed. You guys are troopers. This kind of problem is WAY over my level of understanding.
__________________
My Journey in FIRST:

Mentor/Coach/Engineer
2014-2016: Team 1076 - Pi Hi Samurai
____ 2014: Team 5220 - The Rockets
2009-2014: Team 313 - The Bionic Union/Bionic Zebras
Student
2006-2009: Team 313 - The Bionic Union
  #28   Spotlight this post!  
Unread 04-13-2014, 11:03 PM
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,720
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: FIRST please fix....

Quote:
Originally Posted by Tom Bottiglieri View Post
Here are some DS logs from matches where this happened to us. Q92 and QF1-1 at SVR.

I've also attached a log from team 118, who saw the same bug at Alamo.


We saw this exact same issue at North Star! There were two matches where our autonomous drove forward, put down our arm in order to shoot, and just stopped. We spent half a day trying to figure it out, and the only thing I could see were gaps in autonomous that looked exactly like that - with no apparent cause. It seemed to "fix itself" after those two matches and never happened again, so we pretty much forgot about it.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
  #29   Spotlight this post!  
Unread 04-13-2014, 11:04 PM
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,547
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: FIRST please fix....

If you think you were affected by this issue, please run the following tool against your DS Logs: http://www.chiefdelphi.com/forums/sh...67#post1373367

It should be much faster then manually looking at log files and much better then guessing from video evidence.
  #30   Spotlight this post!  
Unread 04-13-2014, 11:24 PM
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,069
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: FIRST please fix....

Quote:
Originally Posted by Gregor View Post
Could you go into detail about how you plan on doing that (because 254 apparently hasn't helped our auto enough yet this year)?
What RufflesRidge posted is basically correct. Persist autonomous mode state across mode changes so you pick up from the same place you left off. In our case, we use a lot of timing from the start of the match that was thrown off by the false start of teleop.

Also, for those that asked: In our experience, the entire field experienced this issue simultaneously.
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


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

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