diff --git a/PythonAPI/examples/ros2/ros2_native.py b/PythonAPI/examples/ros2/ros2_native.py index 5c0bf426a..cd2725816 100644 --- a/PythonAPI/examples/ros2/ros2_native.py +++ b/PythonAPI/examples/ros2/ros2_native.py @@ -82,6 +82,9 @@ def main(args): settings.fixed_delta_seconds = 0.05 world.apply_settings(settings) + traffic_manager = client.get_trafficmanager() + traffic_manager.set_synchronous_mode(True) + with open(args.file) as f: config = json.load(f) diff --git a/PythonAPI/examples/ros2/stack.json b/PythonAPI/examples/ros2/stack.json index 5c56a12eb..aafcc2e22 100644 --- a/PythonAPI/examples/ros2/stack.json +++ b/PythonAPI/examples/ros2/stack.json @@ -1,5 +1,5 @@ { - "type": "vehicle.lincoln.mkz_2020", + "type": "vehicle.lincoln.mkz", "id": "hero", "sensors": [ { @@ -20,7 +20,7 @@ "range": 85, "channels": 64, "points_per_second": 600000, - "rotation_frequency": 10, + "rotation_frequency": 20, "upper_fov": 10, "lower_fov": -30, "atmosphere_attenuation_rate": 0.004,