[ros-users] TimeNotInitializedException while creating tf.TransformListener in python

Antons Rebguns arebgun at gmail.com
Wed Jun 9 05:57:00 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken,

When are you planning to push changes back into latest? After cturtle is released?

Anton

On 06/08/2010 10:53 PM, Ken Conley wrote:
> The problem will be fixed in the most recent release of geometry, *but*
> you need to switch from latest to cturtle. We are switching over our
> development to cturtle, which we have just branched from latest in order
> to stabilize development. The official announcement for testing our
> alpha release of cturtle will likely come tomorrow, but you can access
> it (including debs) by substituting 'cturtle' for 'boxturtle' in any of
> the installation instructions. This alpha version of cturtle comes with
> the same warnings and caveats we apply to latest: use at your own risk,
> as problems like the one you reported are likely to exist.
> 
>  - Ken
> 
> On Tue, Jun 8, 2010 at 10:45 PM, Antons Rebguns <arebgun at gmail.com
> <mailto:arebgun at gmail.com>> wrote:
> 
> Hi folks,
> 
> I am running latest ROS and have a strange problem that shows up
> when running this little snippet of code:
> 
> #! /usr/bin/env python
> 
> import roslib; roslib.load_manifest('wubble_actions')
> import rospy
> import tf
> 
> if __name__ == '__main__':
>    rospy.init_node('tf_test', anonymous=True)
>    tf = tf.TransformListener()
>    rospy.spin()
> 
> After running this node I get the following error:
> 
> terminate called after throwing an instance of
> 'ros::TimeNotInitializedException'
>  what():  Cannot use ros::Time before calling ros::init
> [test_tf-11] process has died [pid 15907, exit code -6].
> log files:
> /home/anton/.ros/log/6e6c07b8-7389-11df-9736-0026b0e3798c/test_tf-11*.log
> 
> Does anybody have an idea what might be wrong here?
> 
> Thanks,
> Anton
_______________________________________________
ros-users mailing list
ros-users at code.ros.org <mailto: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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwPLSwACgkQ1B2I24nMQmpshgCfdFOuLwqrS1XajkZmGoyQwBso
ECEAoI2lR0bTsjhLbSeHbyEA/U9xvHYl
=rMQX
-----END PGP SIGNATURE-----



More information about the ros-users mailing list