Go to Post Sounds more like competition for Kentucky Fried Chicken - "I'll have the 3-piece dinner, a Winglet and two thighs..." - Dick Linn [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 07-02-2006, 22:14
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Possible danger using default camera code

I saw this a while ago and didn't think too much of it, but I was just talking to Nehalita and turns out it happened to her. So a warning to all programmers:

The default pan/tilt pwm outputs as defined in tracking.h are pwm01 and pwm02. Now the electronics team is usually composed of a well organized bunch, people that like to go in order. The mechanical team usually starts with building a drive train and then ships it off to the electronics team to get it driving around. The programming team then finally gets the robot. What do most people do when they get the robot? Download the raw, unmodified code.

This seems like a smart idea, but it turns out that the electrical team (in their neat and orderly fashion) decided to put the drive motors on pwm01 and pwm02 (left and right). So what do we get? An out of control robot that thinks its a servo!

So, for those of you that skipped all that:
Make sure that the camera pan/tilt values are not the same as your drive motor values.

-Mike
__________________
http://www.mikesorrenti.com/
  #2   Spotlight this post!  
Unread 07-02-2006, 22:18
Goldeye Goldeye is offline
Registered User
AKA: Josh Hecht
FRC #0694 (Stuypulse)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: New York
Posts: 145
Goldeye has a spectacular aura aboutGoldeye has a spectacular aura aboutGoldeye has a spectacular aura about
Send a message via AIM to Goldeye
Re: Possible danger using default camera code

Happened to us today. We keep our hands on the disable switch
__________________
Team 694

2005 Championship - Galileo Semifinalist
2005 New York - Regional Chairmans Award
2005 New York - Semifinalist (Thanks 1257,1340)
  #3   Spotlight this post!  
Unread 07-02-2006, 22:29
X-Istence X-Istence is offline
Melt the RC controller!
AKA: Bert JW Regeer
no team
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Montville
Posts: 151
X-Istence will become famous soon enoughX-Istence will become famous soon enough
Send a message via AIM to X-Istence Send a message via MSN to X-Istence
Re: Possible danger using default camera code

Programming team is the one that get's to decide what PWM's are used for what. That means we get the robot from the electronics crew with PWM cables neatly tagged ready for us to plug them in. Makes life easy!
__________________
My Blog!
  #4   Spotlight this post!  
Unread 07-02-2006, 23:28
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: Possible danger using default camera code

Well, with such a small team... I am the progrmmer/electrical/driving/whatever else I can do, I get to watch out for that kind of stuff. I noticed that the first time I looked at it and made sure it didn't happen when we got our bot driving.
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
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
Out of the Box Camera Code russell Programming 9 21-10-2009 05:28
default camera code edit Windward Programming 8 25-01-2006 18:33
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Getting the Camera and Default Code to Work nukem Programming 5 18-01-2006 11:48
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28


All times are GMT -5. The time now is 12:59.

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