Minor refactoring and more support for recording data.
This commit is contained in:
@@ -34,8 +34,8 @@ message SaveRequest{
|
||||
}
|
||||
|
||||
service CarControl{
|
||||
rpc SetThrottle(ThrottleRequest) returns (ThrottleResponse){}
|
||||
rpc SetSteering(SteeringRequest) returns (SteeringResponse){}
|
||||
rpc Record(RecordingReqeust) returns (google.protobuf.Empty) {}
|
||||
rpc SaveRecordedData(SaveRequest) returns (google.protobuf.Empty) {}
|
||||
rpc set_throttle(ThrottleRequest) returns (ThrottleResponse){}
|
||||
rpc set_steering(SteeringRequest) returns (SteeringResponse){}
|
||||
rpc record(RecordingReqeust) returns (google.protobuf.Empty) {}
|
||||
rpc save_recorded_data(SaveRequest) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ option java_package = "org.vato.carcontroller";
|
||||
option java_outer_classname = "PersonTrackingProto";
|
||||
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
message Int32Value{
|
||||
int32 value = 1;
|
||||
@@ -22,10 +23,15 @@ message PointScan{
|
||||
repeated Point points = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
service PersonTracking{
|
||||
rpc set_tracking_group(Int32Value) returns (google.protobuf.Empty) {}
|
||||
|
||||
rpc stop_tracking(google.protobuf.Empty) returns (google.protobuf.Empty) {}
|
||||
|
||||
rpc start_tracking(google.protobuf.Empty) returns (google.protobuf.Empty) {}
|
||||
|
||||
rpc record(google.protobuf.BoolValue) returns (google.protobuf.Empty) {}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user