[MLB-WIRELESS] OT: bearing/coordinates math

Julian Featherston julian at concentrate.com.au
Sun Jan 27 16:50:07 EST 2002


Hi all

Took forever to understand how the "does it from Lat and Long" equation
spits out a clockwise rotation from north when the last operation is
arctan - but if u think of the globe from the inside arctan will give
just that.
All u need then is to resolve which of the possible answers is correct
with a couple of "if then" operations.
I'm trying to work out the simplest if thens
Would u calculate bearings to all other nodes when a node is added, and
store values?
I have a simple method (involving only one arctan and a few add, sub,
and if then) that is fine for dist less than ~160km 
I prefer the accurate method, but have little idea how much it would
slow things down.
Love these mind benders :)

Jules
 




--
To unsubscribe, send mail to minordomo at melbwireless.dyndns.org with a subject of 'unsubscribe melbwireless'  
Archive at: http://melbwireless.dyndns.org/cgi-bin/minorweb.pl?A=LIST&L=melbwireless
IRC at: au.austnet.org #melb-wireless



More information about the Melbwireless mailing list