Note: This tutorial assumes that you have completed the previous tutorials: Bring up a Concert. |
Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Customise Service Configurations
Description: how to create your own solutionKeywords: rocon concert solution
Tutorial Level: BEGINNER
Next Tutorial: Enable Web interactions
Goal
This tutorial guides how to customise service configurations. It includes name and priority overriding, parameter tuning, and interactions tuning.
Overriding
Each service has default parameter set to tune the service characteristic.(e.g- max velocity for Teleop service). The concert provides configuration overriding to customise services for a solution. .services file is to add/remove concert services for solution, and also to override the following service configuration.
- name
- description
- priority
- icon
- parameters
- interactions
Note that it is NOT recommended to modify remapping rules in interactions. It would break the service workflow.
Example
This example.service file overrides Teleop service configurations. It overrides name, description, service priority and parameters. Note that high value for priority gets precedence for resource allocation. Also service parameters file is replaced by the given file from the default parameters. Since it is a complete file replacement, if you miss one parameter in new file, it may crash the service.
my_solution.services
my_teleop.parameters