ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I have a feeling that your nodelet_manager is not up thus it is not generating any scan data. Nevertheless, I used following simple launch file with RealSense D435 camera, and found it working:

<launch>
  <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen" />
  <node pkg="nodelet" type="nodelet" name="pointcloud_to_laserscan" args="load pointcloud_to_laserscan/pointcloud_to_laserscan_nodelet my_nodelet_manager">
    <remap from="cloud_in" to="/camera/depth/color/points" />
  </node>
</launch>

Pay attention to the <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen" /> line. Please try it, and let us know if the problem persists.

  1. First, you need to install the pointcloud_to_laserscan package. I recommend installing pre-built binaries using apt as shown below:

    sudo apt install ros-kinetic-pointcloud-to-laserscan
    
    1. I have a feeling that your nodelet_manager is not up thus it is not generating any scan data. Nevertheless, Therefore, I used following simple launch file with the RealSense D435 camera, and found it working:

      <launch> <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen" /> output="screen"/> <node pkg="nodelet" type="nodelet" name="pointcloud_to_laserscan" args="load pointcloud_to_laserscan/pointcloud_to_laserscan_nodelet my_nodelet_manager"> <remap from="cloud_in" to="/camera/depth/color/points" /> to="/camera/depth/color/points"/> </node> </launch>

      </launch>

    Pay attention to the <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen" /> line. Please try it, and let us know if the problem persists.line.

  1. First, you need to install the pointcloud_to_laserscan package. I recommend installing pre-built binaries using apt as shown below:

    sudo apt install ros-kinetic-pointcloud-to-laserscan
    
    1. I have a feeling that your nodelet_manager is not up thus it is not generating any scan data. Therefore, I used following simple launch file with the RealSense D435 camera, and found it working:

      <launch> <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen"/> <node pkg="nodelet" type="nodelet" name="pointcloud_to_laserscan" args="load pointcloud_to_laserscan/pointcloud_to_laserscan_nodelet my_nodelet_manager"> <remap from="cloud_in" to="/camera/depth/color/points"/> </node> </launch>

Pay attention to the <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen" /> line.

  1. First, you need to install the pointcloud_to_laserscan package. I recommend installing pre-built binaries using apt as shown below:

    sudo apt install ros-kinetic-pointcloud-to-laserscan
    
    1. I have a feeling that your nodelet_manager is not up thus it is not generating any scan data. Therefore, I used following simple launch file with the RealSense D435 camera, and found it working:

      <launch>
         <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen"/>
      output="screen" />
          <node pkg="nodelet" type="nodelet" name="pointcloud_to_laserscan" args="load pointcloud_to_laserscan/pointcloud_to_laserscan_nodelet my_nodelet_manager">
           <remap from="cloud_in" to="/camera/depth/color/points"/>
      to="/camera/depth/color/points" />
          </node>
      </launch>

</launch>

Pay attention to the <node pkg="nodelet" type="nodelet" name="my_nodelet_manager" args="manager" output="screen" /> line.