[ros-users] use_sim_time

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Ivan Dryanovski
日付:  
To: ros-users
題目: [ros-users] use_sim_time
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