Add lidar grpc files.

This commit is contained in:
Piv
2019-09-22 19:57:11 +09:30
parent 37622b58f8
commit 960c663693
3 changed files with 332 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
syntax = "proto3";
package lidar;
message LidarMap{
repeated int32 x = 1;
repeated int32 y = 2;
}
message LidarRequest{
bool continuous = 1;
int32 readRate = 2;
int32 numMaps = 3;
}
message StopRequest{
bool stop = 1;
}
message StopResponse{
bool stopped = 1;
}
service LidarService{
rpc GetMaps(LidarRequest) returns (stream LidarMap) {}
rpc Stop(StopRequest) returns (StopResponse) {}
}