carla-simulator / ros-bridge

ROS bridge for CARLA Simulator
MIT License
532 stars 441 forks source link

Unable to record any carla_msgs #720

Open D-2n opened 10 months ago

D-2n commented 10 months ago

I am trying to record (ros2 bag record) carla messages, specifically, /carla/ego_vehicle/vehicle_status, which has the type 'carla_msgs/msg/CarlaEgoVehicleStatus'. However, i get the error in the terminal: [WARN] [1706011641.233481530] [rosbag2_transport]: Topic '/carla/ego_vehicle/vehicle_status' has unknown type 'carla_msgs/msg/CarlaEgoVehicleStatus' associated. Only topics with known type are supported. Reason: 'package 'carla_msgs' not found, searching:.

Does anyone know how to fix this? I've sourced everything.

Billthekidz commented 7 months ago

I don't think you've sourced everything if the error is "carla_msgs not found." You might have sourced all correct source scripts, but is carla_msgs isn't being built, you will not find it in your workspace. First confirm if you have carla_msgs in your workspace?