[ros-users] tf and time tutorial

Ringo (Lester) Davis ringo.davis at gmail.com
Tue Jun 7 19:22:05 UTC 2011


This line is near the top.
   rospy.init_node('tf_turtle')


On Tue, Jun 7, 2011 at 3:16 PM, Michael Koval <koval.michael at gmail.com>wrote:

> 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.
>
> -Michael
>
> 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?
> Ringo
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110607/31c5b6fb/attachment-0002.html>


More information about the ros-users mailing list