blob: c12fa3bba499e2631c381e4d9a457360a970a667 (
plain)
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
46
47
48
49
50
51
52
53
54
55
56
|
syntax = "proto3";
package robotics.messages;
// A four-dimensional double precision vector.
message Vector4d {
double x = 1;
double y = 2;
double z = 3;
double w = 4;
}
// A four-dimensional single precision vector.
message Vector4f {
float x = 1;
float y = 2;
float z = 3;
float w = 4;
}
// A three-dimensional double precision vector.
message Vector3d {
double x = 1;
double y = 2;
double z = 3;
}
// A three-dimensional single precision vector.
message Vector3f {
float x = 1;
float y = 2;
float z = 3;
}
// A two-dimensional double precision vector.
message Vector2d {
double x = 1;
double y = 2;
}
// A two-dimensional single precision vector.
message Vector2f {
float x = 1;
float y = 2;
}
// Double precision vector of arbitrary size.
message Vectord {
repeated double data = 1 [packed = true];
}
// Single precision vector of arbitrary size.
message Vectorf {
repeated float data = 1 [packed = true];
}
|