TomToms n.EXT hackaton

Overview

Get the best rest and do not save the rest for last!

Hello and welcome to our GitHub repository for the TomToms n.EXT hackaton! 🚛

Alt text

We are CODAM's n.EXT level girls (from left to right) Tessa, Sanne, Maria and Mares. We have developed a tool for truck drivers to find and rate resting points to improve efficiency and safety during truck drivers' delivery.

This repository contains three different elements that contribute to reaching our goal:
  • The Rest Calculator: Calculate when to make a stop
  • The App: Rate facilities and safety at rest stops
  • The Web: Find the stops on the map

- The Rest Calculator: Calculate when to make a stop

Each 24 hours, a truck driver has to rest for 11 hours uninterruptedly. That means there is a maximum driving slot of 13 hours per day. Two short stops of 45 minutes per day are necessary, since 4,5 hours driving without stopping is the maximum according to the law.

In total, there is 11,5 hours per day a truck can actually drive. Based on these rules, this algorithm calculates how many stops have to be made and after how many kilometers.

Usage:

To run the algorithm, run the following command.

python3 rest-calculator.py

The program will ask for input. Enter a distance in kilometers and an average speed in km/h to get the iternary plan for the truck delivery. With this tool a truck driver will never get a fine for breaking the driving times law again!

- The App: Rate facilities and safety at rest stops

Usage:

To run the application, open The App in Xcode. Select iPhone 11 view for the best experience. Then just click the play button to explore the functionality of the app!

TomTom.xcodeproj

The app we made is meant as an additional functionality to the existing TomTom navigator. The objective of the tool we want to add is that users are able to rate the facilities and safety at rest stops they have visited. With a simple user interface, users can rate the rest stop based on 9 criteria. When the GPS location of a vehicle has been on a rest stop for more than 30 minutes, the driver of the vehicle will get a notification from the TomTom app with the request to answer some questions about the rest stop. The user will provide information on the presence of the following services:

  • illuminated parking
  • gas
  • restaurant
  • supermarket
  • camera surveillance
  • toilets
  • hotel/pension
  • showers
  • cell service

When the user clicks an icon linked to one of these services, implying it's present at the rest stop, they are asked to rate the service on a scale of 1 - 5. When the user has clicked all present services, the 'Submit' button is pressed. Then, a final question will be asked: How safe do you feel at this rest stop?

Based on these scores, we create a facility and a safety rating. The data this tool collects about rest stops is very valuable to truck drivers to plan a safe and efficient iternary.

animated

The Web: Find the stops on the map

Based on the results of the Rest Calculator, and results of user input on facilities and safety, resting points will be shown on the map. For every stop that has to be made, a few options are shown. The facility and safety rating is shown when a stop is clicked. This way, a driver can decide which stop suits their needs te best. 45 minute stop? Look for high facility rating! 11 hour stop? Make sure the spot has a high safety rating!

You might also like...
Owner
Sanne Albreghs
Sanne Albreghs