Skip to content

play bag读取话题出错 #4

@XU0510

Description

@XU0510

Hit space to toggle paused, or 's' to step.
[DELAYED] Bag Time: 0.000000 Duration: 0.000000 / 66.641774 Delay: 17[ERROR] [1721613142.407539117]: Client [/service_client] wants topic /device_0/sensor_1/Color_0/image/metadata to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [diagnostic_msgs/KeyValue/cf57fdc6617a881a88c16e768132149c]. Dropping connection.
[RUNNING] Bag Time: 0.000000 Duration: 0.000000 / 66.641774
您好,我修改了service_client.cpp中yolo_results_pub =
n.advertise<yolo_ros::DetectionMessages>("/untracked_info", 10);
ros::Subscriber imu_sub =
n.subscribe("/device_0/sensor_1/Color_0/image/metadata", 10, img_callback);这一段代码,然后报了如上的错误,请问我是否应该在别的地方修改一下。
在运行别的bag时,我觉得是没有正确读取到topic,rostopic echo出现下述问题rostopic echo /untracked_info
ERROR: Cannot load message class for [yolo_ros/DetectionMessages]. Are your messages built?,请问应当如何修改,感谢指教

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions