Indoor Location Emulator For Machine Learning Models Frontend Module
That repository includes the frontend Emulator of Indoor Positioning (using Mapbox GL JS).
[Developed with HTML, vanilla JS & CSS]
Main features
- MQTT client for communication (paho-mqtt)
- Load Indoor Map
- Load Asset Points positions
- Load Antennas positions
- Load Pulsing Dots (ML Algorithms) positions
- Display lines of sight between Asset Points and Antennas
- Display intersection points with walls on each line of sight between Asset Points and Antennas
- Add and remove Asset Points, Anchors and Antennas to the Map
- Move the Asset Points in the map
- Move the Anchors in the map
- Move the Antennas in the map
- Turn the Antennas and Asset Points Directions
- Animate Asset Point with custom pre-loaded movements
- Catch Lines of sight intersections with Directions
- Display Pulsing Dots (ML Algorithms) positions from predictor module
Usefull commands
- install
jsdocusingnpm:
npm install -g jsdoc
- install
better-docsORdocdashusingnpm:
npm install --save-dev better-docs
OR
npm install docdash
- generate documentation using
jsodcandbetter-docsORdocdash:
jsdoc ./src/ --readme ./README.md -d docs -r -t ./node_modules/better-docs
OR
jsdoc ./src/ --readme ./README.md -d docs -r -t path/to/docdash
Documentation
JavaScript Documentation of Frontend Module, built with jsdoc and better-docs: here.