intel / ros_object_analytics

Apache License 2.0
182 stars 57 forks source link

set point cloud to input but got nothing #55

Open lucasjinreal opened 5 years ago

lucasjinreal commented 5 years ago

Just set this:

  <arg name="input_points"                  default="/camera/depth/color/points"

this points comes from realsense, but the package has no response...

BTW, I suppose this package just feed points into it, and split out into image and depth, then do track and detect. But you does not know intrinsic how did you do detect and track? More over, the depth and image are not quite aligned in raw data in realsense, so I think you didn't considered accuracy in convert 2D detection into 3D space?

momosweetlp commented 5 years ago

Hello, I met the same problem as yours.And i'm glad i've been successfully solved it. You should run command : roslaunch realsense2_camera rs_rgbd.launch instead of roslaunch realsense2_camera rs_camera.launch And in the file rs_rgbd.launch,please set parameter: "enable_pointcloud" :true In the file analytics_opencl_caffe.launch: set: <arg name="input_points" default="/camera/depth_registered/points"