Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Robotics Algorithm Anyone?
Message
De
04/01/2006 08:28:12
 
 
À
03/01/2006 17:58:33
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01082862
Message ID:
01083080
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform