Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Robotics Algorithm Anyone?
Message
From
04/01/2006 08:28:12
 
 
To
03/01/2006 17:58:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01082862
Message ID:
01083080
Views:
25
Hi Dragan

Many thanks for your reply.

Another question or two if I may!

1) How do you know the total angle of your camera? Is this sort of thing in the manual?
2) When the obstacle is a square (or I suppose a sphere) do I need to concern myself with the total vertical angle? (i.e. is the total horizontal angle not sufficient?)

For example:-
       nMaxPx=1280
       nPx=17
       nWidth=1.25
       nMaxAngle=88
 
       nAngle=nMaxAngle/180*pi()*nPx/nMaxPx
       nDistance=nWidth/atan(nAngle)
3) Are you aware of a link that gives more details of this algorithm?
4) Would you be able to parenthesise the expressions above to establish correct operator precedence?

Thanks again
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform