Go to Post So take it all with a grain of salt, form your own opinions, lead by example, act responsibly, be graciously professional, and everything will be ok. - LauraN [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
  #9   Spotlight this post!  
Unread 14-02-2006, 22:59
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Camera isn't working

You do not even need to modify the tracking code. If you check the value of whatever PWM the pan servo is on, after the tracking code has done it's magic, you will know which way to turn... Don't even look at the tracking code right now.

What PWM is PAN_SERVO set to?
I have code similar to this:
Code:
if (PAN_SERVO > 127) TURRET = 255;
else if (PAN_SERVO < 127) TURRET = 0;
else TURRET = 127;
That code is in Process_Data_From_Master_Up, and is working fine.
 


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
Who has the camera working? cvbritton Programming 43 28-01-2007 13:46
Camera shows no love to drive motors anifinder Programming 4 13-02-2006 10:31
Camera code not working.... DemonYawgmoth Programming 5 11-02-2006 09:21
Camera not working st1nkm4n Programming 7 02-02-2006 08:22
Camera stops working when we use camera_set_servos()... SeanCassidy Programming 16 13-02-2005 03:08


All times are GMT -5. The time now is 02:11.

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