Add Collision Info

This commit is contained in:
2024-09-10 13:31:57 -07:00
parent b60cbe3854
commit a32317e72f
4 changed files with 237 additions and 12 deletions

View File

@@ -33,15 +33,25 @@ message DetectionHistory {
repeated BallDetection detections = 1;
}
message CollisionInfo {
uint32 source = 1;
map<uint32, Point> ball_identifiers = 2;
uint32 wall_identifier = 3;
uint32 frame_index = 4;
bool static = 5;
}
message Path {
uint32 start_frame = 1;
uint32 end_frame = 2;
oneof detection_history {
DetectionHistory detections = 3;
RLEDetectionHistory rle_detections = 4;
bool not_present = 5;
DetectionHistory detections = 3;
RLEDetectionHistory rle_detections = 4;
bool not_present = 5;
}
bool is_static = 6;
CollisionInfo start_info = 7;
CollisionInfo end_info = 8;
}
message IdentifierHistory {