add protobuf
This commit is contained in:
parent
e95297fe93
commit
5dc3587ccb
26
message.proto
Normal file
26
message.proto
Normal file
|
@ -0,0 +1,26 @@
|
|||
syntax = "proto2";
|
||||
|
||||
package Fenceless;
|
||||
|
||||
message Coordinate {
|
||||
required float x = 1;
|
||||
required float y = 2;
|
||||
}
|
||||
|
||||
message CollarResponse {
|
||||
required Coordinate loc = 1;
|
||||
}
|
||||
|
||||
message Coordinates {
|
||||
required int32 isr = 1;
|
||||
required Coordinate coord0 = 2;
|
||||
required Coordinate coord1 = 3;
|
||||
required Coordinate coord2 = 4;
|
||||
optional Coordinate coord3 = 5;
|
||||
optional Coordinate coord4 = 6;
|
||||
optional Coordinate coord5 = 7;
|
||||
optional Coordinate coord6 = 8;
|
||||
optional Coordinate coord7 = 9;
|
||||
optional Coordinate coord8 = 10;
|
||||
optional Coordinate coord9 = 11;
|
||||
}
|
Loading…
Reference in New Issue
Block a user