Use the throttle as the heartbeat message.
This commit is contained in:
@@ -18,16 +18,7 @@ message SteeringResponse{
|
||||
bool steeringSet = 1;
|
||||
}
|
||||
|
||||
message HeartbeatCheck{
|
||||
bool continue = 1;
|
||||
}
|
||||
|
||||
message HeartbeatCheckResponse{
|
||||
string errorMessage = 1;
|
||||
}
|
||||
|
||||
service CarControl{
|
||||
rpc SetThrottle(ThrottleRequest) returns (ThrottleResponse){}
|
||||
rpc SetThrottle(stream ThrottleRequest) returns (ThrottleResponse){}
|
||||
rpc SetSteering(SteeringRequest) returns (SteeringResponse){}
|
||||
rpc Heartbeat(HeartbeatCheck) returns (HeartbeatCheckResponse){}
|
||||
}
|
||||
Reference in New Issue
Block a user