Move car into another sub-directory

This commit is contained in:
Piv
2020-04-19 13:53:31 +09:30
parent 46b1393b96
commit 86ac59aada
59 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,29 @@
syntax = "proto3";
package MotorControl;
option java_multiple_files = true;
option java_package = "org.vato.carcontroller";
option java_outer_classname = "MotorServiceProto";
message ThrottleRequest{
float throttle = 1;
}
message ThrottleResponse{
bool throttleSet = 1;
}
message SteeringRequest{
float steering = 1;
}
message SteeringResponse{
bool steeringSet = 1;
}
service CarControl{
rpc SetThrottle(ThrottleRequest) returns (ThrottleResponse){}
rpc SetSteering(SteeringRequest) returns (SteeringResponse){}
}