VehicleInfo
Auxiliar structure to hold information regarding one vehicle. More...
#include <EventTriggered.h>
Public Attributes
Name | |
---|---|
double | gamma The real value of gamma received by the network and the corresponding time at which this value was received by the network. |
double | time The time instant expressed in seconds corresponding to the instant when gamma was received. |
double | gamma_hat The estimated value of gamma. |
double | vd The desired speed for that gamma. |
bool | is_active Flag that will become true when the first value is received from the network for this vehicle. |
Detailed Description
struct VehicleInfo;
Auxiliar structure to hold information regarding one vehicle.
Author:
- Marcelo Jacinto
- Joao Quintas
- Joao Cruz
- Hung Tuan
Version: 1.0a
Date: 2021
Copyright: MIT
Public Attributes Documentation
variable gamma
double gamma {0.0};
The real value of gamma received by the network and the corresponding time at which this value was received by the network.
variable time
double time {0.0};
The time instant expressed in seconds corresponding to the instant when gamma was received.
variable gamma_hat
double gamma_hat {0.0};
The estimated value of gamma.
variable vd
double vd {0.0};
The desired speed for that gamma.
variable is_active
bool is_active {false};
Flag that will become true when the first value is received from the network for this vehicle.
Updated on 2022-09-15 at 17:51:30 +0000
Last update:
September 15, 2022