On Tue, Nov 9, 2010 at 11:46 PM, Josh Faust <
jfaust@willowgarage.com> wrote:
>
> On Tue, Nov 9, 2010 at 9:15 PM, Jack O'Quin <jack.oquin@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