carla-simulator/ros-bridge

[0.9.13] 'object_sensor' publishes objects with 0 width (y-axis size)

heweweh opened this issue · 0 comments

Problem

I'm generating training data from carla-simulator and collect samples via carla-ros-bridge.
I have received a lot of dimensions: [x : 2.0333524, y : 0. , z : 1.1992844] .
it's a fixed size so I think it may be from some configuration like blueprints. I'm not sure about if this is a problem of carla-ros-brige or carla-simulator it self.

Reproduce:

terminal 1 $ carla-simulator/CarlaUE4.sh -benchmark -fps=20
terminal 2 $ ros2 launch carla_ros_bridge carla_ros_bridge.launch.py fixed_delta_seconds:='0.1'
terminal 3 $ ros2 launch carla_spawn_objects carla_spawn_objects.launch.py
terminal 4 $ ros2 launch carla_manual_control carla_manual_control.launch.py
terminal 5 $ carla-simulator/PythonAPI/examples/generate_traffic.py -n 50 -w 15
terminal 6 $ ros2 topic echo /carla/ego_vehicle/objects
  • switch on autopilot in window of carla_manual_control.
  • confirm information of objects in terminal 6.