Go to Post Now, everyone knows that Oompaloompas are like bunnies in that they have an insatiable desire to multiply, and the same can be said with Michigan teams (with all due respect) which are currently multiplying and filling that hand-shaped democratic kingdom with their honorable number. - Eugenia Gabrielov [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
  #46   Spotlight this post!  
Unread 24-04-2008, 01:30
mcf747 mcf747 is offline
Registered User
AKA: Matthew Forman
FRC #0190 (Team 190)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Worcester, MA
Posts: 66
mcf747 has much to be proud ofmcf747 has much to be proud ofmcf747 has much to be proud ofmcf747 has much to be proud ofmcf747 has much to be proud ofmcf747 has much to be proud ofmcf747 has much to be proud ofmcf747 has much to be proud of
Re: Silly Programming screw ups (funny)

2008:

I am hooking up the electrical and working with our programmer to well drive the motors im hooking up.(the two window motors keyed together). Any way we have a button set to automatically shoot the ball out of the arm and then drop the arm to a position where it can pick up a ball again. At our first regional we end up inverting the position of our window motors and go out to another practice match. We start the automatic sequence and bang the arm drives backwards and fold over itself crashing into the back of the robot. We cant figure out what happened but I think it was the recoil from the punch so i tell our drivers to not raise the arm so high when they fire it and in the next match it does the same thing. We put a hard stop, using steel wire, on it as the arm was "pushing" through the stop sensor think this would stop the recoil. We send it back out and it happens again and then i remember that we never reversed the code when we inverted the motors, and the powerful worm drives pushed through our hard stop and the delay was to great from the senors that the arm was already more than half way over when the arm lost its momentum, crashing down anyway due to gravity.

What we learned:
-Two worm drives are no match for a 20G steel cable
-Remember to check code after inverting ANYTHING
-Built a robot so tough it can handle major abuse to cover for the occasional mistake

Matthew
MorTourq 1515
  #47   Spotlight this post!  
Unread 24-04-2008, 03:12
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
Re: Silly Programming screw ups (funny)

In 2001 I was trying to write a program to automatically balance the bridge (which was basically a big see-saw) with our 2000 robot and a gyro. My first idea was to have it slowly drive up the bridge until it sensed rotation, then have it reverse proportional to the gyro input. Unfortunately I got the gyro input backwards, and as the bridge started to tip instead of reversing the robot began to accelerate. The faster it tipped, the more it accelerated. Fortunately the bridge and the robot came crashing down on the other side before the robot could launch itself off the end or else it would have really caught some air.
  #48   Spotlight this post!  
Unread 24-04-2008, 07:37
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by mcf747 View Post
What we learned:
-Two worm drives are no match for a 20G steel cable
-Remember to check code after inverting ANYTHING
-Built a robot so tough it can handle major abuse to cover for the occasional mistake
*chuckle* I guess you didn't need MorTorque.

Back when we were using a toughbox transmission at the Midwest regional, the 36:1 -> 12.75:1 reduction from the dual FP motors was SO SLOW... but way way too forceful (it could lift the whole robot without breaking a sweat).

Well... and we found out on our practice bot that if it did break a sweat... it bent a 9" length of beautiful new 1/2" stainless steel shaft.

...After that we made a new single-reduction-stage transmission that saved weight and turned all that extra force into lightning quick arm speed.

-q

p.s. It never screwed up the right way in competition, but we found out that if you pick the ball up then hold the manual up button with only a few psi of air in the system... the ball flys out and actually goes high enough to hurdle over the back of the robot with a perfect shot.
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #49   Spotlight this post!  
Unread 24-04-2008, 13:26
bcieslak
 
Posts: n/a
Talking Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by tseres View Post
this is kind of a funny thing. you see, on our team, everything is the programmers fault, no matter what. it's the way it is. i'm the programmer. we had the robot ready to test, and we powered it on, at which point it flew straight into a heavy table. it was "my fault". turns out another guy was getting ready to go and accidentally buy his backpack on the xbox controller
You see FIRST really does prepare you for a professional career in programming. I've been a systems programmer for 20 years and every time something goes wrong its my fault. Then I spend a week proving its not...And even though its a hardware problem I am expected to write code to fix it. Thats because software is free, you can't touch it or see it. When I come into work no says 'good morning', they say 'you have a software problem.'

But the load of money they give me makes up for it.

Just imagine what its like to be a programmer on my teams.

BC
Programming Mentor
Team 1675, 1714
  #50   Spotlight this post!  
Unread 24-04-2008, 13:32
bcieslak
 
Posts: n/a
Re: Silly Programming screw ups (funny)

You know those lines in the code that say
/* Do not remove */

They really do mean it.

that became evident when we accidentally deleted a line in the autonomous code and the robot sat through a whole match.

BC
Programming Mentor
Team 1675 , 1714
  #51   Spotlight this post!  
Unread 24-04-2008, 15:59
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 944
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Silly Programming screw ups (funny)

2007:

Team:"Can you make the robot drive forward for two seconds after unfolding the arm?"
Programmer:"Sure, that's easy!"

Match starts... and the robot careens into the opposite wall!

Programmer:"Well, you didn't remind me to stop it!"

We were on the ref's watch list for the rest of the event as we later found out.


Because of this incident, every time we change the autonomous, everyone asks if it stops when it's done.
  #52   Spotlight this post!  
Unread 24-04-2008, 16:03
lasereyes's Avatar
lasereyes lasereyes is offline
College Student Mentor
AKA: Farzin Fatollahi-Fard
FRC #2551 (Penguin Empire)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Novato, CA
Posts: 114
lasereyes is an unknown quantity at this point
Send a message via AIM to lasereyes
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by BigJ View Post
2007:

Team:"Can you make the robot drive forward for two seconds after unfolding the arm?"
Programmer:"Sure, that's easy!"

Match starts... and the robot careens into the opposite wall!

Programmer:"Well, you didn't remind me to stop it!"

We were on the ref's watch list for the rest of the event as we later found out.


Because of this incident, every time we change the autonomous, everyone asks if it stops when it's done.
Same thing happened to me this year during build season. Except when I did it, the laptop was still plugged in, and I had to run after it until it went through 2 stools, a table, and finally hit the wall. Luckily the arm wasn't deployed.
__________________
FRC #2551 (FTC #646): Penguin Empire
2008 Rookie Team
2008 UC Davis Sacramento Regional Finalists (thanks to 1388, 1072, and 2390)
2008 UC Davis Sacramento Regional Highest Rookie Seed (#2!)


Last edited by lasereyes : 24-04-2008 at 16:03. Reason: Spelling errors...
  #53   Spotlight this post!  
Unread 24-04-2008, 16:15
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,632
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Silly Programming screw ups (funny)

This one reminds me of Zoolander:

On our scrimmage bot from the summer we broke a banebots 56mm drive transmission due to over-agressive driving and direction changes. Since we didn't want this happening to our expensive new AM shifters, the coding team implemented a "soft steer" drive that limited how fast the robot could change directions for the '08 season. They had limited testing due to unforseen and unavoidable build-team delays.

We get to VCU in week 2 and all of a sudden the robot can't turn left in teleoperated mode! This was the cause of most of our penalties at VCU. All our driver could say was "I don't know, don't blame me, I'm not an ambiturner!". We commented out that portion fo the code Friday night and BAM it could turn left.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #54   Spotlight this post!  
Unread 24-04-2008, 16:32
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by Alan Anderson View Post
This line of code was inserted into a file which contains prominent warnings that it is not to be modified. Some of us programmers know the reason for the warnings, and know that some modifications are "safe". We just fail to clean up after ourselves sometimes.
In my line of work, we affectionately refer to this approach as "Seagull Engineering". Why? Because we swoop in, flap around making a lot of noise and commotion, leave a big mess of "stuff" behind and then fly off. (You can substitute your own words in for "stuff" ) No one really knows what we did or what happened.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #55   Spotlight this post!  
Unread 24-04-2008, 18:05
11Mort11's Avatar
11Mort11 11Mort11 is offline
Registered User
AKA: Alex Joss
FRC #0011 (MORT)
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Mount Olive
Posts: 94
11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold11Mort11 is a splendid one to behold
Send a message via AIM to 11Mort11
Re: Silly Programming screw ups (funny)

mecanum drive code in a tank drive robot
bad things happened
  #56   Spotlight this post!  
Unread 24-04-2008, 18:14
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,497
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by JesseK View Post
This one reminds me of Zoolander:

On our scrimmage bot from the summer we broke a banebots 56mm drive transmission due to over-agressive driving and direction changes. Since we didn't want this happening to our expensive new AM shifters, the coding team implemented a "soft steer" drive that limited how fast the robot could change directions for the '08 season. They had limited testing due to unforseen and unavoidable build-team delays.

We get to VCU in week 2 and all of a sudden the robot can't turn left in teleoperated mode! This was the cause of most of our penalties at VCU. All our driver could say was "I don't know, don't blame me, I'm not an ambiturner!". We commented out that portion fo the code Friday night and BAM it could turn left.
For future reference, you can run the AM shifters HARD without issue.
  #57   Spotlight this post!  
Unread 24-04-2008, 18:21
pogenwurst pogenwurst is offline
Ubuntu User
AKA: Brian
FRC #2007 (Robots of the Round Table)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Duluth, GA
Posts: 78
pogenwurst is on a distinguished road
Send a message via AIM to pogenwurst
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by Cow Bell Solo View Post
Saying it's Programmings Fault is a viable reason for everything, EXCEPT THE ROBOT FALLING APART
Hmm, I've got a lot of funny stories on that, but my favorite has to be the elimination match when instead of the usual routine of driving forward to get line-crossing points, our robot promptly spent its hybrid mode driving in circles. Of course, I got "the look" from several members of my team, until I looked under our robot afterwards and pointed out the wheel resting diagonally between two pillow blocks.

One instance where it was my fault: half the team was struggling along with me to discover why no Victor we threw at our proto board would drive a motor. What I eventually realized (and of course, failed to tell them), was that I still had the joystick values overridden to neutral whenever a rangefinder read less than 6 inches.

The rangefinder was unplugged, thus "reading" 0 inches.
  #58   Spotlight this post!  
Unread 24-04-2008, 21:49
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Re: Silly Programming screw ups (funny)

Another funny one I got is when in autonomous, this year, we were in a practice match in the regionals at L.A. and it was the first time we were going to test autonomous, my autonomous was just said to drive straight, but what I forgot was that one wheel rotated faster then the other, and in my autonomous code I had the robot going full speed. So autonomous starts, and the left motor goes super fast, and the right goes semi fast, and it veers and hits the center divider really hard. Teleop mode starts, and our driver can't start the robot, we go down to check it out after the match, and the battery cable had come unconnected, as well, as other cables, all because of my autonomous, boy did I get yelled at after that.
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
  #59   Spotlight this post!  
Unread 02-05-2008, 23:48
Eric24's Avatar
Eric24 Eric24 is offline
Registered User
FRC #1138 (Eagle Engineering)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Northridge, CA
Posts: 30
Eric24 is an unknown quantity at this point
Send a message via AIM to Eric24
Re: Silly Programming screw ups (funny)

Today at the Vex Championship we added two extra motors to the arm, so I was programming autonomous quickly and forgot to add the stop to those motors. It ended up that the arm flipped over backwards and we actually scored because the arm dumped all the balls into the bridge backwards. Everyone was so stunned since that was never the intention of the program. It was the most amazing autonomous ever!
__________________

  #60   Spotlight this post!  
Unread 03-05-2008, 00:06
EricH's Avatar
EricH EricH is online now
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,727
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by Eric24 View Post
Today at the Vex Championship we added two extra motors to the arm, so I was programming autonomous quickly and forgot to add the stop to those motors. It ended up that the arm flipped over backwards and we actually scored because the arm dumped all the balls into the bridge backwards. Everyone was so stunned since that was never the intention of the program. It was the most amazing autonomous ever!
Are you keeping that "bug"?
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

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
pic: I Love UPS! dubious elise Extra Discussion 15 05-05-2006 16:43
pic: UPS with UPS Kevin Kolodziej Extra Discussion 10 04-05-2005 12:57
I am silly. FotoPlasma Chit-Chat 15 07-01-2003 09:55
silly fun Mark Hamilton Chit-Chat 8 29-10-2002 13:56


All times are GMT -5. The time now is 20:25.

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