[ros-users] Cturtle (SVN): static_transform_publisher does not start

Tully Foote tfoote at willowgarage.com
Thu Jun 17 22:30:50 UTC 2010


This has been ticketed and fixed in trunk.  A release will be coming
shortly. https://code.ros.org/trac/ros-pkg/ticket/4183

Tully

2010/6/17 von Wichert, Georg <Georg.Wichert at siemens.com>

>  Hi,
>
> static_transform_publisher on startup complains about the usage of
> ros::Time before a call to ros::start or the creation of the first node
> handle. A fix (maybe not the correct one?) that at least seems to solve the
> startup problem can be found below.
>
> Best,
>
> Georg
>
>
> Index: tf/src/static_transform_publisher.cpp
> ===================================================================
> --- tf/src/static_transform_publisher.cpp       (revision 30325)
> +++ tf/src/static_transform_publisher.cpp       (working copy)
> @@ -66,7 +66,8 @@
>  {
>    //Initialize ROS
>    ros::init(argc, argv,"static_transform_publisher",
> ros::init_options::AnonymousName);
> -
> +  ros::start();
> +
>    if(argc == 11)
>    {
>      ros::Duration sleeper(atof(argv[10])/1000.0);
>
>
> ---
>
>   Dr. Georg von Wichert
>
>   Siemens AG
>   Corporate Technology
>   Autonomous Systems
>
>   *80200* Munich
>
>   Fon: + 49 89 636 52819
>   Fax: + 49 89 636 41423
>
>   *http://www.ct.siemens.de* <http://www.ct.siemens.de>
>
> Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme;
> Vorstand: Peter Löscher, Vorsitzender; Wolfgang Dehen, Heinrich Hiesinger,
> Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y.
> Solmssen; Sitz der Gesellschaft: Berlin und München, Deutschland;
> Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684;
> WEEE-Reg.-Nr. DE 23691322
>
> Wichtiger Hinweis: Diese E-Mail und etwaige Anlagen enthalten
> firmenvertrauliche Informationen. Sollten Sie diese E-Mail irrtümlich
> erhalten haben, benachrichtigen Sie uns bitte durch Antwort-Mail und löschen
> Sie diese E-Mail nebst Anlagen von Ihrem System. Vielen Dank.
>
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
Tully Foote
Systems Engineer
Willow Garage, Inc.
tfoote at willowgarage.com
(650) 475-2827
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100617/20667e5b/attachment-0003.html>


More information about the ros-users mailing list