File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ,
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 ,
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 ,
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 ,
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 ,
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" : [
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 {
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments