Skip to content

dmsl/anyplace-lib-core

Repository files navigation

Anyplace-core Gradle Library

The core functionality of anyplace clients.

Usage

Linux and Mac Client

java -jar anyplace.jar -<endpoint> <parameters>

Testing

To build the jar:

./gradlew jar

To run all tests with config file

./gradlew :test 

Build the android library

./gradlew :build

To run a specific test within the JUnit test file use . and the name of the test i.e to test estimatePosition:

./gradlew :test --tests "TesterPreferences.testEstimatePosition"

Implemented Endpoints

Navigation

  • poiDetails: Get Point of Interest details.
  • navigationXY: Get Navigation instructions from a given location to a POI.
  • navPoiToPoi: Get Navigation instructions between 2 POIs

Mapping(Public)

  • buildingAll: Get all annotated buildings.
  • buildingsByCampus: Get all buildings for a campus.
  • buildingsByBuildingCode: Get all buildings with the same code.
  • nearbyBuildings: Get annotated buildings near you (50 meters radius).
  • allBuildingFloors: Get all floors of a building.
  • allBuildingPOIs: Get all POIs inside a building.
  • allBuildingFloorPOIs: Get all POIs inside a floor.
  • connectionsByFloor: Get all POI connections inside a floor.
  • heatmapByBuldingFloor: Get all positions with their respective Wi-Fi radio measurements.

Blueprints

  • floor64: Downloads the floor plan in a base64 png format (w/o prefix).
  • floortiles: Fetches the floor plan tiles zip link.

Position

  • radioByCoordinatesFloor: Radiomap of a floor using coordinates.

  • radioByBuildingFloor: Radiomap of a floor.

  • radioByBuildingFloorRange: Radiomap of a floor within a specified range.

  • estimatePosition: Estimate the location of the user.

  • estimatePosOffline: Estimate the location of the user offline. Needs the radiomap file.

  • Read more:

TEAM

Author(s): Christakis Achilleos

Co-supervisor: Paschalis Mpeis

Supervisor: Demetrios Zeinalipour-Yazti