openhack/iot-sim-1

By openhack

Updated about 8 years ago

An Azure IoT Edge module that simulates gps telemetry for use in one of the challenges.

Image
4

9.8K

openhack/iot-sim-1 repository overview

An Azure IoT Edge module that simulates gps telemetry for use in one of the challenges.

You should not need to pull or run these yourself. They would be pulled, created, and run by Azure IoT Edge.

Identifiers

  • rideId is the identifier of a roller coaster or other amusement park attraction. These would only change if the park opened or shut down attractions.
  • trainId is the identifier of a train, car, or other vessel in which passengers are seated. These would only change if the park needed to add or remove such vessels from the attraction.
  • correlationId is a unique identifier representing a single run of the ride or attraction. That is, each time a new set of passengers rides a roller coaster, a distinct correlationId would tie together all events from their experience from ride start to ride end.

Example Message Payloads

This module reports gps data from one of the rollercoaster trains to an output named "gps".

Messages with positional data

{
    "rideId": "2327F177-8079-43E1-BA50-569455E2FADD",
    "trainId": "6FA812B3-FAE8-4875-8D80-62B037CD3528",
    "correlationId": "9C67DC77-F1BA-4BFA-8F38-0F76F3D5EC58",
    "lat": "44.8547",
    "long": "-93.2428",
    "alt": "246.509",
    "speed": "4.37",
    "vertAccuracy": "4",
    "horizAccuracy": "10",
    "deviceTime": "2017-12-06T20:23:43.9790000Z"
}

Messages with heading data

{
    "rideId": "61397CA0-89ED-4F8C-8997-86F32AEEBD2E",
    "trainId": "05D8569B-69F9-40C8-B862-E197F9F0331E",
    "correlationId": "BB72B77A-687D-4809-92B0-407EA3633B3C",
    "headingX": "-28.3992",
    "headingY": "-9.27022",
    "headingZ": "-4.0132",
    "headingMag": "44.9053",
    "headingAccuracy": "15",
    "deviceTime": "2018-01-17T19:06:07.7960000Z"
}

Messages with both positional and heading data

{
    "rideId": "61397CA0-89ED-4F8C-8997-86F32AEEBD2E",
    "trainId": "05D8569B-69F9-40C8-B862-E197F9F0331E",
    "correlationId": "BB72B77A-687D-4809-92B0-407EA3633B3C",
    "lat": "44.8553",
    "long": "-93.243",
    "alt": "258.309",
    "speed": "0.2",
    "vertAccuracy": "4",
    "horizAccuracy": "10",
    "headingX": "-16.1071",
    "headingY": "10.0392",
    "headingZ": "10.7069",
    "headingMag": "56.9854",
    "headingAccuracy": "15",
    "deviceTime": "2018-01-17T19:06:08.0580000Z"
}

Tags

These images do not support the latest tag; a specific version tag must be provided.

Tags on the same line are aliases for the same version.

Linux

These are built on top of the microsoft/dotnet:2.0.0-runtime image.

  • 3.0-stretch - built and tested with general availability bits
  • 2.0, 2.0-stretch - built and tested with public preview bits
Windows

These are built on top of the microsoft/dotnet:2.0.0-runtime-nanoserver-1709 image.

  • 3.0-nanoserver - built and tested with general availability bits
  • 2.0, 2.0-nanoserver - built and tested with public preview bits

Tag summary

Content type

Image

Digest

Size

130.2 MB

Last updated

about 8 years ago

docker pull openhack/iot-sim-1:3.0-nanoserver