Problem with tutorial " Using stamped datatypes with tf2::MessageFilter"

asked 2020-09-16 08:36:57 -0500

cristian_wp gravatar image

updated 2022-08-07 08:51:52 -0500

lucasw gravatar image

Hi, I am trying to learn how to use tf2 with the tutorial but I have some problems with one. I am working with Ubuntu 18.04 LTS with ROS Melodic.

I have a problem with this one: http://wiki.ros.org/tf2/Tutorials/Usi... (Same problem with C++ an Python)

I have undestand that I have to wait when transforms are available, but I have wait 30min and nothings happen...

SUMMARY
========

PARAMETERS

 * /rosdistro: melodic
 * /rosversion: 1.14.7
 * /scale_angular: 2.0
 * /scale_linear: 2.0
 * /turtle1_tf2_broadcaster/turtle: turtle1
 * /turtle2_tf2_broadcaster/turtle: turtle2

NODES
  /
    sim (turtlesim/turtlesim_node)
    teleop (turtlesim/turtle_teleop_key)
    turtle1_tf2_broadcaster (turtle_tf2/turtle_tf2_broadcaster.py)
    turtle2_tf2_broadcaster (turtle_tf2/turtle_tf2_broadcaster.py)
    turtle_pointer (turtle_tf2/turtle_tf2_listener.py)
    turtle_pose_stamped_publisher (turtle_tf2/turtle_tf2_message_broadcaster.py)

auto-starting new master
process[master]: started with pid [11687]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to bd866ec2-f819-11ea-ae4a-98af65c0bde5
process[rosout-1]: started with pid [11698]
started core service [/rosout]
process[sim-2]: started with pid [11702]
process[teleop-3]: started with pid [11706]
process[turtle1_tf2_broadcaster-4]: started with pid [11707]
Reading from keyboard
---------------------------
Use arrow keys to move the turtle. 'q' to quit.
process[turtle2_tf2_broadcaster-5]: started with pid [11714]
process[turtle_pointer-6]: started with pid [11715]
process[turtle_pose_stamped_publisher-7]: started with pid [11716]

These are my topics:

~/catkin_ws$ rostopic list
/rosout
/rosout_agg
/tf
/tf_static
/turtle1/cmd_vel
/turtle1/color_sensor
/turtle1/pose
/turtle2/cmd_vel
/turtle2/color_sensor
/turtle2/pose
/turtle3/cmd_vel
/turtle3/color_sensor
/turtle3/pose
/turtle_point_stamped

Can someone please help me? Thank you in advance! :)

edit retag flag offensive close merge delete