Go to Post Feelings are like the laws of physics: if some one feels offended or alienated, then they are offended or alienated - it doesnt matter why you dropped a hammer, if it falls on someones head they will be hurt. You cant expect it to not hurt, because you did not intend to hurt them. - KenWittlief [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
  #2   Spotlight this post!  
Unread 11-02-2006, 21:23
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Default Code

Quote:
Originally Posted by Idaman323
Hey guys, I got Kevin's CMUCam code finnaly on the robot.. the weird thing is.. nothing moves. I have the pwm03 and 04 as p1_y and p2_y. and I left the pwm 01 for the pan and pwm 02 as the tilt under tracking.h. In the user_routines, I have it set on p3_y, p4_y. Am I suppose to do something with those? Or just leave them as that?... Also when the program is loaded.. on the window, it is saying "Searching..." or "P1 Y 127, X 127" Or any of those coordinates on it. The regular default code runs this fine, but when I load the camera code with all of those changes... nothing happens. Am I suppose to do anything special to make them run. Hmmm, Im confused.


Thanks,
Idaman323
The default code is commented out. Just uncomment it and place it before putdata(&txdata). ALSO comment out the pwm01 = p1_y and pwm02 = p2_y.

make sure anything you put is before putdata(&txdata) in the void Process_Data_From_Master_uP(void)

you can modify the printf statements to display what you want. comment it out if you want to modify the camera variables in the "bells and wistles" version on the terminal window.

Last edited by 6600gt : 11-02-2006 at 21:25.
 


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
Modified default code gives "code violation" scottmso Programming 8 10-02-2006 23:17
default camera code edit Windward Programming 8 25-01-2006 18:33
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18


All times are GMT -5. The time now is 19:08.

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