zone.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 """
3 Use this class to store information about zones for the metraTec IPS tracking system and zone location.
4 """
5 
6 
7 class Zone:
8  """Class to store information about zones defined for use with the metraTec IPS tracking system."""
9  def __init__(self, name, frame_id, threshold, polygon, beacons):
10  """
11  Initialize the zone object by passing configuration and a list of beacons belonging to the zone.
12  :param name: String: name of the zone
13  :param frame_id: String: coordinate frame the zone is specified in
14  :param threshold: Int: minimum RSSI value the a beacon must have to assign the receiver position to this zone
15  :param polygon: [[Float, Float, Float]]: list of ordered [x, y, z] coordinates spanning the zone
16  :param beacons: [Beacon]: List of beacon objects that belong to this zone
17  """
18  # store zone characteristics
19  self.name = name
20  self.frame_id = frame_id
21  self.threshold = threshold
22  self.polygon = polygon
23  self.beacons = beacons
def __init__(self, name, frame_id, threshold, polygon, beacons)
Definition: zone.py:9


indoor_positioning
Author(s): Christian Arndt
autogenerated on Mon Jun 10 2019 13:33:13