Automotive demo
Routes
The solution includes an Amazon S3 bucket to store pre-defined routes for the automotive demo. The routes are used to define the path the vehicle takes, and some routes include random triggers that could arise throughout the route, such as high oil temperature. The route locations are defined in the stages. Each stage contains a start and end position. The automotive demo device moves along the stages based on various calculations, such as the speed of the device. The latitude and longitude of the device is reflective of which stage the device is currently navigating. The device location updates each time it moves between a stage. It might take multiple messages before a device moves from one stage to the next.
Running the automotive demo
The solution contains an automotive demo which simulates a connected vehicle. The
automotive demo uses one of 18 defined routes that exist in an Amazon S3 bucket that is created
when the solution is launched. It then uses various calculations in the simulator
Lambda function to simulate data such as fuel consumption, vehicle speed, acceleration and
more. With the automotive demo simulation, you can view a map with the location of the running
devices.
To use the automotive demo, complete the following steps:
-
Create an Automotive Demo device type.
-
Navigate to the Device Types page.
-
Choose Create Device Type.
-
Choose Automotive Demo.
-
The payload is auto populated. Enter the rest of the fields such as Name and Topic.
-
Choose Save.
-
-
Create a Simulation.
-
Navigate to the Simulations page.
-
Choose Create Simulation.
-
Change the Simulation Type field to Automotive.
-
In the dropdown field for devices, you can view your automotive demo device types.
-
Enter the required fields.
-
Choose Save.
-
-
Run the simulation.
-
Run the simulation from the Simulations page by checking the desired simulations then choose Start Simulations.
-
Alternatively, choose View next to the simulation you want to run, then choose Start to run the simulation.
-
-
View the simulation.
-
Choose View next to the simulation you want to view.
-
If the simulation is running, you can view a map with the locations of the devices, and up to 100 of the most recent messages sent to the IoT topic.
-