[ros-users] questions about nodelets

Stuart Glaser sglaser at willowgarage.com
Wed Nov 10 18:18:16 UTC 2010


Hi Jack,

Adding an "exit" feature is ticketed, but not implemented yet:

https://code.ros.org/trac/ros-pkg/ticket/4431

-Stu

On Wed, Nov 10, 2010 at 5:52 AM, Jack O'Quin <jack.oquin at gmail.com> wrote:
> On Tue, Nov 9, 2010 at 11:46 PM, Josh Faust <jfaust at willowgarage.com> wrote:
>>
>> On Tue, Nov 9, 2010 at 9:15 PM, Jack O'Quin <jack.oquin at gmail.com> wrote:
>>>
>>> A follow-up question:
>>>
>>>  * What should onInit() do if it finds a fatal error on startup?
>>> (unable to contact device, etc.)
>>>
>>>  * Are there caught exceptions for those cases?
>>
>> Looks like the current implementation does not, but that seems like the
>> right thing to do.
>
> Is there a way for a single nodelet to shut itself down if some fatal
> condition occurs? (Either during onInit(), or later during operation.)
> --
>  joq
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



-- 
Stuart Glaser
sglaser -at- willowgarage -dot- com
www.willowgarage.com



More information about the ros-users mailing list