Format files and add gRPC stream support.
This commit is contained in:
@@ -25,6 +25,11 @@ message SteeringResponse{
|
||||
bool steeringSet = 1;
|
||||
}
|
||||
|
||||
message Vehicle2DRequest{
|
||||
ThrottleRequest throttle = 1;
|
||||
SteeringRequest steering = 2;
|
||||
}
|
||||
|
||||
message RecordingReqeust{
|
||||
bool record = 1;
|
||||
}
|
||||
@@ -36,6 +41,7 @@ message SaveRequest{
|
||||
service CarControl{
|
||||
rpc set_throttle(ThrottleRequest) returns (ThrottleResponse){}
|
||||
rpc set_steering(SteeringRequest) returns (SteeringResponse){}
|
||||
rpc stream_vehicle_2d(stream Vehicle2DRequest) returns (google.protobuf.Empty){}
|
||||
rpc record(RecordingReqeust) returns (google.protobuf.Empty) {}
|
||||
rpc save_recorded_data(SaveRequest) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
|
||||
@@ -29,5 +29,7 @@ message SlamScan{
|
||||
service SlamControl {
|
||||
rpc start_map_streaming(SlamDetails) returns (google.protobuf.Empty) {}
|
||||
|
||||
rpc map_stream(SlamDetails) returns (stream SlamScan) {}
|
||||
|
||||
rpc stop_streaming(google.protobuf.Empty) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
Reference in New Issue
Block a user