carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.31k stars 3.66k forks source link

DebugHelper ignores life_time=-1.0 for draw_point() #5231

Open ghost12111 opened 2 years ago

ghost12111 commented 2 years ago

CARLA version: 0.9.13 Platform: Ubuntu 18.04 Problem you have experienced: If life_time is set to -1.0, points stay in the world indefinitely. What you expected to happen: life_time=-1.0 should let points disappear in the next frame.

Steps to reproduce:

import carla

client = carla.Client('localhost', 2000)
print(client.get_client_version())
print(client.get_server_version())
client.get_world().debug.draw_point(carla.Location(0., 0., 100.), life_time=-1.0)

Expectation: Console output: 0.9.13 0.9.13 Point stays visible for one frame

Result: Console output: 0.9.13 0.9.13 Point stays visible indefinitely

This functionality worked as expected in CARLA 0.9.12. Possibly related to #5075, although life_time=0. works as expected for draw_point()?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.