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@gmail.com> wrote:
> 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
> _______________________________________________
> ros-users mailing list
> ros-users@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
--
Stuart Glaser
sglaser -at- willowgarage -dot- com
www.willowgarage.com