personalrobotics / kinfu_ros

kinfu_ros is a version of kinfu_remake for generic ROS depth cameras
BSD 3-Clause "New" or "Revised" License
26 stars 14 forks source link

Use TUM data set as input #9

Open yyxr75 opened 4 years ago

yyxr75 commented 4 years ago

Hi, I tried rosbag play TUMdatset**.bag as input then modified the subscribe topic name of this project as: " remap from="/camera/depth/image_raw" to="/camera/depth/image"/" " remap from="/camera/rgb/image_rect_color" to="/camera/rgb/image_color"/"

then use rviz to subscribe raycasting_image and use a new node to save tsdf data. but raycasting_image was black and tsdf data contains only zeros. Any suggestion would help. Thank you. Screenshot from 2020-03-06 20-38-59 Screenshot from 2020-03-06 20-39-50

zsustc commented 4 years ago

@yyxr75 Hi, I want to do the same thing as you. For you problem, have you checked the published topics from your bag file are correct. I use rviz to check my published topics from rosbag.

I use ubuntu 16.04, ros-kinetic, and also use TUM's bag file".

After I run the command "rosrun kinfu_ros kinfu_node" and rosbag play test.bag The follwowing error shows on terminal invalid device function tsdf_volume.cu:38

Any help would be appreciated! Thanks!