The project calculates and displays the results of the workout. The module processes data for three types of training: running, walking and swimming.
This module performs the following functions:
- receives information about the past training from the sensor unit,
- determines the type of training,
- calculates the results of training,
- displays a message about the results of the training.
The message includes the following information:
- type of training (running, walking or swimming);
- duration of training;
- distance covered by the user, in kilometers;
- average speed at a distance, in km/h;
- the energy expenditure, in kilocalories.