-
Notifications
You must be signed in to change notification settings - Fork 599
Expand file tree
/
Copy patharea_callback_service.proto
More file actions
42 lines (33 loc) · 2.06 KB
/
area_callback_service.proto
File metadata and controls
42 lines (33 loc) · 2.06 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (c) 2023 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.graph_nav;
option go_package = "bosdyn/api/graph_nav/area_callback_service";
option java_outer_classname = "AreaCallbackServiceProto";
import "bosdyn/api/graph_nav/area_callback.proto";
service AreaCallbackService {
// Retrieve information about how to operate the service, including what lease resources are
// required by the navigation callback.
rpc AreaCallbackInformation(AreaCallbackInformationRequest)
returns (AreaCallbackInformationResponse) {}
// BeginCallback is called once as the robot enters a AreaCallback region of a map. This call
// initializes the navigation callback for operation.
rpc BeginCallback(BeginCallbackRequest) returns (BeginCallbackResponse) {}
// BeginControl is called once after the area callback implementation requests control. Control
// is handed off (via a lease) from the caller to the area callback.
rpc BeginControl(BeginControlRequest) returns (BeginControlResponse) {}
// UpdateCallback is called periodically while the callback is running. Area callback
// implementations use UpdateCallback to dictate how caller should operate while callback is
// running (pause, continue, etc.)
rpc UpdateCallback(UpdateCallbackRequest) returns (UpdateCallbackResponse) {}
// Called only if the route changes in the middle of the region (for example, if the robot is
// blocked by an obstacle and re-routes).
rpc RouteChange(RouteChangeRequest) returns (RouteChangeResponse) {}
// EndCallback is called once when the caller decides the navigation callback is over. This
// might be because the robot exited the callback region or might be because the callback
// reported that it finished doing work.
rpc EndCallback(EndCallbackRequest) returns (EndCallbackResponse) {}
}