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

Josh Faust jfaust at willowgarage.com
Sat Sep 11 18:03:48 UTC 2010


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
<ruben.smits at mech.kuleuven.be>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
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100911/27bf8634/attachment-0003.html>


More information about the ros-users mailing list