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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user