vehicle receives new target velocity from orchestrator as response; at this point, this velocity is just a random float between 0 and 130;
17 lines
370 B
Python
17 lines
370 B
Python
from dataclasses import dataclass
|
|
from datetime import datetime
|
|
import geopy.distance
|
|
|
|
|
|
@dataclass
|
|
class DAF:
|
|
"""
|
|
"Datenaufzeichnung für automatisiertes Fahren" (DAF), see 2021_DSE_Exercise_V1.0_Final.pdf page 7
|
|
"""
|
|
|
|
vehicle_identification_number: str
|
|
gps_location: geopy.Point
|
|
velocity: float
|
|
near_crash_event: bool
|
|
timestamp: datetime
|