ros2 topic can only echo certain topics (multiplemachine)

asked 2019-12-02 14:50:56 -0600

ttttthomas gravatar image

Hi,

I'm running ros2 dashing on 2 ubuntu machines. I'm publishing topics on machine 1 and trying to echo the topics on machine 2. So far I can echo any topics on machine 1 itself (to make sure there are contents in the topics.) I can see all the topics on machine 2, but I can only echo some topics on machine 2. To be more specific, I can't echo any image/camera topics that is sending from machine 1. Those are just topics carrying Image message type like below:

header:
  stamp:
    sec: 1575319534
    nanosec: 624064594
  frame_id: cam_img_input
height: 480
width: 640
encoding: bgr8
is_bigendian: 0
step: 1920
data: [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 253, 255, 255, 250, 252, 252, 253, 255, 255, 215, 217, 217, 118, 109, 118, 152, 143, 152, 175, 158, 181, 173, 156, 179, 164, 150, 174, 157, 143, 167, 151, 136, 162, 145, 130, 156, 143, 127, 150, 138, 122, 145, 132, 120, 144, 130, 118, 142, 132, 118, 141, 130, 116, 139, 131, 114, 135, 129, 112, 133, 124, 110, 133, 123, 109, 132, 121, 110, 132, 121, 110, 132, 118, 109, 131, 116, 107, 129, 114, 104, 128, 114, 104, 128, 113, 104, 129, 114, 105, 130, 114, 106, '...']
---

Any thought on this? Any help is appreciated!

Tom

edit retag flag offensive close merge delete

Comments

Just want to give more details, all the message types are standard msg type from sensor_msg like BatteryState and Image. I can echo BatteryState, but not Image. And I have four cameras on machine1, one camera topic will just have nothing, but the rest three will hang for 3 seconds and show Could not determine the type for the passed topic.

ttttthomas gravatar imagettttthomas ( 2019-12-02 15:00:10 -0600 )edit