Antoine C / Mbed 2 deprecated Copy_Assignment3

Dependencies:   mbed MCP23017 WattBob_TextLCD mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

carStatistics Struct Reference

carStatistics Struct Reference

This structure is used to store the speed and travelled distance of the car. More...

#include <my_structures.h>


Detailed Description

This structure is used to store the speed and travelled distance of the car.

Parameters:
*p_speedVector [std::vector<float>] Vector used to store the last speed values computed by the simulator Speed is in m/s.
sizeOfAvg [int] Size of the averaging filter used to compute the displayed speed value. The average is computed by taking the last sizeOfAvg values of the vector p_speedVector.
averageSpeed [float] Last value computed by task 3. In m/s
distance [float] Distance travelled by the car, in m.

Definition at line 60 of file my_structures.h.