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

VascoAC's profile - activity

2016-08-23 14:51:49 -0500 received badge  Famous Question (source)
2016-08-02 18:38:11 -0500 received badge  Famous Question (source)
2016-02-26 17:05:34 -0500 received badge  Notable Question (source)
2016-02-26 17:05:34 -0500 received badge  Popular Question (source)
2016-02-11 08:20:16 -0500 received badge  Notable Question (source)
2015-11-27 08:40:14 -0500 asked a question Getting the error :"terminate called after throwing an instance of 'tf2::ExtrapolationException' what(): Lookup would require extrapolation into the future. "

I'm trying to convert a laserscan into a point cloud. I have used this code : http://answers.ros.org/question/11232... .

Now, when I play the bag, I run the tf static_transform_publisher and I run the mentioned code, I get this error:

terminate called after throwing an instance of 'tf2::ExtrapolationException' what(): Lookup would require extrapolation into the future. Requested time 1448633914.965443600 but the latest data is at time 1448633914.954737805, when looking up transform from frame [laser] to frame [base_link]

The bag contains only the scan topic from the laser, the static_transform_publisher publishes the transform between the laser frame and the base frame. What am I doing wrong?

Thanks in advance!

2015-11-27 08:19:14 -0500 commented question Laser scan to point cloud

@Loneflyer I've already corrected that mistake. Now when I play my bag file I get the error: terminate called after throwing an instance of 'tf2::ExtrapolationException' what(): Lookup would require extrapolation into the future. Requested time 1448633914.965443600 but the latest data is at time

2015-11-24 05:48:47 -0500 received badge  Enthusiast
2015-11-24 04:49:11 -0500 received badge  Popular Question (source)
2015-11-23 07:12:14 -0500 commented question Laser scan to point cloud

@Loneflyer I get 2 frame id's : from base_laser to base_link

2015-11-22 15:16:15 -0500 asked a question Laser scan to point cloud

Hi everyone, I'm fairly new to ROS and I've successfully recorded a rosbag with just a laser scan. I'm able to view it in RVIZ and now I'm trying to transform the scan into a point cloud. I've also a tf_broadcaster and a tf_listener. I'm playing the bag (that has the scan), I'm running both the tf_broadcaster and tf_listener, and I've built the code from here http://answers.ros.org/question/11232... , but I'm not able to obtain the point cloud. When I run the bag, the node that transform the laser scans into point cloud aborts. And I get this message:

terminate called after throwing an instance of 'tf2::LookupException' what(): "laser" passed to lookupTransform argument source_frame does not exist. Aborted (core dumped)

Thanks in advance!