This section contains the API documentation related to release 5 of this blueprint.




The API information of this blueprint is as follows:

Kalman filter model API information
ModelParameter typeParameter nameDescription of parameter
Kalman filter


Inputs

vehicleidthe unique identifier of a vehicle.
timecurrent timestamp 't'.
longitudeGeographic coordinate that specifies the east–west position of a vehicle on the Earth's surface.
latitudeGeographic coordinate that specifies the north–south position of a point on the Earth's surface.
angleAngle 0-359.99 to approximate the direction of a vehicle.
speedSpeed of the vehicle at time 't'.
laneLane number on which the vehicle is running.
posPosition of vehicle on which the vehicle is running on.

Outputs

longitudePredicted longitude.
latitudePredicted latitude.
Note: The API has been developed and its (Docker) process is available for download/pull at the link.




The steps to start the API server that

  1. Clone the code from the repository (if you haven't cloned it before). Link: pred-vanet-mec - gerrit.akraino.org:

    git clone "https://gerrit.akraino.org/r/pred-vanet-mec"
  2. Run the following command to start the API-server:

    docker run mehmoodasif/NAME-OF-API-SERVER -p HOST-PORT-NUMBER:CONTAINER-PORT-NUMBER 
    # OR 
    python NAME-OF-API-SERVER.py --port PORT-NUMBER 


  • No labels