-
Notifications
You must be signed in to change notification settings - Fork 0
/
osi_modelinternal.proto
89 lines (72 loc) · 2.92 KB
/
osi_modelinternal.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
syntax = "proto2";
option optimize_for = SPEED;
import "osi_lowleveldata.proto";
import "osi_object.proto";
package osi;
//
// \brief Internal data and state flags for the sensor model, set and used during modification of the interface data.
//
// Content of all ModelInternal* messages may be cleared at the end of the sensor model processing chain and not sent
// with the final output of the sensor model. Receiving components must not expect values in ModelInternal* messages to
// be set. In particular, the message structures defined in this file must not be used by receiving components outside
// of the sensor model to read required input data.
//
message ModelInternal
{
// Low level data interface, for use by models performing statistical generation of such "low level data" before
// object hypothesis and tracking from object ground truth.
//
// Low Level data should be transferred to receiving components by means of a separate data stream. Therefore they
// are not part the top level SensorData message, as they are used only internally by some models.
optional LowLevelData low_level_data = 1;
// Latency, time offset that should have been elapsed before the data is transmitted to the receiving component.
// Unit [ms].
optional double latency = 2;
}
//
// \brief Additional internal data and state flags for SensorDataObjects.
//
message ModelInternalObject
{
// Specifies whether this vehicle is seen by the sensor; set by the field-of-view calculation.
//
optional bool is_seen = 1 [default = true];
// The type of the original object in the ground truth.
//
optional ObjectType ground_truth_type = 2;
// Ground truth vehicle type for object of ground_truth_type Vehicle, should not be set otherwise.
//
optional Vehicle.Type vehicle_type = 3;
// Ground truth object type for object of ground_truth_type MovingObject, should not be set otherwise.
//
optional MovingObject.Type moving_object_type = 4;
// Ground truth object type for object of ground_truth_type StationaryObject, should not be set otherwise.
//
optional StationaryObject.Type stationary_object_type = 5;
// Definition of object types in ground truth.
//
enum ObjectType
{
// Object is a ghost object and does not exist in ground truth.
//
OBJECT_TYPE_GHOST = 0;
// Other (unspecified but known) type of object.
//
OBJECT_TYPE_OTHER = 1;
// Object of type Vehicle.
//
OBJECT_TYPE_VEHICLE = 2;
// Object of type MovingObject.
//
OBJECT_TYPE_MOVING = 3;
// Object of type StationaryObject.
//
OBJECT_TYPE_STATIONARY = 4;
// Object of type TrafficSign.
//
OBJECT_TYPE_TRAFFIC_SIGN = 5;
// Object of type TrafficLight.
//
OBJECT_TYPE_TRAFFIC_LIGHT = 6;
}
}