Add Protobuf with Testing + Codegen (#7)

Reviewed-on: #7
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
Co-authored-by: Mike Kalange <countablecloud@gmail.com>
Co-committed-by: Mike Kalange <countablecloud@gmail.com>
This commit is contained in:
2024-05-22 11:27:54 -06:00
committed by Ivan Malison
parent 36712557cb
commit 30e356e3e0
15 changed files with 1064 additions and 2 deletions

27
rbproto/shot.proto Normal file
View File

@@ -0,0 +1,27 @@
syntax = "proto3";
package serialized_shot;
message Point {
float x = 1;
float y = 2;
int32 count = 3;
}
message Path {
int32 start_frame = 1;
int32 end_frame = 2;
bool is_static = 3;
repeated Point points = 4;
}
message BallPaths {
int32 ball_identifier = 1;
repeated Path paths = 2;
}
message Shot {
int32 start_frame = 1;
int32 end_frame = 2;
repeated BallPaths ball_paths = 3;
}