ROS Services

AssignJobToMex srv

The AssignJobToMex.srv is a service message type which takes in a ‘MEx ID’ string and a ‘Job ID’ string and returns a boolean ‘succes’.

The service message is used to assign a Job to a Mobile Executor in the MEx Sentinel, which is hosting the service. It is called by the Job Manager during Job Allocation.

ChangeMexStatus srv

The ChangeMexStatus.srv is a service message type which takes in a ‘MEx ID’ string and a MEx Status integer. It returns a boolean ‘succes’.

The service message is used to change a Mobile Executors status in the MEx Sentinel. The service is hosted by the MEx Sentinel and called by the Job Manager.

GetActiveJobs srv

The GetActiveJobs.srv is a service message which takes in no arguments and returns an integer ‘Job count’ as well as a list of all Active Jobs in the using the ‘ActiveJobs’ message type.

The service is hosted by the Job Manager.

GetJobInfo srv

The GetJobInfo.srv is a service message which takes in a ‘Job ID’ string and returns the Job Information in the shape of a ‘JobInfo’ message type. It also returns the error status and error report as strings.

The service is hosted by the Job Manager.

GetMexList srv

The GetMexList.srv is a service message which takes in no arguments and returns a list of ‘MexInfo’ messages as well as a boolean indicating ‘succes’.

The service is hosted by the MEx Sentinel.

GetMexStatus srv

The GetMexStatus.srv is a service message which takes in a ‘MEx ID’ string and returns a ‘MEx Status’ string, a ‘Job ID’ string and a boolean indicating ‘succes’.

The service is hosted by the MEx Sentinel.

GetPendingJobs srv

The GetPendingJobs.srv is a service message which takes in no arguments and returns an integer ‘Job count’ as well as a list of ‘PendingJobs’ messages.

The service is hosted by the Job Manager.

PlaceOrder srv

The PlaceOrder.srv is a service message which takes in a ‘Keyword’ string, a ‘Priority’ string and a list of ‘Order argument’ strings. It returns a error status string and error report string.

The service is hosted by the Job Manager.

UnassignJobFromMex srv

The UnassignJobFromMex.srv is a service message which takes in a ‘MEx ID’ string and returns a boolean indicating ‘succes’.

The service is hosted by the MEx Sentinel and is used to unassign a Job from a Mobile Executor.