ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

cheses100's profile - activity

2018-10-15 15:45:05 -0600 received badge  Famous Question (source)
2018-10-15 15:45:05 -0600 received badge  Notable Question (source)
2018-10-15 15:45:05 -0600 received badge  Popular Question (source)
2017-03-16 14:34:58 -0600 received badge  Famous Question (source)
2016-06-05 19:59:17 -0600 received badge  Notable Question (source)
2016-05-27 14:48:23 -0600 asked a question How to convert Rosbag Pointcloud2 to Mp4

So I have a bunch of rosbag files that only contain a pointcloud2 topic. I need to be play through these, and have accurate times for them, because I'm using them to tag data. This means the typical way of playing them back through rviz doesn't work for what I need. I thought I had a solution which was to use the convert_pointcloud_to_image command, and output the image to a new stream, and then use rqt to record that stream. The problem is that this isn't playing with the real times that the video should have, or in other words, it has an inconsistent frames per second, which means the timestamps are meaningless. So what I'm trying to do now is extract images from this stream using the image_view extract_images command, and the pass those images through mencoder to convert them to a video. The problem I'm now having is that my original rosbag file says it has 16793 messages, which means I need at least that many images to be created if I'm not mistaken; however, when I run the extract_images command on the converted stream, no matter what I put in the fps parameter, it still only produces somewhere on the range of 5000 images, and I'm not sure why. Does anyone know what I'm doing wrong here perhaps? Is there a better way to do what I'm trying to achieve?

2016-05-19 19:46:10 -0600 received badge  Popular Question (source)
2016-05-19 13:04:17 -0600 commented answer How to playback Rosbag pointcloud2 files

Alright so I got it working. In case anyone else has this same issue what I had to do was first run the convert_pointcloud_to_image command and then load /camera/depth/cloud_image into rqt_bag

2016-05-19 08:59:07 -0600 commented answer How to playback Rosbag pointcloud2 files

I tired using that but since all I have access to is camera/depth_registered/points, it only gives me the option to view it as raw and as a plot. Is there some way I could make it show me the image/video too?

2016-05-19 08:58:48 -0600 answered a question How to playback Rosbag pointcloud2 files

I tired using that but since all I have access to is camera/depth_registered/points, it only gives me the option to view it as raw and as a plot. Is there some way I could make it show me the image/video too?

2016-05-18 13:23:47 -0600 asked a question How to playback Rosbag pointcloud2 files

Hi, I'm currently trying to playback a rosbag file made with pointcloud2, and I can do it with the rviz software, but for my purposes, I need to be able to go back and forth in the video (like you would in a media player with a regular video) , not just in one direction. Is there any way to do this?