Open heweweh opened 1 year ago
Did you test the workaround from PR #641 ? At least that should work for many of the vehicles that come with CARLA 0.9.13.
Did you test the workaround from PR https://github.com/carla-simulator/ros-bridge/pull/641 thanks, I did similar patch locally, I think your patch will work fine. the
type_id
we refered is from the blueprint library I think, you patch will do well except there are some new blueprint added to carla. but I think the root cause will still be the 'object_type' property which is readonly and from blueprint.
Problem
I'm generating training data from carla-simulator and collect samples via carla-ros-bridge. I found that carla-ros-bridge is only giving
car
andpedestrian
, withoutbike
,motorcycle
,truck
, etc. I noticed that incarla-ros-bridge/src/carla_ros_bridge/vehicle.py:42 Vehicle.__init__()
ros-bridge propose to get
object_type
from actors to determinate the actual type ofvehicle
, but actually thecarla_actor.attributes['object_type']
will be always empty str''
in my trace.Reproduce: