forked from boston-dynamics/spot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrobot_command_service.proto
27 lines (21 loc) · 1.2 KB
/
robot_command_service.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2019 Boston Dynamics, Inc. All rights reserved.
//
// Downloading, reproducing, distributing or otherwise using the SDK Software
// is subject to the terms and conditions of the Boston Dynamics Software
// Development Kit License (20191101-BDSDK-SL).
syntax = "proto3";
package bosdyn.api;
option java_outer_classname = "RobotCommandServiceProto";
import "bosdyn/api/robot_command.proto";
service RobotCommandService {
/// Starts a behavior command on the robot. Issuing a new command overrides the active command.
/// Each command is issued a UID for feedback retrieval.
rpc RobotCommand(RobotCommandRequest) returns (RobotCommandResponse) {}
/// A client queries this RPC to determine a robot's progress towards completion of a command.
/// This updates the client with metrics like "distance to goal."
/// The client should use this feedback to determine whether the current command has
/// succeeeded or failed, and thus send the next command.
rpc RobotCommandFeedback(RobotCommandFeedbackRequest) returns (RobotCommandFeedbackResponse) {}
/// Clear robot behavior fault
rpc ClearBehaviorFault(ClearBehaviorFaultRequest) returns (ClearBehaviorFaultResponse) {}
}