1 // include the DCCL extensions to Google Protobuf
2 import "dccl/option_extensions.proto";
8 option (dccl.msg).id = 20;
9 option (dccl.msg).max_bytes = 32;
10 optional double timestamp = 1
11 [(dccl.field).codec = "_time", (dccl.field).in_head = true];
12 optional int32 src = 2 [
13 (dccl.field).max = 31,
15 (dccl.field).in_head = true
17 optional int32 dest = 3 [
18 (dccl.field).max = 31,
20 (dccl.field).in_head = true
23 optional double x = 10 [
24 (dccl.field).max = 100000,
25 (dccl.field).min = -100000,
26 (dccl.field).precision = 0
28 optional double y = 11 [
29 (dccl.field).max = 100000,
30 (dccl.field).min = -100000,
31 (dccl.field).precision = 0
33 optional double speed = 12 [
34 (dccl.field).max = 20.0,
35 (dccl.field).min = -2.0,
36 (dccl.field).precision = 1
38 optional double heading = 13 [
39 (dccl.field).max = 360.00,
40 (dccl.field).min = 0.00,
41 (dccl.field).precision = 2
43 optional double depth = 14 [
44 (dccl.field).max = 6400.0,
45 (dccl.field).min = 0.0,
46 (dccl.field).precision = 1