Go to Post Yippee! Someone else that can have their every word over-analyzed, mis-read, inverted, converted, perverted, misinterpreted, reverted, and garbled besides just me! - dlavery [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 20-04-2008, 01:21
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Silly Programming screw ups (funny)

This year I wrote code so that when our secondary driver held a switch, the claw on our robot would automatically grab a track ball if one entered the claw (we did this using an IR rangefinder). This code was finished and first tested during a competition match at the West Michigan Regional . Due to an unfortunate glitch, the claw refused to relinquish the first ball it grabbed. When the team asked what was going on, I quipped:

"You said you wanted the claw to automatically grab the ball. You never said anything about letting go of it."

The glitch was gone five minutes later.
__________________

Last edited by slavik262 : 20-04-2008 at 01:23.
  #2   Spotlight this post!  
Unread 20-04-2008, 02:14
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)

2006:

The first time we ran our autonomous in competition we did everything right... except for setting the one little bit that turns the PID on to run the flywheel motors on the ball launcher... basically, it looked like the robot threw up in multicolorful poof ball glory.

Another time, our robot was just as happy about shooting 8 balls in rapid succession at an unsuspecting FIRST sponsor wearing a bright green shirt.

2008:

When first beginning to play with the gyro, I didn't notice (for a few hours) that negative was left and positive was right (opposite math).

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #3   Spotlight this post!  
Unread 20-04-2008, 18:40
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: Silly Programming screw ups (funny)

2006:
not so much a programming error, but i was wearing a bright green shirt while programming the robot. I was tuning the camera at the time, and stood next to the goal. the robot went out, and looked like it had found the target, except it kept running towards it. So, i get out of the way and go towards the disable switch and the thing starts to follow me, and proceeds to chase me around our practice field, shooting balls at me while i attempt to get to the button.
funny thing is, it never shot balls as well at the goal as it did at me. ow.

2007:
i used reverse logic for the camera positioning, which led it to spin out of control, while still having control over the arm. one thing led to another, and centripetal acceleration made the robot throw the tube at me. more of a laugh than an ow.

2008:
oh god.
so while programming hybrid it wasn't a priority for the first couple of runs to have the arm in the 'tucked' position- we only wanted it to drive around. So its going at high speed to the turn, and doesnt do it, instead ramming into the fencing on the other side, tearing the gripper to peices. oops.
at the championships i was making corrections for wall distance for the middle ball, and derived it to 285 counts. i typed 385. the robot hit the 3rd ball for no reason i could figure until i saw the code.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #4   Spotlight this post!  
Unread 20-04-2008, 20:06
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Silly Programming screw ups (funny)

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
__________________


  #5   Spotlight this post!  
Unread 20-04-2008, 20:30
ABlackburn's Avatar
ABlackburn ABlackburn is offline
Registered User
AKA: Andrew
FRC #0075 (Roboraiders)
Team Role: Programmer
 
Join Date: Feb 2006
Rookie Year: 2005
Location: New Jersey
Posts: 8
ABlackburn is an unknown quantity at this point
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
on our team everything is the electrical sub-team's fault
__________________
props to anyone who knows what I was doing every day during competition HINT: I didn't see any of my teams matches in Atlanta, I only made it to the dome for the Einstein events, I was that kid that you saw in WAY too many pits besides his own, and if you asked me for a PWM cable I would've pulled one out my pocket and handed it to you.

  #6   Spotlight this post!  
Unread 20-04-2008, 20:46
vivek16's Avatar
vivek16 vivek16 is offline
Whoa! college pilot.
AKA: vivek
FRC #2264 (trojan robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: plymouth, minnesota
Posts: 1,227
vivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond reputevivek16 has a reputation beyond repute
Send a message via AIM to vivek16 Send a message via MSN to vivek16
Re: Silly Programming screw ups (funny)

Last year, we had a box on wheels and it was put on the field the wrong way. It ran into the wall...

Yeah, we fix everything in the programming.... Including the welds

-Vivek
__________________
"we don't build robots, we build people"
  #7   Spotlight this post!  
Unread 20-04-2008, 21:05
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by ABlackburn View Post
on our team everything is the electrical sub-team's fault
On my team I'm both, so it's alway mechanical.
__________________
Eric Haskins KC9JVH
  #8   Spotlight this post!  
Unread 20-04-2008, 21:05
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,803
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: Silly Programming screw ups (funny)

Quote:
Originally Posted by ABlackburn View Post
on our team everything is the electrical sub-team's fault
Quote:
Originally Posted by EHaskins View Post
On my team I'm both.
Don't blame yourself...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #9   Spotlight this post!  
Unread 20-04-2008, 21:11
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: Silly Programming screw ups (funny)

Well I have a couple of things. Well, one we had a problem with our code because everytime we tried downloading the code, it gave us the Hex Dump error...we even tried different controllers....just didn' work.

Then, in a couple of matches our IR commands weren't working and so everyone was wondering why, guess why? Turns out it wasn't plugged in...someone had screwed it in..but not wired it up...and guess who had to wire it up...ME...guess who had to rewire the new robot controller ... ME....

but it was fun andi enjoyed it.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
  #10   Spotlight this post!  
Unread 21-04-2008, 19:52
3DWolf's Avatar
3DWolf 3DWolf is offline
Boots - Head Programmer / 3D
AKA: Jake
FRC #1502 (Technical Difficulties)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2005
Location: Chelsea Michigan
Posts: 97
3DWolf is on a distinguished road
Send a message via AIM to 3DWolf Send a message via MSN to 3DWolf
Re: Silly Programming screw ups (funny)

I had another screw up at Atlanta-
I had gotten our hybrid code to finally work thanks to Q (1024, THANK YOU SO MUCH) and I forgot to switch the bot to low gear to start with - so this thing was going too fast for me to get a good angle on the IR board to throw the stop button and it SLAMS full speed into the opposing player station. I go out to reset the bot (practice match) and a ref says to me "Can you do something about that autonomous? That was a little rough"
Hehe, yeah I changed it promptly.
Who knew a single variable could be so deadly?
__________________
You can call it the programming teams fault, but we'll just force your arguments nil.

There are 10 kinds of people in the world -> Those who understand binary and those who don't.

WYSIWYG - In FIRST: Greatness
  #11   Spotlight this post!  
Unread 21-04-2008, 22:37
Los Frijoles's Avatar
Los Frijoles Los Frijoles is offline
Stormin' Mormon
AKA: Kevin Cuzner
FRC #2062 (C.O.R.E.)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Waukesha, WI
Posts: 27
Los Frijoles has a spectacular aura aboutLos Frijoles has a spectacular aura about
Send a message via AIM to Los Frijoles
Re: Silly Programming screw ups (funny)

Well our drivetrain/arm PID code is duplicated in many places due to the patchy programming style which results from me and a mentor showing each other programs and adding in programs and taking out others and otherwise just making a big mess out of things...

I was trying to tune the drivetrain PID manually and so I was modifying our #define's for what I thought was the drivetrain PID...turns out it was the arm PID...ack! time to start over again...

On my hobbiest side:
Because I compile MCC18 projects using batch files which open and close quickly, I cannot even count the times I loaded the same program into a microcontroller because I failed to notice that the link operation had failed (MPLINK does not spit out an error file...drat).

Other times, I have forgotten to turn the power on in many projects...

Quote:
Originally Posted by Chaos in a Can View Post
Leaving the following line in the main while loop for the first match at Wisconsin:
Code:
autonomous_mode = p2_sw_aux1;
Now that must have been interesting...
__________________
Community Of Robotic Engineers 2062





Blender totally pwns 3DS Max...

My life is here and here.

Cuznersoft Hardware and Software Development

Last edited by Los Frijoles : 21-04-2008 at 22:42.
  #12   Spotlight this post!  
Unread 21-04-2008, 22:59
Blue_Mist's Avatar
Blue_Mist Blue_Mist is offline
will return to 766 soon!
AKA: Mika Lai
FRC #0766 (M-A Bears)
Team Role: College Student
 
Join Date: Apr 2007
Rookie Year: 2006
Location: California
Posts: 183
Blue_Mist is a jewel in the roughBlue_Mist is a jewel in the roughBlue_Mist is a jewel in the rough
Re: Silly Programming screw ups (funny)

It's always a programming error on our team. Even when the potentiometer is installed backwards... (11pm, Night-before-Ship, 2007)
__________________
"There's no finer engineering than pit engineering." -kaszeta

"Show a girl how to use a wrench, and she'll put those skills to use for a lifetime. Hand it to her and tell her she's probably better off shopping, and she'll clonk you over the head with it, do your pneumatics system, and CAD the robot." -Amanda Morrison

'09
  #13   Spotlight this post!  
Unread 22-04-2008, 15:46
Chaos in a Can Chaos in a Can is offline
Joel Spadin
FRC #1736 (Robot Casserole)
Team Role: Programmer
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Peoria, IL
Posts: 58
Chaos in a Can is an unknown quantity at this point
Send a message via MSN to Chaos in a Can
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by Los Frijoles View Post
Now that must have been interesting...
Actually, it just sat there during auto, and since we weren't using that button to control anything, it didn't go into auto during manual either.
__________________
2006 Xerox Creativity Award
2007 General Motors Industrial Design Award
2008 Judges' Award
2009 Chrysler Team Spirit Award

  #14   Spotlight this post!  
Unread 22-04-2008, 16:18
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Re: Silly Programming screw ups (funny)

In 2007 we couldn't download to the robot using any of our laptops. We had no problem with our desktops, however. We tried everything. Whenever anyone would start to help us they would always ask if we were using the right version of the IFI loader. (version 1.1.0) We'd look at the IFI loader and, sure enough, it would say that it was v1.1.

We didn't figure it out until the start oft he 2008 season. When we looked at the IFI loader is was displaying the version of the RC's firmware on the main panel which happened to to be v1.1. When we looked at the version using the About menu, we found out that the loader was actually version 1.0.9. The desktops had the new version and worked just fine. We did have the 1.1.0 version on the laptops but the quick start button on the task bar was pointing at the 1.0.9 version which was still loaded on the system.

This problem was missed by at least 8 experianced programmers, including two from IFI.
  #15   Spotlight this post!  
Unread 23-04-2008, 01:38
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Silly Programming screw ups (funny)

This isn't robot code related, but it is FIRST related.

Last year (during my senior year of high school), while coding Team 228's content management system, I left a few lines of development code in place in one of my email notification scripts. This particular script would email everyone selected, every time a new event was added to the website.

To make sure that all the emails were being queued up and sent correctly, I added my own email address to the BCC headers of each email, and then I had the script send me another email when everything completed just fine. I tested the code running on my local Apache server with a few email addresses, and everything worked just fine. And then I forgot about those few lines of code.

Fast forward some time later, when I forgot to remove those lines of code when turning the development code into production code for deployment on 228's website.

I then proceeded to have my mailbox flooded with 58 emails every time a new event was added to their website. At the time, since I was busy with classes it took a week before I had the time to go and fix that issue.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
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 16:45.

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