Closed randomcuriouscode closed 4 years ago
I met the same problem that only point cloud show on the rviz when run the launch file. By remapping the /spencer/sensors/rgbd_front_top/depth/image_rect
to /spencer/sensors/rgbd_front_top/depth_registered/hw_registered/image_rect
I finally solve the problem. Upper Body Detection image show the information and detect successfully.
Thank you very much
The following snippet fixes the remapping for open ni 1, allowing for the rectified depth image to be caught by spencer and allowing for detections to be published/visible in rviz when launched with the
use_openni1:=true
flag.Tested with a Kinect v1 on the PrimeSense(SensorKinect) middleware on OpenNI 1.
Specifically, the command to launch was:
roslaunch spencer_people_tracking_launch tracking_single_rgbd_sensor.launch height_above_ground:=1.6 use_openni1:=true
This fixes the following issue that was closed prematurely: https://github.com/spencer-project/spencer_people_tracking/issues/50