Skip to main content

All Questions

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

Duplicate tf messages with robot_state_publisher and coded tfs

From what I understand, robot_state_publisher reads the urdf and publishes the default frames to the ...
Yato's user avatar
  • 88
0 votes
1 answer
336 views

Transform between odom and base_link is faster than in real life [Solved]

i have a differential drive mobile robot and i want to add him the navigation and the localization satck. Currently it's controlled by a teleop. But when i look the transform between odom and ...
Josselin's user avatar
0 votes
1 answer
72 views

TF get the time of last transform

Hello! I want to check if the tf2_ros::Buffer received a valid transform from A to B in the last x seconds (to throw an error in case of time out). So something like ...
user avatar
0 votes
1 answer
64 views

tf not found using python in ros noetic

Hi I have followed the tutorial here to find a transformation between 2 frames using Python in ROS Noetic, but I can't get it even though I'm sure the tf exists because I can find it in the terminal. ...
user avatar
0 votes
1 answer
63 views

creating the map with only Lidar

I am using, ROS Noetic + 20.04. Lidar hardware: rplidar_a3m1 I installed slam_toolbox ...
user avatar
0 votes
2 answers
208 views

[ROS2] tf2 broadcaster

Hello, I'm currently working on a differential drive robot with ROS2 and encountering some errors with a rclcpp transform broadcaster. I hope i can get some answers as to what I am doing wrong. I'm ...
user avatar
0 votes
2 answers
59 views

[ROS2]Are there any examples of tf2 broadcast or listener

Hello comrades, I`m just trying to get odometry from t265 from realsense2_lib examples. After compiling and running this code below, I get that target frame does not exist. Thanks in advance. ...
user avatar
0 votes
1 answer
4 views

Support for ROS2 Dashing along with python3

I have built the geometry library for my project using colcon for ROS2 Dashing and Python 3 and sourced it using ...
user avatar
0 votes
1 answer
134 views

Could not find waitForTransform() function in TF2 package of ROS2

We are working on laser_filters package porting to ROS2 in that waitForTransform() method is used but I could not find similar method in ROS2 crystal/bouncy. Originally posted by vandanamandlik on ...
user avatar
0 votes
1 answer
17 views

How to migrate tf data types such as Quaternion, Vector3, Transform to tf2?

There is not much mentioned about tf2 datatypes on tf2_ros documentation at http://docs.ros.org/latest/api/tf2_ros/html/c++/. While comparing to http://docs.ros.org/latest/api/tf/html/c++/, we don't ...
user avatar
0 votes
1 answer
11 views

tf2 Documentation Needs Work

As we get ramped up on our own ROS environment, we've found the tf2 implementation extremely hard to understand. So this is a bit of a plea for folks who understand it well, to improve the tutorials, ...
user avatar
0 votes
1 answer
47 views

How can I access all static TF2 transforms?

I have two nodes who each publish a single static TF2 transform (each with a different child frame) via tf2_ros.StaticTransformBroadcaster.sendTransform upon startup. These are essentially ...
user avatar
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) ...
DLu's user avatar
  • 4,294
0 votes
2 answers
231 views

tf2_ros buffer transform PointStamped?

I'd like to transform a PointStamped using a python tf2_ros.Buffer, but so far I'm only getting type exceptions. The following ...
Lucas Walter's user avatar
  • 3,397
0 votes
1 answer
30 views

TF Listener for static transforms exclusively

Is there a way to listen to only the static transforms in a TF tree (e.g. base_link --> base_laser_link) without instantiating an entire ...
user avatar
0 votes
1 answer
11 views

Is there a max number of edges allowed between two frames in a TF tree?

I have a pose graph of about 2000 nodes published as static transforms with tf2_ros::StaticTransformBroadcaster. Currently, the poses are chained together as a path,...
Jacob Perron's user avatar
0 votes
1 answer
19 views

tf2 stamped datatypes tutorial fails to build

I'm trying to walk through the tf2 tutorials following the instructions here: http://wiki.ros.org/tf2/Tutorials/Using%20stamped%20datatypes%20with%20tf2%3A%3AMessageFilter Trying to build the source ...
user avatar
0 votes
1 answer
12 views

How to substitute TF2 prefix

Hi, I have seen that tf_prefix support is deprecated in TF2. What is the proper way now of having the same functionality? That is, I have two robots, robot1 and robot2, and I want the TF frames to ...
user avatar
0 votes
1 answer
51 views

tf2 tutorial writing broadcaster -- compile error

Hi, I'm following the tutorial at http://wiki.ros.org/tf2/Tutorials/Writing%20a%20tf2%20broadcaster%20%28C%2B%2B%29 I copy-and-pasted the code, made changes to CMakeLists.txt, but I see this error ...
user avatar
0 votes
1 answer
47 views

tf2, thread, setUsingDedicatedThread, timeout

I'm migrating part of my code to tf2. Big chunk of my code is library that can run online or offline, so I pass at construction time a reference to a tf2_ros::Buffer object. It is then used to lookup ...
user avatar
0 votes
1 answer
55 views

Again a Migration Question From TF to TF2

Hi all, at first, I am sorry if this question might be a duplicate, however I didn't find a clear answer while searching this forum. So I decided to migrate my code from TF to TF2. I encountered lots ...
user avatar
0 votes
1 answer
73 views

tf2 buffer_server timeout and buffer size

I'm starting the buffer_server with rosrun tf2_ros buffer_server I've seen in its source code on github that one can specify the buffer size through the parameter ...
user avatar
0 votes
1 answer
16 views

Is there a good tf2 tutorial?

Hi there, Trying to use tf2 with hydro here, however I just can't get the tutorials to work. For the broadcaster, the C++ tutorial is missing. For the listener, there is a structure that seems to be ...
user avatar
0 votes
2 answers
132 views

tf transformPoint() equivalent on tf2?

It used to be that, with tf, we would use a TransformListener and its transformDATA() methods, e.g. ...
user avatar
0 votes
1 answer
2 views

tf to tf2 SendTransform type error

I am working on some forked code that is setup for tf and on my BeagleBone Black I only have tf2. I have most of the code working but it is erroring out on sendtransform with TypeError: sendTransform()...
user avatar