synchronize.py 同步操作未关闭
Jason07709 opened this issue · 3 comments
Jason07709 commented
finally:
world.apply_settings(original_settings)
print('destroying actors')
client.apply_batch([carla.command.DestroyActor(x) for x in actor_list])
for sensor in sensor_list:
sensor.destroy()
print('done.')
最后应该将同步操作关闭:
finally:
world.apply_settings(original_settings)
print('destroying actors')
client.apply_batch([carla.command.DestroyActor(x) for x in actor_list])
for sensor in sensor_list:
sensor.destroy()
print('done.')
settings = world.get_settings()
settings.synchronous_mode = False
settings.fixed_delta_seconds = None
world.apply_settings(settings)
DerrickXuNu commented
欢迎提交PR修改
dajiba6 commented
apply的是original_settings, 同步模式已经关了
dajiba6 commented
欢迎提交PR修改
飞哥还会继续更新吗