Describe the aim of the proposed feature?
When an indoor localization sensor sends x,y coordinates the system must move
the related object (usually a person) to this coords and check three cases:
- the person was in no zone and move inside a zone (enter)
- the person was in a zone and moves to another zone (exit+enter)
- the person was in a zone and moves nowhere (exits)
Describe how you would implement this feature
we need a data stracture to track if an object is in a zone or not (implemented
in EnvObjectLogic?)
translate a coordinate to a list of zones it belongs (in a LocationEvent?)
check the object data structure against the new list of zones
fire the right PersonEntersZone/PersonExitsZone events (add to this event also
count of people in the zone)
NOTE: PersonEntersZone/PersonExitsZone is the old definition. Now Person are
extensions of objects so is better to define a LocationEvent which takes in
input a coordinate and fires others ZoneEvent for enter/exit triggers.
List external resources that can be useful
How much you feel this feature will be useful for the project?
[ ] Optional
[ ] Usefull
[X] Can make the difference
[ ] Necessary
Original issue reported on code.google.com by enrico.n...@gmail.com on 17 Nov 2012 at 9:02
Original issue reported on code.google.com by
enrico.n...@gmail.com
on 17 Nov 2012 at 9:02