Re: [ros-users] Cturtle (SVN): static_transform_publisher do…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Tully Foote
Date:  
To: ros-users
Subject: Re: [ros-users] Cturtle (SVN): static_transform_publisher does not start
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 <>

> 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
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>



--
Tully Foote
Systems Engineer
Willow Garage, Inc.

(650) 475-2827