Go to Post It's your duty in FRC to your teammates and alliance partners to put the most competitive robot possible on the field. - Chris is me [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 28-05-2009, 21:36
johnr johnr is offline
Registered User
FRC #0910
 
Join Date: Jan 2007
Location: michigan
Posts: 567
johnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond reputejohnr has a reputation beyond repute
Bill's latest blog

Bill's latest blog mentions a problem at the start of matches. How wide spread was this problem and how much could it effect code. I am not a programmer but our bot did act up once or twice late in the season. Thanks for any further explanation you can give.
  #2   Spotlight this post!  
Unread 28-05-2009, 23:27
bobwrit's Avatar
bobwrit bobwrit is offline
//No Comment
AKA: ...
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Somewhere
Posts: 298
bobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nice
Re: Bill's latest blog

I didn't notice it often, but I noteced teams getting dropped from the FMS more often. It *may* affect a teams code slightly by forcing them to think of teleop and auton as two seperate programs instead of having one, then the other.
__________________

FRC Team 1977 Alumni

Has Attended:2008 Colorado regional
2009 Colorado Kickoff
2009 Colorado Regional
2010 Colorado Kickoff
2010 Colorado Regional




The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!"(I found it!), but rather, "Hmm.... That's funny" ---Isaac Asimov
Chance favors the prepared mind ---Louis Pasteur
And you can tell me, that I can't make a diffrence because I'm just one, but one is all it takes to start it. And you can tell me, that I can't change the world because I'm too young, but I wont stand here and be your target. ---FM Static
  #3   Spotlight this post!  
Unread 29-05-2009, 00:33
Ice Berg's Avatar
Ice Berg Ice Berg is offline
Seth Berg
AKA: Seth Berg
FRC #0694 (Stuy Pulse)
Team Role: Engineer
 
Join Date: Apr 2007
Rookie Year: 2007
Location: New York
Posts: 140
Ice Berg is a splendid one to beholdIce Berg is a splendid one to beholdIce Berg is a splendid one to beholdIce Berg is a splendid one to beholdIce Berg is a splendid one to beholdIce Berg is a splendid one to beholdIce Berg is a splendid one to beholdIce Berg is a splendid one to behold
Send a message via AIM to Ice Berg
Re: Bill's latest blog

This problem plagued us throughout the season, and caused us to sit still during autonomous during eliminations at Hartford. Our autonomous routine implemented a timer in order to break out of a PID loop. We had intermittent problems throughout NY and CT, but the FTA people couldn't figure it out. We suggested that the field may have been sending auton enabled signals before auton actually began causing the timer to start and count down, then when auton actually started the timer had already run out, but the field people said that this was impossible (disclaimer: not being a programmer I only have a general sense of how the program worked, so I'm sorry for not being more specific). We actually spent the last few weeks going through our code trying to fix the "problem" but could not find anything. This explains a lot.
__________________
Mens et Manus

  #4   Spotlight this post!  
Unread 29-05-2009, 05:54
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Bill's latest blog

This is an issue that I noticed quite a bit on Galileo. Speaking as a professional software developer I can say that independent programs to talk to each other in a disconnected manor is a difficult problem to solve. There is a lot to be said for the positives of FMS but every piece of software has its defects. At least no one got hurt because of this bug.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
  #5   Spotlight this post!  
Unread 29-05-2009, 06:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,829
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Bill's latest blog

Essentially, if the DS and robot began communicating with each other before the FMS exerted control (takes a second or two), then it would start operating enabled just like at home. Either auto/enabled or teleop/enabled depending on how your DS switch was set.

This bug was discovered during the early events and was the reason for the team startup procedure of:
1) making sure your DS switch was set to Teleop,
2) waiting for the Field Preset,
3) connecting the Driver Station and waiting for FMS to recognize the DS,
4) powering up the robot.

For next year, to solve this, FIRST is looking at a firmware change that forces both the DS and cRIO to connect to FMS before being allowed to connect to each other.

The window was small, but the robots could twitch dangerously (threatening the team & field crew), and of course if you used an auto state machine or a timer then your auto would likely be messed up.
For programmers this means always resetting any required startup states during auto/disable or teleop/disable. In the early days of autonomous in 2003/2004 we had similar learning experiences where the modes could be mixed and not the progression you'd expect: 1)auto/disabled, 2)auto/enabled, 3)teleop/disabled. 4)teleop/enabled, 5)teleop/disabled.
You might see a similar issue during the usual back-to-back practice matches run on Thursday.
Don't design your code to depend on these exact steps. Design it to work at home if the Teleop/Auto switch is toggled randomly.

We found at SBPLI we could safely stagger the startup procedure, but we made sure the FMS was in control of the DS before the robot cRIO's finished booting.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 29-05-2009 at 07:04.
  #6   Spotlight this post!  
Unread 29-05-2009, 07:37
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,078
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: Bill's latest blog

I have a scar on my left hand from when our "disabled" robot suddenly enabled itself in San Diego. I am glad to see that we are at least cognizant of the issue.
  #7   Spotlight this post!  
Unread 29-05-2009, 09:10
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Bill's latest blog

We had trouble with out robot (rolling PID loop(s)) on Galileo during the semi finals when they started rushing people to turn on the robot "right away". It caused our auto malfunction and we were not allowed to reboot the robot from the DS.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #8   Spotlight this post!  
Unread 30-05-2009, 23:18
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Bill's latest blog

I don't think that this was the cause to our problem, but one time our robot was unable to drive around during the whole match. The wheels would move and other motors on our robot would move just fine and such, but apparently our back two wheels (we had 4WD for our traction control) were not moving. Our front wheels were not able to provide enough pulling force to move our robot and we could only inch forward.
This doesn't sound like a symptom of this problem, but just wanted to throw that out there. Our robot is mysteriously fine now and we have theorized till our brains cramped.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
  #9   Spotlight this post!  
Unread 31-05-2009, 00:58
AlexD744 AlexD744 is offline
Registered User
FRC #0744 (744 Shark Attack)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ft. Lauderdale, FL
Posts: 639
AlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond reputeAlexD744 has a reputation beyond repute
Re: Bill's latest blog

Quote:
Originally Posted by Kingofl337 View Post
We had trouble with out robot (rolling PID loop(s)) on Galileo during the semi finals when they started rushing people to turn on the robot "right away". It caused our auto malfunction and we were not allowed to reboot the robot from the DS.
Yeah something like that happened to us our very first match on Galileo. Thanks again for making sue we were okay. After that we conspired to get the control board on in like 2 secs and our driver and coach slowed down a little while placing the robot.
__________________
www.sharkattack744.com
  #10   Spotlight this post!  
Unread 01-06-2009, 12:17
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,576
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: Bill's latest blog

Quote:
Originally Posted by RoboMaster View Post
I don't think that this was the cause to our problem, but one time our robot was unable to drive around during the whole match. The wheels would move and other motors on our robot would move just fine and such, but apparently our back two wheels (we had 4WD for our traction control) were not moving. Our front wheels were not able to provide enough pulling force to move our robot and we could only inch forward.
This doesn't sound like a symptom of this problem, but just wanted to throw that out there. Our robot is mysteriously fine now and we have theorized till our brains cramped.
That sounds like it could be the problem I reported on the FIRST Forums.
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
Update from Bill's Blog (Rules 1/6/09) Karthik1 General Forum 3 06-01-2009 17:37
Message from Dean on Bill's Blog IndySam General Forum 9 14-11-2008 17:23
**FIRST EMAIL**/FRC Blog - Bill's Place Richard McClellan FIRST E-Mail Blast Archive 21 15-09-2008 20:07
Bill's Place Moved => Now Bills Blog BornaE General Forum 1 10-09-2008 18:18


All times are GMT -5. The time now is 18:15.

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