Go to Post It's wrong to scuttle someone else's boat because you don't think it's seaworthy. You probably don't know that what you were seeing will be called a submarine. - ThatHat [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
  #16   Spotlight this post!  
Unread 20-04-2008, 21:05
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,728
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
  #17   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
  #18   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
  #19   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.
  #20   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
  #21   Spotlight this post!  
Unread 21-04-2008, 23:03
Cow Bell Solo's Avatar
Cow Bell Solo Cow Bell Solo is offline
No Stolte No
AKA: Chris
FRC #2194 (Fondy Fire)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Minnesota
Posts: 381
Cow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the rough
Send a message via AIM to Cow Bell Solo Send a message via MSN to Cow Bell Solo Send a message via Yahoo to Cow Bell Solo
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
Saying it's Programmings Fault is a viable reason for everything, EXCEPT THE ROBOT FALLING APART
__________________
Who let the Blue Smoke Out
Team 2194 Mentor - 2012-Present - http://fondyfire.com
Team 2207 Alumni - http://whitebearlakerobotics.com
Iowa FIRST LEGO League Planning Team Member - 2010-Present - http://www.isek.iastate.edu/fll
FIRST LEGO League volunteer - 2008-Present

2008: MN Regional Quarterfinalists, Website Excellence
2009: MN North Star Quarterfinalists, recognized for safety, Website Excellence
  #22   Spotlight this post!  
Unread 22-04-2008, 00:00
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)

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
This is horribly true. We get the bad rap no matter what the problem is.

The funniest thing to me this year:

While in pits, I was often told to "fix my code" so that the robot would work. My response to this statement was "fix your wiring." 95% of the time our electrical guy would come out with a loose wire or a bad relay, and everything would work beautifully the second he fixed it (of course until the next "code" problem, that is) .
__________________
  #23   Spotlight this post!  
Unread 22-04-2008, 09:50
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)

You guys all joke that it's always the programmer's fault...

...but you're the ones who have the power to make the entire mechanical team nervous by saying "I have to download new code".
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #24   Spotlight this post!  
Unread 22-04-2008, 09:54
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Silly Programming screw ups (funny)

Code:
if (this = that)
{
    They_Are_Now();
}
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
  #25   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

  #26   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.
  #27   Spotlight this post!  
Unread 22-04-2008, 16:25
gurellia53's Avatar
gurellia53 gurellia53 is offline
word up
AKA: Andrew G
FRC #1736 (Robot Casserole)
Team Role: Engineer
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Peoria, Illinois
Posts: 151
gurellia53 is a splendid one to beholdgurellia53 is a splendid one to beholdgurellia53 is a splendid one to beholdgurellia53 is a splendid one to beholdgurellia53 is a splendid one to beholdgurellia53 is a splendid one to beholdgurellia53 is a splendid one to behold
Re: Silly Programming screw ups (funny)

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;
OY! You never told us that
__________________
FRC
Robot Casserole 1736: 2007 - 2008, 2013 - present
Team Neutrino 3928: 2012
  #28   Spotlight this post!  
Unread 22-04-2008, 16:52
Carlee10's Avatar
Carlee10 Carlee10 is offline
Loves F.I.R.S.T.!!!!!!
FRC #1529 (CyberCards)
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Indiana
Posts: 580
Carlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to beholdCarlee10 is a splendid one to behold
Re: Silly Programming screw ups (funny)

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;
I am NOT a programmer, so what does that mean? I really hate programming, its confusing!
__________________
Attending- College!
Awards: BMR's 2008 Judges Award
"Courage is not the absence of fear, but rather the judgment that something else is more important than fear. The brave may not live forever, but the cautious do not live at all."- Movie quote
  #29   Spotlight this post!  
Unread 22-04-2008, 17:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Silly Programming screw ups (funny)

Quote:
Originally Posted by Water Bandit23 View Post
Code:
autonomous_mode = p2_sw_aux1;
I am NOT a programmer, so what does that mean? I really hate programming, its confusing!
It replaces the field control system's "autonomous mode" signal with the state of a switch on the operator console. This has two results. First, the robot will not run its autonomous/hybrid mode routine when the field tells it to. Second, the robot will run that routine any time the switch is activated.

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.

Oh! That reminds me of my silly programming mistake this year. Our prototype drivebase was built with Mecanum wheels and four independent drive motors, but we settled on a six-wheel skid steer system for the competition 'bot. I decided it was "safe" to leave the strafe function in the code, since we went with y-cables to the drive motors and would thus never be commanding the paired motors to different speeds. Because of the choice of pwm outputs, pushing the joysticks from side to side would end up making the 'bot turn in the expected direction, so I figured we'd be okay with it.

In the pit at Atlanta, after replacing a Victor, we suddenly started having extreme difficulty with the joystick centering. Everything was calibrated properly. The dashboard data told me the joystick trim was perfect. The telemetry from the robot told me both the steering and speed command values were zero, yet the Victors were buzzing and the wheels were turning slowly. After puzzling over it for a very long time, eventually I noticed that the x axis trim was not perfect. Setting it to center made everything fine again.

I immediately changed the code to ensure that the strafe command value was always zero. The speed/steer/strafe mixing is still there, however.
  #30   Spotlight this post!  
Unread 22-04-2008, 17:43
DPTeam270Driver's Avatar
DPTeam270Driver DPTeam270Driver is offline
Deer Park Driver
FRC #0270 (Falcon X)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Deer Park
Posts: 34
DPTeam270Driver will become famous soon enoughDPTeam270Driver will become famous soon enough
Re: Silly Programming screw ups (funny)

Well, at the SBPLI regional
my programmer decided to tell me and the other driver that he switched the autonomous program so it was backwards right after we put the robot on the field. soo we panicked and jumped on the field to fix the robot and flip it around. the programmer swore that he switched it, and of course it wasn't. so during autonomous, we were driving into the wall.
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