|
Fabric 0.2.0
|
Fabric tracks plan lifecycle internally with fabric::PlanStatus and exposes it through fabric_msgs/msg/FabricStatus.
The current server code uses the following statuses during normal processing:
rejected_list for reasons).When /fabric/cancel_plan targets the active plan, the server now marks it CANCELLED, stops the bond, wakes the processing thread, and frees allocated capabilities before moving on.
The status of any plan can be retrieved using the /fabric/get_plan_status ROS2 service.
Request fields:
headerplan_idResponse fields:
headerstatus as fabric_msgs/msg/FabricStatusrejected_listIn the current implementation, rejected_list is populated by parser syntax checks. Validation failures from CompatibilityValidation throw immediately and may leave rejected_list empty.
When responding to a status request, the server maps PlanStatus to fabric_msgs/msg/FabricStatus in status_msg().
New statuses can be added by extending PlanStatus and updating the status mapping in the server.