This line is near the top.<div>   rospy.init_node('tf_turtle')</div><div><br><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 3:16 PM, Michael Koval <span dir="ltr"><<a href="mailto:koval.michael@gmail.com">koval.michael@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
            <div><span>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.</span></div><div><span><br></span></div>
<div><span>-Michael</span></div><div><div><div></div><div class="h5">
                <span></span>
                
                <p style="color:#a0a0a0">On Tuesday, June 7, 2011 at 3:04 PM, Ringo (Lester) Davis wrote:</p>
                </div></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div><div><div></div><div class="h5">in the tf and time tutorial there is a line<br>now = rospy.Time.now()<br>but it crashes every time I run it.<br>the error is<br>[listener-5] process has died [pid 6449, exit code 1].<br>
log files: /home/ringo/.ros/log/df877bf2-910c-11e0-bc06-080027911c3f/listener-5*.log<br><br>now = rospy.get_rostime()<br>crashes as well<br><br>now = rospy.Time(0)<br>works ok.<br>am I missing something?<br> Ringo<br></div>
</div>_______________________________________________<br>ros-users mailing list<br><a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br><a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div><br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>