how to define different priority of services

asked 2021-06-17 03:25:33 -0500

binzhou gravatar image

updated 2021-06-17 03:26:16 -0500

HI guys, I have about 8 services in one node, and one of the service is really computing consuming and it needs run as quick as possible. But in Ros , i just use nh.advertiseService() to provide the servcer and use call to call the service.

So I am wondering about if I can define different priority of different services (for example like pthread_create()), so I can make this service response as fast as possible.

edit retag flag offensive close merge delete