Main Page
Namespaces
Classes
Files
File List
src
indoor_positioning
beacon.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
"""
3
Use this class to store information about beacons that are placed in the environment and used for IPS tracking.
4
"""
5
6
7
class
Beacon
:
8
"""Class to store information about IPS beacons."""
9
def
__init__
(self, eid, position, frame_id):
10
"""
11
Initialize beacon object by passing its EID, position in the environment and name of coordinate frame.
12
:param eid: String: unique EID of the beacon, used for unambiguous identification, given by the manufacturer
13
:param position: [Float, Float, Float]: list of [x, y, z] coordinates of the beacon's position in 3D space
14
:param frame_id: String: name of the coordinate frame the position is specified in
15
"""
16
# store beacon characteristics
17
self.
eid
= eid
18
self.
position
= position
19
self.
frame_id
= frame_id
indoor_positioning.beacon.Beacon.position
position
Definition:
beacon.py:18
indoor_positioning.beacon.Beacon
Definition:
beacon.py:7
indoor_positioning.beacon.Beacon.frame_id
frame_id
Definition:
beacon.py:19
indoor_positioning.beacon.Beacon.__init__
def __init__(self, eid, position, frame_id)
Definition:
beacon.py:9
indoor_positioning.beacon.Beacon.eid
eid
Definition:
beacon.py:17
indoor_positioning
Author(s): Christian Arndt
autogenerated on Mon Jun 10 2019 13:33:13