DeepBlueCLtd / tac_store

data store
Apache License 2.0
0 stars 1 forks source link

Populate measurements #4

Open IanMayo opened 5 years ago

IanMayo commented 5 years ago

Once a working database is available, start to produce representative measurement data.

This may be through one or more of:

Using existing vehicle motion records

Ian has two Excel workbooks that contain real measured data. Each workbook contains the tracks for 3 platforms, with lots of sensor data.

We can create multiple version of these tracks using the following modifications

  1. add an offset to time entry
  2. add an offset to the position entry
  3. change the time scale, to increase/decrease the time intervals
  4. trim the track by removing some random set of data from the start or end
  5. ignore the position entry, but make some modification (offset and /or scale factor) to the course/speed values before calculating position data

Note: the python function to calculate new points is described here: https://stackoverflow.com/questions/24427828/calculate-point-based-on-distance-and-direction

Or, there is a database of taxi journeys here: https://onedrive.live.com/?authkey=%21ADgmvTgfqs4hn4Q&id=CF159105855090C5%211438&cid=CF159105855090C5

Using scripting

We could use scripting (probably Python) to either create CSV files, SQL instructions, or pushing data direct to the database.

The scripting would follow this model:

Producing track data

For each required period of track data, perform the following:

Platform speeds