Skip to content

RGB D Clustering

jane79 edited this page Aug 14, 2019 · 17 revisions

19/08/14

Download RealSense : https://github.com/IntelRealSense/realsense-ros

How to set environment with catkin : http://wiki.ros.org/ko/catkin/Tutorials/create_a_workspace

  • To use RealSense with ROS

    roscore #start roscore
    source ~/devel/setup.bash
    roslaunch realsense2_camera rs_camera.launch #start realsense
    cd catkin_ws/
    catkin_make
    rostopic type (type name)

  • To check type of topic

    rostopic echo (type name)

  • To check list of rostopic

    rostopic list

have to launch demo_pointcloud.launch

pointcloud2 type topic : /camera/depth/color/points
We changed topic in clustering.py(~/catkin_ws/src/point-cloud-clusters/src/sensor_stick/scripts) at line 107.
But error evoked because of 'xrange' in code, it would be version error of python.

Clone this wiki locally