Hello Everyone,
I am trying to use the issac-ros-image-segmentationhttps://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_image_segmentation/isaac_ros_segment_anything/index.html.
@nvidia
However when I facing issues in the Run Launch File part there is no output from segmentation:
-
I am launching like
ros2 launch isaac_ros_examples isaac_ros_examples.launch.py launch_fragments:=segment_anything interface_specs_file:=/workspaces/isaac_ros-dev/isaac_ros_assets/isaac_ros_segment_anything/quickstart_interface_specs.json sam_model_repository_paths:=[/workspaces/isaac_ros-dev/isaac_ros_assets/models] -
Running a bag file like
ros2 bag play -l yourbag/yourbag_0.db3 --remap /zed/zed_node/left_raw/camera_info:=/camera_info
I am getting the below output
[component_container_mt-1] [WARN] [1724760009.666062561] [sam_data_encoder_node.NitrosSubscriber]: 60.0s passed while waiting to push a message entity (eid=1061) to the receiver prompt_receiver
[component_container_mt-1] [WARN] [1724760018.512943063] [sam_resize_node.NitrosSubscriber]: 150.0s passed while waiting to push a message entity (eid=322) to the receiver camera_info_in
[component_container_mt-1] [WARN] [1724760025.060794941] [sam_data_encoder_node.NitrosSubscriber]: 70.0s passed while waiting to push a message entity (eid=1061) to the receiver prompt_receiver
[component_container_mt-1] [WARN] [1724760033.911613216] [sam_resize_node.NitrosSubscriber]: 160.0s passed while waiting to push a message entity (eid=322) to the receiver camera_info_in
[component_container_mt-1] [WARN] [1724760040.460711157] [sam_data_encoder_node.NitrosSubscriber]: 80.0s passed while waiting to push a message entity (eid=1061) to the receiver prompt_receiver
[component_container_mt-1] [WARN] [1724760049.302374285] [sam_resize_node.NitrosSubscriber]: 170.0s passed while waiting to push a message entity (eid=322) to the receiver camera_info_in
[component_container_mt-1] [WARN] [1724760055.861622897] [sam_data_encoder_node.NitrosSubscriber]: 90.0s passed while waiting to push a message entity (eid=1061) to the receiver prompt_receiver
[component_container_mt-1] [WARN] [1724760064.691150641] [sam_resize_node.NitrosSubscriber]: 180.0s passed while waiting to push a message entity (eid=322) to the receiver camera_info_in
[component_container_mt-1] [WARN] [1724760071.255759039] [sam_data_encoder_node.NitrosSubscriber]: 100.0s passed while waiting to push a message entity (eid=1061) to the receiver prompt_receiver
[component_container_mt-1] [WARN] [1724760080.078673048] [sam_resize_node.NitrosSubscriber]: 190.0s passed while waiting to push a message entity (eid=322) to the receiver camera_info_in
[component_container_mt-1] [WARN] [1724760086.645673726] [sam_data_encoder_node.NitrosSubscriber]: 110.0s passed while waiting to push a message entity (eid=1061) to the receiver prompt_receiver
Image topic data
ros2 topic echo /image
header:
stamp:
sec: 0
nanosec: 0
frame_id: ‘’
height: 720
width: 1280
encoding: bgr8
is_bigendian: 0
step: 3840
data:
- 136
- 132
- 161
- 136
- 131
- 159
- 140
- 134
- 166
- 138
- 132
- 163
- 137
- 132
- 163
- 138
- 133
- 164
- 141
- 136
- 167
- 140
- 135
- 166
- 141
- 136
- 167
- 141
- 136
- 166
- 138
- 131
- 165
- 141
- 134
- 167
- 143
- 139
- 172
- 141
- 136
- 169
- 145
- 140
- 173
- 145
- 140
- 173
- 145
- 140
- 173
- 142
- 137
- 170
- 145
- 151
- 144
- 178
- 150
- 143
- 178
- 149
- 144
- 174
- 148
- 143
- 174
- 151
- 146
- 177
- 146
- 141
- 173
- 148
- 142
- ‘…’
ros2 topic echo /camera_info --once
header:
stamp:
sec: 1724748984
nanosec: 419116174
frame_id: zed_left_camera_optical_frame
height: 720
width: 1280
distortion_model: rational_polynomial
d:
- -0.6160699725151062
- 1.8807599544525146
- 0.00021522599854506552
- -8.745469676796347e-05
- 0.21952299773693085
- -0.5077660083770752
- 1.7325299978256226
- 0.37699800729751587
k: - 535.1500244140625
- 0.0
- 641.530029296875
- 0.0
- 535.5
- 368.0954895019531
- 0.0
- 0.0
- 1.0
r: - 1.0
- 0.0
- 0.0
- 0.0
- 1.0
- 0.0
- 0.0
- 0.0
- 1.0
p: - 535.1500244140625
- 0.0
- 641.530029296875
- 0.0
- 0.0
- 535.5
- 368.0954895019531
- 0.0
- 0.0
- 0.0
- 1.0
- 0.0
binning_x: 0
binning_y: 0
roi:
x_offset: 0
y_offset: 0
height: 0
width: 0
do_rectify: false
Please help