|
Fabric 0.2.0
|
Class representing the main server of the fabric. More...
#include <server.hpp>


Public Types | |
| using | SetFabricPlan = fabric_msgs::srv::SetFabricPlan |
| using | CancelFabricPlan = fabric_msgs::srv::CancelFabricPlan |
| using | CompleteFabric = fabric_msgs::srv::CompleteFabric |
| using | GetPlanStatus = fabric_msgs::srv::GetPlanStatus |
Public Member Functions | |
| Fabric (const rclcpp::NodeOptions &options=rclcpp::NodeOptions()) | |
| Construct a new Fabric object. | |
| void | initialize () |
| Initialize the Fabric node, action server and event client. | |
Protected Member Functions | |
| void | process () |
| The main process thread of the fabric. | |
| void | setPlanCallback (const std::shared_ptr< SetFabricPlan::Request > request, std::shared_ptr< SetFabricPlan::Response > response) |
| Callback function to set a new fabric plan. | |
| void | cancelPlanCallback (const std::shared_ptr< CancelFabricPlan::Request > request, std::shared_ptr< CancelFabricPlan::Response > response) |
| Callback function to cancel a fabric plan. | |
| void | setCompleteCallback (const std::shared_ptr< CompleteFabric::Request > request, std::shared_ptr< CompleteFabric::Response > response) |
| Callback function to set the completion of a fabric plan. | |
| void | getPlanStatusCallback (const std::shared_ptr< GetPlanStatus::Request > request, std::shared_ptr< GetPlanStatus::Response > response) |
| Callback function to get the status of a fabric plan. | |
| fabric_msgs::msg::FabricStatus | status_msg (PlanStatus status) const |
| Convert internal plan status to fabric_msgs/PlanStatus message. | |
| void | reset () |
| Reset internal data structures for processing a new plan. | |
Static Protected Member Functions | |
| static std::string | generate_uuid () |
| Generate a UUID string for plan tracking. | |
Protected Attributes | |
| std::deque< fabric::Plan > | plan_queue_ |
| fabric::Plan | current_plan_ |
| bool | plan_completed_ |
| std::mutex | plan_mutex_ |
| std::condition_variable | plan_cv_ |
| std::shared_ptr< CapabilityClient > | capability_client_ |
| std::vector< CapabilityInfo > | capability_list_ |
| pluginlib::ClassLoader< fabric::ValidationBase > | validation_loader_ |
| pluginlib::ClassLoader< fabric::ParserBase > | parsing_loader_ |
| std::shared_ptr< fabric::ParserBase > | parsing_plugin_ |
| std::shared_ptr< fabric::ValidationBase > | compatibility_validation_plugin_ |
| std::string | bond_id_ |
| std::map< std::string, std::shared_ptr< BondClient > > | bond_client_cache_ |
| std::string | plan_file_path_ |
| rclcpp::Service< SetFabricPlan >::SharedPtr | plan_server_ |
| rclcpp::Service< CancelFabricPlan >::SharedPtr | cancel_server_ |
| rclcpp::Service< CompleteFabric >::SharedPtr | completion_server_ |
| rclcpp::Service< GetPlanStatus >::SharedPtr | get_plan_status_server_ |
| std::thread | process_thread |
Class representing the main server of the fabric.
| using fabric::Fabric::CancelFabricPlan = fabric_msgs::srv::CancelFabricPlan |
| using fabric::Fabric::CompleteFabric = fabric_msgs::srv::CompleteFabric |
| using fabric::Fabric::GetPlanStatus = fabric_msgs::srv::GetPlanStatus |
| using fabric::Fabric::SetFabricPlan = fabric_msgs::srv::SetFabricPlan |
|
inline |
|
inlineprotected |
Callback function to cancel a fabric plan.
|
inlinestaticprotected |
Generate a UUID string for plan tracking.
|
inlineprotected |
Callback function to get the status of a fabric plan.
|
inline |
Initialize the Fabric node, action server and event client.
|
inlineprotected |
The main process thread of the fabric.
|
inlineprotected |
Reset internal data structures for processing a new plan.
|
inlineprotected |
Callback function to set the completion of a fabric plan.
|
inlineprotected |
Callback function to set a new fabric plan.
|
inlineprotected |
Convert internal plan status to fabric_msgs/PlanStatus message.
|
protected |
Manages bond between capabilities server and this client
|
protected |
Bond id
|
protected |
server to cancel the current plan in the capabilities2 fabric
|
protected |
Capability client to interact with capability server
|
protected |
Capability List
|
protected |
shared pointer for compatibility validation plugin
|
protected |
server to get the status of the capabilities2 fabric
|
protected |
Current plan being processed
|
protected |
server to get the status of a fabric plan
|
protected |
|
protected |
shared pointer for parsing plugin
|
protected |
Current plan related synchronization
|
protected |
|
protected |
File Path link
|
protected |
|
protected |
Vector of plans
|
protected |
server to set a new plan to the capabilities2 fabric
|
protected |
Thread to manage sending goal
|
protected |
Plugin loaders for each module package