Skip to content

Commit

Permalink
fix: LapCounter files
Browse files Browse the repository at this point in the history
  • Loading branch information
guglielmo-boi committed Oct 31, 2023
1 parent 45bc694 commit 1d0afda
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 22 deletions.
22 changes: 0 additions & 22 deletions proto/lapcounter/circuit.proto

This file was deleted.

19 changes: 19 additions & 0 deletions proto/lapcounter/race.proto → proto/lapcounter/lapcounter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@ syntax = "proto3";

package LapCounter;

message Vector
{
double x = 1;
double y = 2;
}

message Line
{
Vector position = 1;
Vector direction = 2;
}

message Circuit
{
string circuitId = 1;
repeated Line checksLines = 2;
repeated Line sectorsLines = 3;
}

message Lap
{
int32 number = 1;
Expand Down

0 comments on commit 1d0afda

Please sign in to comment.