ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

A G's profile - activity

2020-02-22 04:39:40 -0500 received badge  Taxonomist
2019-05-21 07:24:11 -0500 received badge  Famous Question (source)
2019-02-28 06:46:31 -0500 received badge  Notable Question (source)
2019-02-28 06:46:31 -0500 received badge  Popular Question (source)
2016-06-28 19:57:48 -0500 received badge  Supporter (source)
2016-06-20 02:52:07 -0500 asked a question How to handle the dropped messages in approximate time syncronizer.

I have a topic published with images from a camera and another topic with details of point cloud. When I plot these two topics, there is a time lag between the two plots. I am using approximate time sync to handle this time lag. But there is a drop in the frame rate as the approximate time sync algorithm is dropping some messages. Is there any method to handle this dropped messages?

Please help me to get a solution.

2016-05-18 21:28:54 -0500 commented answer How to playback Rosbag pointcloud2 files

please check http://wiki.ros.org/rqt_bag as you may need rqt_bag_plugins as well.

2016-05-18 20:57:52 -0500 answered a question How to playback Rosbag pointcloud2 files

I think you can use rqt. Please check http://wiki.ros.org/rqt

2016-05-18 19:54:48 -0500 received badge  Famous Question (source)
2016-05-18 02:27:32 -0500 commented answer how to sync two ROS topics by adjusting the time stamp

ok. Thanks mig!

2016-05-18 02:13:58 -0500 commented answer how to sync two ROS topics by adjusting the time stamp

@mig @Thomas D New issue-If I play rosbag with the loop option,the 1st loop will work,but during 2nd loop,callback function is not called.similar to the issue mentioned in the link http://answers.ros.org/question/10643... Please help me with your suggestions

2016-05-18 02:06:12 -0500 commented answer how to sync two ROS topics by adjusting the time stamp

Thanks @mig! Approximate time policy mentioned in your link worked. But I have to increment the timestamp of point cloud by 5sec using a subscriber node before passing it on to the TimeSynchronizer. Otherwise the callback function has never been called!

2016-05-18 00:34:38 -0500 received badge  Scholar (source)
2016-05-18 00:06:04 -0500 received badge  Enthusiast
2016-05-15 20:45:07 -0500 commented answer how to sync two ROS topics by adjusting the time stamp

An addition to the above comment: When I tried with the TimeSynchronizer and ApproximateTimePolicy method , the behavior was like the callback function was never called.

2016-05-15 20:32:55 -0500 received badge  Editor (source)
2016-05-14 20:25:55 -0500 commented question how to sync two ROS topics by adjusting the time stamp

Yes. I set use_sim_time to true and I am using --clock option while playing the rosbag.

2016-05-14 20:22:27 -0500 received badge  Notable Question (source)
2016-05-13 07:57:31 -0500 received badge  Popular Question (source)
2016-05-13 05:35:12 -0500 commented answer how to sync two ROS topics by adjusting the time stamp

Thanks, mig. I tried the above mentioned option. But it didn't work. Also i found a similar issue in the link mentioned below: http://answers.ros.org/question/14635... I even tried with approximate time policy mentioned in the above link.

2016-05-13 03:54:14 -0500 asked a question how to sync two ROS topics by adjusting the time stamp

Actual Issue: I have a topic published with images from a camera and another topic with details of point cloud. When I plot these two topics, there is a time lag between the two plots. Is there any method to synchronize this time lag by adjusting the time stamp of point cloud message?

I am using rosbag play for the above mentioned purpose.

Re-creating the Scenario I tried to simulate the above scenario using the below mentioned points: i. Created a subscriber node which subscribe to the topic(/point_cloud) with point cloud data. ii. Inside the callback function, I copied the message to a new pointer variable of the same type (sensor_msgs::PointCloud2) and incremented the timestamp by 3sec (The debug print shows that the timestamp has been successfully updated). iii. Then I published the modified point cloud data in a new topic(/point_cloud_new). iv. Created two instances of rviz which subscribes to the two topics, /point_cloud and /point_cloud_new respectively. v. Since the timestamp of /point_cloud_new was incremented by 3sec, I expected a 3sec delay between the two plots in the rviz. But it is not happening.

Since I am new to ROS, I am not sure whether it is the correct method to approach this issue. Please comment on the actual issue and the scenario re-created.

Please help me to sort out this issue.