Skip to content

Commit 27df0e4

Browse files
Add three more top-level messages
Signed-off-by: ClemensLinnhoff <clemens.linnhoff@partner.bmw.de>
1 parent 2c3953b commit 27df0e4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

osi3trace/osi2read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def command_line_arguments():
2828
"--type",
2929
"-t",
3030
help="Name of the type used to serialize data.",
31-
choices=["SensorView", "GroundTruth", "SensorData"],
31+
choices=["SensorView", "GroundTruth", "SensorData", "TrafficUpdate", "TrafficCommand", "TrafficCommandUpdate"],
3232
default="SensorView",
3333
type=str,
3434
required=False,

osi3trace/osi_trace.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@
88
from osi3.osi_sensorview_pb2 import SensorView
99
from osi3.osi_groundtruth_pb2 import GroundTruth
1010
from osi3.osi_sensordata_pb2 import SensorData
11+
from osi3.osi_trafficupdate_pb2 import TrafficUpdate
12+
from osi3.osi_trafficcommand_pb2 import TrafficCommand
13+
from osi3.osi_trafficcommandupdate_pb2 import TrafficCommandUpdate
1114

1215

1316
MESSAGES_TYPE = {
1417
"SensorView": SensorView,
1518
"GroundTruth": GroundTruth,
1619
"SensorData": SensorData,
20+
"TrafficUpdate": TrafficUpdate,
21+
"TrafficCommand": TrafficCommand,
22+
"TrafficCommandUpdate": TrafficCommandUpdate
1723
}
1824

1925

0 commit comments

Comments
 (0)