Re: [ros-users] Non-blocking version of ros::init()?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Josh Faust
Date:  
To: ruben.smits, ros-users
Subject: Re: [ros-users] Non-blocking version of ros::init()?
init() shouldn't be blocking -- if it does it's a bug. It's designed this
way so you can call ros::master::check(). Creation of the first NodeHandle
or calling start() should be what's blocking.

Josh

On Sat, Sep 11, 2010 at 7:53 AM, Ruben Smits
<>wrote:

> Hi,
>
> I would like to know if there is a way to call ros::init and not block
> untill
> a ros::master is available but just return an error or the like if a
> ros::master is not available so that my code can continue.
>
> Ruben
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>