Skip to content

Commit 6e213bf

Browse files
changed message package
1 parent 2ce8d93 commit 6e213bf

3 files changed

Lines changed: 43 additions & 11 deletions

File tree

docker/autoware_msgs.tar

0 Bytes
Binary file not shown.

example_scenario.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"weather": {
99
"route_percentage": 0.0,
10-
"preciptation": 100.0,
10+
"precipitation": 100.0,
1111
"precipitation_deposits": 100.0,
1212
"wetness": 100.0,
1313
"wind_intensity": 100.0,
@@ -19,7 +19,7 @@
1919
{
2020
"weather": {
2121
"route_percentage": 50.0,
22-
"preciptation": 0.0,
22+
"precipitation": 0.0,
2323
"precipitation_deposits": 0.0,
2424
"wetness": 0.0,
2525
"wind_intensity": 0.0,
@@ -63,7 +63,7 @@
6363
"weather": {
6464
"route_percentage": 0.0,
6565
"cloudiness": 0.0,
66-
"preciptation": 100.0,
66+
"precipitation": 100.0,
6767
"precipitation_deposits": 100.0,
6868
"wetness": 100.0,
6969
"wind_intensity": 100.0,
@@ -76,7 +76,7 @@
7676
"weather": {
7777
"route_percentage": 50.0,
7878
"cloudiness": 50.0,
79-
"preciptation": 0.0,
79+
"precipitation": 0.0,
8080
"precipitation_deposits": 0.0,
8181
"wetness": 0.0,
8282
"wind_intensity": 0.0,
@@ -89,7 +89,7 @@
8989
"weather": {
9090
"route_percentage": 100.0,
9191
"cloudiness": 100.0,
92-
"preciptation": 0.0,
92+
"precipitation": 0.0,
9393
"precipitation_deposits": 0.0,
9494
"wetness": 0.0,
9595
"wind_intensity": 0.0,
@@ -132,10 +132,10 @@
132132
"town": "Town01",
133133
"route-id": 0,
134134
"ego_vehicle": {
135-
"x": 1234,
136-
"y": 5.2,
137-
"z": 3123471,
138-
"yaw": -173,
135+
"x": 312,
136+
"y": 129,
137+
"z": 0,
138+
"yaw": 180,
139139
"model": "vehicle.toyota.prius",
140140
"name": "ego_vehicle",
141141
"sensor_configuration": [
@@ -173,7 +173,7 @@
173173
"points_per_second": 300000,
174174
"upper_fov": 10.0,
175175
"lower_fov": -30.0,
176-
"rotation_frequency": 20,
176+
"rotation_frequency": 20
177177
}
178178
},
179179
{

srunner/tools/environment_parser.py

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,39 @@ def __init__(self) -> None:
3434
def _spawn(self, bp_library, vehicle) -> None:
3535
sensor_bp = bp_library.find(str(self.type))
3636

37-
ignored_params = ["type", "id", "spawn"]
37+
ignored_params = [
38+
"__class__",
39+
"__delattr__",
40+
"__dict__",
41+
"__dir__",
42+
"__doc__",
43+
"__eq__",
44+
"__format__",
45+
"__ge__",
46+
"__getattribute__",
47+
"__gt__",
48+
"__hash__",
49+
"__init__",
50+
"__init_subclass__",
51+
"__le__",
52+
"__lt__",
53+
"__module__",
54+
"__ne__",
55+
"__new__",
56+
"__reduce__",
57+
"__reduce_ex__",
58+
"__repr__",
59+
"__setattr__",
60+
"__sizeof__",
61+
"__str__",
62+
"__subclasshook__",
63+
"__weakref__",
64+
"_spawn",
65+
"serealize",
66+
"id",
67+
"spawn",
68+
"type",
69+
]
3870

3971
sensor_params = [attr for attr in dir(self) if attr not in ignored_params]
4072

0 commit comments

Comments
 (0)