carla-simulator / carla

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

carla.Color() do not work correctly when I draw a point using world.debug.draw_point() #6239

Open henryhcliu opened 1 year ago

henryhcliu commented 1 year ago
glopezdiest commented 1 year ago

Could you provide any examples of what is wrong?

henryhcliu commented 1 year ago

Could you provide any examples of what is wrong?

I used world.debug.draw_point(carla.Location(px, py, 0.3), size=0.025, color=carla.Color(128,0,255,0), life_time=0) to show a specified color for the point. But the output of this code is as same as world.debug.draw_point(carla.Location(px, py, 0.3), size=0.025, color=carla.Color(255,0,255,0), life_time=0) and even world.debug.draw_point(carla.Location(px, py, 0.3), size=0.025, color=carla.Color(1,0,1,0), life_time=0).

Thank you for your answer very much!

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.