fixes to ros2 native demo

This commit is contained in:
Joel Moriana 2024-10-10 12:18:56 +02:00 committed by Blyron
parent 2b249b501c
commit 359f723d20
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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,