Robotics StackExchange | Archived questions

depthimage_to_laserscan : nothing published on /scan topic

Hey,

I am trying to depthimagetolaserscan package. i would attach an image of rqtgraph but the site wouldnt allow me to. Basically, I have the depthimagetolaserscan node subscribed to camerainfo and also the depth image topics. I also have a listener subscribed to the "/scan" topic

I have written a launch file to map the right topics correspondingly, but nothing is being published on /scan topic. could someone help me fix this?

thanks

this is the launch file i used:

<launch>

<node pkg="depthimage_to_laserscan" type="depthimage_to_laserscan" name="depthimage_to_laserscan">


  <remap from="image" to="/guidance/depth_image"/>
<remap from="camera_info" to="/guidance/camera_info"/>
</node>

</launch>

EDIT:

when I run

rosrun depthimagetolaserscan depthimagetolaserscan image:=/guidance/depth_image

I get the following warning

[ WARN] [1470083789.716155946]: [image_transport] Topics '/guidance/depth_image' and '/guidance/camera_info' do not appear to be synchronized. In the last 10s:
    Image messages received:      100
    CameraInfo messages received: 100
    Synchronized pairs:           0

Any thoughts on how to make them synchronized is much appreciated.

Asked by Aswath on 2016-08-01 14:28:09 UTC

Comments

What node are you using to produce the /guidance/depth_image?

Asked by Humpelstilzchen on 2016-08-03 02:18:11 UTC

I am working on DJI's matrice 100 drone using their On-Board-SDK ros package and Guidance SDK ros package that publishes on the depth image and the camera info topics. depth image is being published on the topic, I checked.

To be exact its guidanceNodeCaliberation node in the guidance package.

Asked by Aswath on 2016-08-03 10:23:57 UTC

I am observing the same issue today.

Asked by hvpandya on 2016-08-09 19:02:42 UTC

Answers