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

Dejan Pangercic dejan.pangercic at gmail.com
Thu Jun 17 22:04:59 UTC 2010


Dear all,

I've noticed this very same case in multiple places (e.g. pcl, tf) in
ros latest install.
Could anyone maybe please explain what is it going on?

thx, D.

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
>
> 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
>
>



-- 
MSc. Dejan Pangercic
PhD Student/Researcher
Intelligent Autonomous Systems Group
Technische Universität München
Telephone: +49 (89) 289-26908
E-Mail: dejan.pangercic at cs.tum.edu
WWW: http://ias.cs.tum.edu/people/pangercic



More information about the ros-users mailing list