FIx Slam protos
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.example.carcontroller";
|
||||
option java_outer_classname = "SlamControllerProto";
|
||||
|
||||
import "Empty.proto";
|
||||
|
||||
message SlamDetails {
|
||||
int32 map_size_pixels = 1;
|
||||
int32 map_size_meters = 2;
|
||||
@@ -20,12 +26,8 @@ message SlamScan{
|
||||
SlamLocation location = 2;
|
||||
}
|
||||
|
||||
message Empty{
|
||||
|
||||
}
|
||||
|
||||
service SlamControl {
|
||||
rpc start_map_streaming(SlamDetails) returns (Empty) {}
|
||||
rpc start_map_streaming(SlamDetails) returns (persontracking.Empty) {}
|
||||
|
||||
rpc stop_streaming(Empty) returns (Empty) {}
|
||||
rpc stop_streaming(persontracking.Empty) returns (persontracking.Empty) {}
|
||||
}
|
||||
Reference in New Issue
Block a user