pykickloc is a python implementation of the KickLoc localization algorithm.
Project description
pykickloc
A python implementation of the KickLoc Intuitive distributed localization algorithm.
Install
pip3 install pykickloc
Usage
To create a beacon, create a KINode with the beacon's position and a standard deviation of 0:
beacon = KINode(np.array([0, 1, 0]), 0)
To create an unknown node, create a KINode with no parameters:
unknown = KINode()
Whenever a distance update is received, call update on the local node to update the local node's position:
node.update(neighbor_position, neighbor_std_dev, distance, distance_std_dev)
If the nodes standard deviation was set to 0 (beacon), the update call will have no effect.
References
-
Xiong, H., & Sichitiu, M. L. (2019). A Lightweight Localization Solution for Small, Low Resources WSNs. Journal of Sensor and Actuator Networks, 8(2), 26.
-
Xiong, H.; Sichitiu, M.L. KickLoc: Simple, Distributed Localization for Wireless Sensor Networks. In Proceedings of the 2016 IEEE 13th International Conference on Mobile Ad Hoc and Sensor Systems (MASS), 10–13 October 2016; pp. 228–236.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pykickloc-1.0.0.tar.gz
.
File metadata
- Download URL: pykickloc-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52a3201ec0240256e6bb4c3c4807dc47b1650868f1e4e6c3cae904d3638fa69 |
|
MD5 | 47c10991a25c94d64159c96a1454a8de |
|
BLAKE2b-256 | cf23379584d0ad83d1ba55883563ac1f8e4ed5f299ad9e804defa6dc6db1a79c |