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