mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-06 16:23:41 +08:00
81ebf6b142
old-commit-hash: 187a70f760b4b1cd463619a161e6a929fc86e1b4
26 lines
383 B
C
26 lines
383 B
C
#ifndef MODELDATA_H
|
|
#define MODELDATA_H
|
|
|
|
#define MODEL_PATH_DISTANCE 50
|
|
|
|
typedef struct PathData {
|
|
float points[MODEL_PATH_DISTANCE];
|
|
float prob;
|
|
float std;
|
|
} PathData;
|
|
|
|
typedef struct LeadData {
|
|
float dist;
|
|
float prob;
|
|
float std;
|
|
} LeadData;
|
|
|
|
typedef struct ModelData {
|
|
PathData path;
|
|
PathData left_lane;
|
|
PathData right_lane;
|
|
LeadData lead;
|
|
} ModelData;
|
|
|
|
#endif
|