Minor changes to motor service
This commit is contained in:
@@ -38,3 +38,5 @@ class Motor:
|
||||
print("Value must be an int.")
|
||||
return False
|
||||
|
||||
def stop(self):
|
||||
self.set_throttle(0)
|
||||
@@ -29,5 +29,5 @@ message HeartbeatCheckResponse{
|
||||
service CarControl{
|
||||
rpc SetThrottle(ThrottleRequest) returns (ThrottleResponse){}
|
||||
rpc SetSteering(SteeringRequest) returns (SteeringResponse){}
|
||||
rpc Heartbeat(stream HeartbeatCheck) returns (HeartbeatCheckResponse){}
|
||||
rpc Heartbeat(HeartbeatCheck) returns (HeartbeatCheckResponse){}
|
||||
}
|
||||
Reference in New Issue
Block a user