Nexus relies on the service IsTaskDoable to query which workcell can perform a specific task.
The task itself is made of both a plain string type and a YAML payload. However, in the current implementation, the workcell orchestrator only checks whether a behavior tree exists with the requested type and doesn't do anything with the payload.
There might be cases where multiple workcells can perform the same type of task and the differentiating factor is in the payload itself, or cases in which a a workcell might be able to support a wide category of tasks but only a subset of payloads.
It should be possible to configure the function that checks whether a workcell can perform a task and implement more complex behaviors.
Nexus relies on the service IsTaskDoable to query which workcell can perform a specific task.
The task itself is made of both a plain string
typeand a YAMLpayload. However, in the current implementation, the workcell orchestrator only checks whether a behavior tree exists with the requestedtypeand doesn't do anything with the payload.There might be cases where multiple workcells can perform the same type of task and the differentiating factor is in the payload itself, or cases in which a a workcell might be able to support a wide category of tasks but only a subset of payloads.
It should be possible to configure the function that checks whether a workcell can perform a task and implement more complex behaviors.