add: edge template

This commit is contained in:
Toolf
2024-02-12 18:21:08 +02:00
parent 173a61d117
commit 9a179e09e9
12 changed files with 398 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from app.entities.agent_data import AgentData
from app.entities.processed_agent_data import ProcessedAgentData
def process_agent_data(
agent_data: AgentData,
) -> ProcessedAgentData:
"""
Process agent data and classify the state of the road surface.
Parameters:
agent_data (AgentData): Agent data that containing accelerometer, GPS, and timestamp.
Returns:
processed_data_batch (ProcessedAgentData): Processed data containing the classified state of the road surface and agent data.
"""
# Implement it