[ros-users] use_sim_time

Eric Perko wisesage5001 at gmail.com
Wed May 5 20:40:08 UTC 2010


For each of those setups, what are the results of 'rosrun tf tf_echo
<frame1> <frame2>' , where frame1 and frame2 are the pair of frames
that you are using the static_transform_publisher for? If the
static_transform_publisher is not responsible for the entire transform
from /laser to /odom, you may have an issue elsewhere in your tf tree.

- Eric

On Wed, May 5, 2010 at 4:09 PM, Ivan Dryanovski
<ivan.dryanovski at gmail.com> wrote:
> Hi all,
> I'm trying to play back sensor data using rosbag. I a launch file that
> starts several have several nodes which subscribe to the data and use
> it. Among the nodes launched by the launch file is a static transform
> publisher. I have tried two different things, which both fail:
> 1. Executing this sequence:
>  - set use_sim_time to true
>  - launch the .launch file
>  - play the data using rosbag
> Results in:
> [ WARN] [1273089559.789342235]: You requested a transform that is
> 1117.125 seconds in the past,
> but the tf buffer only has a history of 9.901 seconds.
>  When trying to transform between /laser and /odom.
> 2. Executing this sequence:
>  - set use_sim_time to false
>  - launch the .launch file
>  - play the data using rosbag
> Results in: the static transform publisher doesn't publish anything
> (or at least, I don't see a tf in either rviz or "rostopic echo tf").
> Moreover, all the nodes that I wrote do not enter their spin() loop
> that normally starts when I start the package.
> Any help would be welcome.
> Thanks,
> Ivan Dryanovski
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users

More information about the ros-users mailing list