Record tf_static with rosbag
Hi all,
I'm trying to record all my topics into a bag, running rosbag record -a
. However, rosbag doesn't record the /tf_static
topic.
How can I arrange this?
Thanks
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi all,
I'm trying to record all my topics into a bag, running rosbag record -a
. However, rosbag doesn't record the /tf_static
topic.
How can I arrange this?
Thanks
I think rosbag only records topics that are actually publishing messages. From what I can tell, /tf_static is only used by new tf2 publishers, and very few packages currently make use of it.
I would verify that there are messages published on /tf_static before worrying that they're not being recorded.
If you do have a node publishing messages to /tf_static and they're not being recorded, that's probably a bug in rosbag.
You have to supply/ add a node robot_state_publisher which publishes the tf transformations at any instant of time
example :
<node pkg="robot_state_publisher" type="robot_state_publisher" name="robot_state_publisher">
<param name="publish_frequency" type="double" value="50.0" />
<param name="tf_prefix" value="$(arg multi_robot_name)"/>
Asked: 2014-06-29 17:58:53 -0600
Seen: 1,025 times
Last updated: Jan 03 '21
How to extract data from *.bag?
rosbag play & tf static_transform_publisher
Has there been progress for URDF transform jitter in RVIZ?
how to publish a topic from kinect in a node?
What topics are necessary to log for creating a SLAM comparison bag file?
slam_gmapping MappingFromLoggedData out of dual 32-bit range