MotionServiceBase constructor
Implementation
MotionServiceBase() {
$addMethod($grpc.ServiceMethod<$40.MoveRequest, $40.MoveResponse>(
'Move',
move_Pre,
false,
false,
($core.List<$core.int> value) => $40.MoveRequest.fromBuffer(value),
($40.MoveResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.MoveOnMapRequest, $40.MoveOnMapResponse>(
'MoveOnMap',
moveOnMap_Pre,
false,
false,
($core.List<$core.int> value) => $40.MoveOnMapRequest.fromBuffer(value),
($40.MoveOnMapResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.MoveOnGlobeRequest, $40.MoveOnGlobeResponse>(
'MoveOnGlobe',
moveOnGlobe_Pre,
false,
false,
($core.List<$core.int> value) => $40.MoveOnGlobeRequest.fromBuffer(value),
($40.MoveOnGlobeResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetPoseRequest, $40.GetPoseResponse>(
'GetPose',
getPose_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetPoseRequest.fromBuffer(value),
($40.GetPoseResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.StopPlanRequest, $40.StopPlanResponse>(
'StopPlan',
stopPlan_Pre,
false,
false,
($core.List<$core.int> value) => $40.StopPlanRequest.fromBuffer(value),
($40.StopPlanResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.ListPlanStatusesRequest, $40.ListPlanStatusesResponse>(
'ListPlanStatuses',
listPlanStatuses_Pre,
false,
false,
($core.List<$core.int> value) => $40.ListPlanStatusesRequest.fromBuffer(value),
($40.ListPlanStatusesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$40.GetPlanRequest, $40.GetPlanResponse>(
'GetPlan',
getPlan_Pre,
false,
false,
($core.List<$core.int> value) => $40.GetPlanRequest.fromBuffer(value),
($40.GetPlanResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$16.DoCommandRequest, $16.DoCommandResponse>(
'DoCommand',
doCommand_Pre,
false,
false,
($core.List<$core.int> value) => $16.DoCommandRequest.fromBuffer(value),
($16.DoCommandResponse value) => value.writeToBuffer()));
}