[ros-users] tf and time tutorial
koval.michael at gmail.com
Tue Jun 7 19:16:49 UTC 2011
It sounds like you may be calling rospy.Time.now() before rospy.init_node(). Most of ROS's API calls will not function unless you have initialized your node first.
On Tuesday, June 7, 2011 at 3:04 PM, Ringo (Lester) Davis wrote:
> in the tf and time tutorial there is a line
> now = rospy.Time.now()
> but it crashes every time I run it.
> the error is
> [listener-5] process has died [pid 6449, exit code 1].
> log files: /home/ringo/.ros/log/df877bf2-910c-11e0-bc06-080027911c3f/listener-5*.log
> now = rospy.get_rostime()
> crashes as well
> now = rospy.Time(0)
> works ok.
> am I missing something?
> ros-users mailing list
> ros-users at code.ros.org (mailto:ros-users at code.ros.org)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ros-users