Giter VIP home page Giter VIP logo

bluetooth's Introduction

Processing Bluetooth data for deriving route choices of truck drivers

ToGRIP-Bluetooth service provides the Bluetooth data collected by the port of Rotterdam. When queried, the service returns data in a json format. The real MAC address is converted to an 11 digit vehicle ID using hashing thus the privacy is retained at the user level. The Bluetooth sensor records the time stamp and the strength of the vehicle identification for every MAC address associated with a passing vehicle. The travel time between two Bluetooth sensors can be estimated from the time stamps of the corresponding MAC address. Bluetooth data retrieved from ToGRIP-Bluetooth service are coded with UTC time zone; therefore, it is necessary to convert UTC time to CET/CEST depending on the time of the year.

The code provided in this repository can be used for various purposes such as estimatign travel time between two Bluetooth locations, inferring cars and trucks from Bluetooth data, and creating a data file for route choice model to be estimated by Biogeme.

I present here a workflow related to deriving route choices of truck drivers usign Bluetooth data based on our recent MT-ITS conference paper.

  1. Run new_Bluetooth.py

Basic code to retrieve Bluetooth observations between two points. With this file, we can process individual travel times between two Bluetooth sensors. Moreover, we can also cluster vehicles into two groups based on travel time observation using Gaussian mixture model based clustering. This clustering helps to identify different travel modes.

  1. Run new_trajectory.py

Generate Bluetooth observations along a trajectory

  1. Run dataprocessing.py

Create a master list by combining individual observations from above step

  1. Run new_find_trucks.py

Extract truck-specific data from the master list created in step 3.

  1. Run new_file_for_biogeme.py

Putting up a file together for biogeme by combining Bluetooth data and other data sources such as loop-detecor data and variable message sign (VMS) data

bluetooth's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.