SoftBank Robotics documentation What's new in NAOqi 2.8?

ServiceManager

NAOqi Core - Overview | API


What it does

ServiceManager allows you to run and manage services installed by PackageManager.

How it works

In manifest.xml of packages you declare services.

The name of a service is uuid.name. uuid is the name of the package and name the name of the service in the manifest file.

Warning

For compatibility reasons you can use only name but it may conflicts.

You can set attribute autorun to true if you want that your service is launch automatically at beginning or after installation.

Note

If your service is an autorun service and it crashes it is restart by ServiceManager. But if it crashes more than 5 times during last 10 seconds, it is not restarted anymore.