Skip to main content

Questions tagged [transform-listener]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

waitForTransform kills node after changing static tf

I am new to programming and robotics and need help solving a problem i just can't solve. I am working on an art project with three ROS robots built by Wheeltec. (https://community.robotshop.com/robots/...
Ryuneke's user avatar
  • 21
0 votes
1 answer
8 views

Get correct tf from robot_state_publisher

Question: How do I get the correct tf from robot_state_publisher? Details and background: I have a urdf file (snippet shown below) describing a joint: ...
user avatar
0 votes
2 answers
52 views

tf::TransformListener Time Lookup and Transform Frame Error

Hello everyone. I have been tyring to meddle with tf::TransformListiner and see how it works. but every time I try to run my example, I get : ...
user avatar
0 votes
1 answer
205 views

Waiting for TransformListener with ROS2 and Python?

I'm trying to build code that listens to transforms between two frames. About 50% of the time that I run the following code I get an error: "tf2.LookupException: "front_bumper" passed ...
user avatar
0 votes
1 answer
435 views

ImportError: dynamic module does not define module export function (PyInit__tf2)

hi, i am trying to run a package built from source on ros melodic. when i run the command i end up with this error: ...
user avatar
0 votes
1 answer
4 views

bot stops working on changing tf listener 'target_frame' to '/odom', works fine for other frames

I have written a simple P controller in the callback of my 'scan_subscriber' Subscriber. It is working as intended. I also wanted to transform the laser scan data from '/base_laser' frame to '/odom' ...
skpro19's user avatar
  • 314
0 votes
1 answer
3 views

Can TransformListener get the transformation of an indirect child

I am using a tf::TransformListener listener to get the transformation between two frame in my c++ program. My tf Tree is as follow Parent -> Child1 ->Child2 . I am using the following line to ...
user avatar
0 votes
1 answer
8 views

Is it safe and efficient for several threads to share a single tf::TransformListener object?

I am developing a multi-threaded ROS (kinetic/melodic) node that will rely on tf::TransformListener to wait until it is possible to perform transformations (using <...
user avatar
0 votes
1 answer
8 views

How to use transformListener to lookup very early Transform?

Now I have a .bag file,which contains some transform. Q:I want use tf.listener.lookupTransform() to get transform,but it throws ...
user avatar
0 votes
1 answer
27 views

lookupTransform is throwing error

I have a static transformation, which I am trying to fetch using lookupTransform. However, it is not working and throwing following error- "base" passed ...
ravi's user avatar
  • 1,391
0 votes
1 answer
3 views

ROS Answers SE migration: 3D point cloud

pcl_assembler_client.py ...
user avatar
0 votes
1 answer
13 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. ...
user avatar
0 votes
3 answers
195 views

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

Hello together, I am new with ros tf's and already worked myself threw the tf tutorials. (I am using ros indigo) As my first test with tf's after the tutorial I wrote 2 small nodes. The first one is ...
user avatar
0 votes
1 answer
23 views

Why TransformListener initializiton giving an AttributeError?

I am trying to transform a point from a map frame to camera frame. But i was getting an AttributeError. I followed this api and wrote the following code. ...
user avatar
0 votes
1 answer
1 view

Changing TransformListener's transform

Hi, So I'm trying to change the transform that I'm getting from a transform listener, but it doesn't seem to change. When trying to set the values, they don't change. Here I'm declaring a const ...
user avatar
0 votes
2 answers
52 views

How to transform tf::Vector3 with tf::TransformListener::transformVector?

I am trying to convert a tf::Vector3 with tf::TransfomListener::transformVector(string("/base_link"), sourceV, targetV)...
user avatar
0 votes
1 answer
4 views

tf max_cache_time

Hi, The tf transform listener object constructor takes a value for the max_cache_time; say 10 seconds for instance.. tf::TransformListener tf(ros::Duration(10)); What is the use of this cache? And ...
user avatar
0 votes
2 answers
31 views

tf::TransformListener::transformPose [exception] target_frame does not exist

Hi, I am trying to transform geometry_msgs::PoseStamped in one frame to other. I am using tf::TransformListener::transformPose ...
user avatar
0 votes
3 answers
2 views

Is there an easy way to get the end effector name just from tf?

I have a node that queries move_group to get the end effector name, but uses move_group for nothing else. Ideally I would like to run this node without having to bring up move_group at all, and I don'...
user avatar
0 votes
1 answer
23 views

error for tf::TransformListener

/usr/bin/ld: CMakeFiles/linedetect.dir/src/linedetect.cpp.o: undefined reference to symbol 'tf::TransformListener::~TransformListener()' /usr/bin/ld: note: 'tf::TransformListener::~TransformListener()'...
user avatar
0 votes
1 answer
2 views

tf lookupTransform sigabrt

hi, i want to get the transformation between my /map and /robot_0/base_link. I am currentry trying it with: ...
user avatar
0 votes
2 answers
9 views

Why cant initialize tf2_ros::TransformListenter in hydro?

When I try to compile node with folowing lines (this is only a part of code): ...
Dr. Denis's user avatar
  • 588
0 votes
1 answer
6 views

skeliton joint angles from openni_tracker

I'm trying to read human joint angles using tf messages posted by openni_tracker. Tracker posts tf messages and it seems these are normally read with a tf::TransformListener object. I got this part to ...
user avatar
0 votes
1 answer
1 view

TransformListener Question

I think that this must be some sort of silly mistake on my part but.... I'm trying to use the following code. My transform tree (verified with command line tf and rviz) has /map -> /odom -> /...
user avatar
0 votes
1 answer
3 views

Reading the sequence number from a transform

Hi folks! I'd like to be able to use the sequence number from a transform that I am getting from a motion capture vrpn. I use this piece of code to read the transform: ...
user avatar
0 votes
2 answers
53 views

Transformation between two frames from unconnected trees

Hi: I want to transform a point from /map frame to /base_link. I used the following method but it didn't work out:- ...
user avatar
0 votes
1 answer
2 views

Eigen::eigen2_Transform3D and TF

Hi Guys, I am trying to use tf::TransformTFToEigen with a TF listener. I have both eigen2 and eigen3 installed. The error I get is "'eigen2_Transform3d' is not a member of Eigen". I was ...
user avatar
0 votes
2 answers
36 views

Calculating velocity from tf

When listening to transforms on tf, is there a way to ask specifically for the one before the latest one? And when you have received a transform, how do you query it for its timestamp? I have position ...
user avatar
0 votes
1 answer
1 view

How to define a tranform listener

I am using this code in order to relate the point cloud with the pose information. Also, the code found here looks like below: ...
user avatar
0 votes
1 answer
3 views

tfListener can't find frames

Hello everyone, in reference to a previous question, I wrote this simple urdf file: ...
user avatar
0 votes
1 answer
7 views

service exception using tf listener in rospy

I get a service exception whenever I call lookupTransform for tf.TransformListner. ...
user avatar