Class to store information about zones defined for use with the metraTec IPS tracking system.
Definition at line 7 of file zone.py.
def indoor_positioning.zone.Zone.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
frame_id, |
|
|
|
threshold, |
|
|
|
polygon, |
|
|
|
beacons |
|
) |
| |
Initialize the zone object by passing configuration and a list of beacons belonging to the zone.
:param name: String: name of the zone
:param frame_id: String: coordinate frame the zone is specified in
:param threshold: Int: minimum RSSI value the a beacon must have to assign the receiver position to this zone
:param polygon: [[Float, Float, Float]]: list of ordered [x, y, z] coordinates spanning the zone
:param beacons: [Beacon]: List of beacon objects that belong to this zone
Definition at line 9 of file zone.py.