All Questions
19 questions
0
votes
1
answer
1
view
rospy tf get frame_id of trans, rot
Hey there,
Assume I have three tf's:
1): marker_1 relative to world
2): marker_2 relative to world
3): marker_3 relative to world
Now I want to get the marker name that is closest to marker_1. Is ...
0
votes
1
answer
22
views
tf::Quaternion getAngle() eqivalent for rospy
Is there an equivalent to the getAngle() method of C++ interface of tf in Python version too?
Originally posted by smihael on ROS Answers with karma: 45 on 2018-09-10
Post score: 0
0
votes
1
answer
16
views
TransformListener has unconnected trees
I have multiple tf frames which some of are dynamically published by the robot_state_publisher and some are static transformations.
When using the tf.TransformListener i get the error message that ...
0
votes
1
answer
25
views
tf transform tutorial issue (past extrapolation)
I'm working through the python tf tutorial and am having an issue with an extrapolation into the past. Here's the section:
So let's go back to where we ended in ...
0
votes
1
answer
19
views
How to resolve waitForTransform timeout exception regardless of Duration value in ROS Kinetic (python)?
I have gone through similar questions on this website, but none have helped resolve the problem for me.
...
0
votes
2
answers
3
views
import tf2/StaticTransformPublisher in Python
I'm following this tutorial[1] and having trouble with importing.
[1] http://wiki.ros.org/tf2/Tutorials/Writing%20a%20tf2%20static%20broadcaster%20(Python)
...
0
votes
1
answer
7
views
delete TransformListener object in python to release computational resource
Hello! Recently I notice that, after I create a TransformListener object in a class in python, e.g.:
self.tf = TransformListener(),
the created tf object gets stuck in the memory, even I try deleting ...
0
votes
1
answer
16
views
rospy tf waitForTransform not waiting
I keep getting lookup extrapolation errors when trying to use tf, even when using listener.waitForTransform. For example I get:
Exception: Lookup would require extrapolation into the future. ...
0
votes
2
answers
67
views
From transform to pose?
Hi all,
I'm very new to Python and the TF package. Given a transform, I am trying to calculate its pose. How would I do that?
I've seen this link and saw the code
...
0
votes
1
answer
8
views
[rospy] keep all tf frames with short validity
Hello,
I need to save the poses of several objects and then perform transformations between them (for instance what was the coordinates of the pen with respect to the table at time t). The fact is ...
0
votes
1
answer
11
views
Undefined reference with tf and rospy
Hi All,
I am having a problem with an undefined reference when attempting to use tf with rospy.
The error message is:
...
0
votes
1
answer
113
views
Multiply two tf transforms converted to 4x4 matrices in python?
I want to do something along the lines of:
...
0
votes
1
answer
2
views
rospy / SMACH vs. TF
Hello,
I'm having few SMACH states in different files and would like to use TF in some of them. There will be probably even some concurrent states so, I created helper class tf_utils (helper_methods....
0
votes
1
answer
6
views
Set TF_CACHE_TIME with rospy
Hello!
I'm using a robotic (and ROSified!) wheelchair. One of the tasks I have to do is to transform a point from /base_link to ...
0
votes
1
answer
105
views
tf.getYaw() in python?
Well I feel very foolish to ask this question, but I am looking for the equivalent of tf::getYaw() that exists in the C++ API for Python. I've tried looking in the API docs and using the dir() and ...
0
votes
1
answer
38
views
quaternions with python
I have recently started using rospy after being working with roscpp. I wanted to reproduce this piece of C++ code:
...
0
votes
1
answer
14
views
service exception using tf listener in rospy
I get a service exception whenever I call lookupTransform for tf.TransformListner.
...
0
votes
1
answer
18
views
TypeError for built-in operation
In working with tf.Transformer, I've run into this error many times.
TypeError: bad argument type for built-in operation
The most frustrating part of getting this ...
0
votes
4
answers
40
views
waitForTransform use_sim_time python
This is basically the same question as was asked here, but I am seeing the exact same behavior and haven't found a solution.
I am playing back a bag, using --clock, and setting use_sim_time correctly.
...