forked from boston-dynamics/spot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameter.proto
45 lines (33 loc) · 1.1 KB
/
parameter.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// 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 = "ParameterProto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/duration.proto";
/// Generic parameter
message Parameter {
/// Name of parameter.
string label = 1;
/// Units of parameter value.
string units = 2;
oneof values {
/// Value of a countable measure.
int64 int_value = 3;
/// Value of a continuous measure.
double float_value = 4;
/// A point in time.
google.protobuf.Timestamp timestamp = 5;
/// A time duration.
google.protobuf.Duration duration = 6;
/// Value as a string.
string string_value = 7;
/// Value as true/false.
bool bool_value = 8;
}
/// Description of the parameter or its value.
string notes = 9;
}