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

Stephane Caron's profile - activity

2017-07-14 16:31:14 -0500 received badge  Famous Question (source)
2016-05-22 05:40:18 -0500 received badge  Notable Question (source)
2016-03-25 09:09:34 -0500 received badge  Famous Question (source)
2015-12-21 02:59:15 -0500 received badge  Famous Question (source)
2015-08-04 04:42:08 -0500 received badge  Notable Question (source)
2015-06-22 07:57:09 -0500 received badge  Notable Question (source)
2015-06-04 10:41:42 -0500 received badge  Popular Question (source)
2015-06-03 16:03:08 -0500 asked a question Best practice: tf::Listener should be a global or local variable?

Hi there,

I'm wondering: do tf::Listener or tf::Broadcaster variables take time to fire-up (e.g. because of topic subscription)?

It would be more convenient for me to declare a new tf::Listener whenever I need to lookup a tf (i.e. as a local variable), but I wonder if there are some performance issues in doing this.

2015-06-02 03:28:57 -0500 received badge  Popular Question (source)
2015-04-24 18:08:06 -0500 commented answer Does tf.lookupTransform (python) take time to fire up?

Thanks, I will follow this.

2015-04-22 00:49:13 -0500 asked a question Does tf.lookupTransform (python) take time to fire up?

Hi there,

I have an issue I don't understand with tf in Python. Consider this code:

import rospy, tf
rospy.init_node('test')
l = tf.TransformListener()
# rospy.sleep(0.5)
# l.waitForTransform('BODY', 'manipulation_marker', rospy.Time(0), rospy.Time(10))
print l.lookupTransform('BODY', 'manipulation_marker', rospy.Time(0))

When I run it, I get a LookupException:

LookupException: "BODY" passed to lookupTransform argument target_frame does not exist.

But if I uncomment the sleep() before the lookupTransform, it works fine.

So, I was thinking I could use the waitForTransform() function to replace this sleep() and get the transform as soon as it is available. (Next commented line.) But it doesn't work either and I get a generic Exception() with no error message!

To give you more information about my TF, here is the output from tf_monitor:

RESULTS: for BODY to manipulation_marker
Chain is: * -> * -> * -> BODY
Net delay     avg = 0.0424558: max = 0.0998758

All Broadcasters:
Node: unknown_publisher 111.186 Hz, Average Delay: -0.221831 Max Delay: 0.0471964

What should I do here to get the transform as soon as it is available?

2015-03-20 06:56:14 -0500 received badge  Scholar (source)
2015-03-20 06:56:14 -0500 received badge  Popular Question (source)
2015-03-20 03:46:04 -0500 asked a question Debugging a bad topic subscription

Hi,

I just solve a situation I don't know how to debug. When subscribing to a topic, the prototype of my callback function was

void my_callback(const std_msgs::String::ConstPtr& msg);

instead of

void my_callback(const control_msgs::JointControllerState::ConstPtr& msg);

However, the code compiled fine and no error was reported at runtime. For future use, where should I look to get more debug info on topic subscriptions?

2015-03-19 07:39:12 -0500 commented question collada_urdf error

Same problem here on a fresh install of ROS indigo, system is Ubuntu 14.04.2.

2015-03-19 07:39:12 -0500 commented question conversion from urdf to dae fails while attempting to install ikfast for ur5

Same problem here on a fresh install of ROS Indigo, Ubuntu 14.04.2...

2015-03-19 06:24:38 -0500 received badge  Supporter (source)