Go to Post And, learn to collaborate, 'cause it works. - DonRotolo [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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/
 


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 14:42.

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