Picmicro project

M

MarkW

Guest
Hiya

This is a question for all the code warriors out there doing stuff with
picmicros or whatever
else type micro...
I have a project to do "geofencing" using a gps. Basically the gps is not
any problem but when it comes to
defining a go-nogo area and be able to dtect if one is in the area or not at
any given time in realtime i am
a little lost in how to do this in a microcontroller based design. Anyone
have ideas about code to define and
area using gps co-ords and realtime detection?

Much appreciated


--
Mark Whyte

primtech@netdial.co.za
 
MarkW wrote:

Hiya

This is a question for all the code warriors out there doing stuff with
picmicros or whatever
else type micro...
I have a project to do "geofencing" using a gps. Basically the gps is not
any problem but when it comes to
defining a go-nogo area and be able to dtect if one is in the area or not at
any given time in realtime i am
a little lost in how to do this in a microcontroller based design. Anyone
have ideas about code to define and
area using gps co-ords and realtime detection?

Much appreciated


* How fast is "real time"?
* How complicated are your defined areas?
* Do you just need "go/no go", or do you need a direction to return?
* How fast is the processor you intend to use?

--

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
 
In article <10s67arkt0vnb23@corp.supernews.com>,
Tim Wescott <tim@wescottnospamdesign.com> wrote:
[....]
Good idea -- squares would be even faster.

I would consider whether I could define my areas in terms of
"rectangles" in lat-lon coordinates (never mind real-world distances) --
then all the computations become subtractions.
Doing rotated squares generally requires multiplies but you can do one at
a 45 with just adds and subtracts if you are willing to prescale the
constants. Instead of tiling the shape in rectangles in the normal
rotation, you can mix in some at the 45 degree angle .This could define a
smoother shape with less squares.
--
--
kensmith@rahul.net forging knowledge
 

Welcome to EDABoard.com

Sponsor

Back
Top