Go to Post I haven't seen it yet, but I have complete confidence in him, because he is Andy Baker. - Alan Anderson [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 12-01-2007, 09:24
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: CMU2Cam Degrees & more

Well, I can answer only your first question because I am programing in easyC and I don't know MPlabs as well.
for calculating the degrees you need to do the following:
1 degree=Tilt_range/Number_of_PWM

same thing for the pan.

The tilt range is the range of degrees the tilt/pan server can turn.
Number of PWM is 256 (0...255).

Last edited by itsme : 12-01-2007 at 09:57. Reason: changed ratio to range, ratio- wrong word
 


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
Servo Values to Degrees... How? mogunus Programming 16 11-04-2007 02:03
engineering degrees sciguy125 Career 18 17-03-2006 23:44
Turn 90 Degrees Mike Math and Science 16 05-12-2004 22:22
More Pictures & Movies of Team 121 Kyle Fenton Robot Showcase 9 18-02-2003 23:51
TRADE ITEMS--EXCLUSIVE--MOE'S SIGNED SOCKS & MORE archiver 1999 2 23-06-2002 22:37


All times are GMT -5. The time now is 02: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