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

setTransform return unhandled

asked 2013-12-04 07:36:49 -0500

robotiqsguy gravatar image

updated 2013-12-04 07:47:36 -0500

In tf2_ros/src/transform_listener.cpp line 123 in TransformListener::subscription_callback_impl(...) the call buffer_.setTransform returns a boolean. If I've read things right it appears like that the return value should be checked, and handled in some way (error message if false??)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-07 09:36:32 -0500

tfoote gravatar image

In general it's very unlikely to happen and there's not much else to do about it if it fails.

The only thing I could see is to add a debug output there if it fails. I'd merge a patch for that.

edit flag offensive delete link more


I think that it is reasonable to add debug output in there. If for some reason it does fail I think its better to know about it than not.

robotiqsguy gravatar image robotiqsguy  ( 2013-12-07 16:17:46 -0500 )edit

Question Tools

1 follower


Asked: 2013-12-04 07:36:49 -0500

Seen: 104 times

Last updated: Dec 07 '13