|
[unclassified] Re: [DPRG] DPRG Spring 2008 Outdoor Robot
Challenge: 10 May 08
Subject: [unclassified] Re: [DPRG] DPRG Spring 2008 Outdoor Robot
Challenge: 10 May 08
From: Jon Hylands
jon at huv.com
Date: Sat Mar 8 10:20:07 CST 2008
On Sat, 8 Mar 2008 09:56:05 -0600, Dean Hall <dwhall256 at gmail.com> wrote:
> If atan gives you trouble, then use atan2(y,x), it uses the signs of
> both arguments to determine the quadrant of the return value. atan2
> () should be available in most decent libm implementations. avr-libc
> has it.
This page has a decent implementation using atan2
http://www.movable-type.co.uk/scripts/LatLong.html
Later,
Jon
--------------------------------------------------------------
Jon Hylands Jon at huv.com http://www.huv.com/jon
Project: Micro Raptor (Small Biped Velociraptor Robot)
http://www.huv.com/blog
More information about the DPRG mailing list
|