Skip to content
Snippets Groups Projects
Commit f4be8c7e authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Added BT register of action get_tiago_arm_group_joints

parent ebd458b7
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,8 @@ void CTiagoArmModuleBT::init(IriBehaviorTreeFactory &factory)
BT::PortsList set_group_name_ports = {BT::InputPort<std::string>("group_id")};
BT::PortsList get_group_name_ports = {BT::OutputPort<std::string>("group_id")};
BT::PortsList get_group_joints_ports = {BT::OutputPort<std::vector<std::string> >("joint_names")};
BT::PortsList set_max_planning_attempts_ports = {BT::InputPort<unsigned int>("num")};
BT::PortsList get_max_planning_attempts_ports = {BT::OutputPort<unsigned int>("num")};
......@@ -75,6 +77,8 @@ void CTiagoArmModuleBT::init(IriBehaviorTreeFactory &factory)
factory.registerSimpleAction("set_tiago_arm_group_name", std::bind(&CTiagoArmModuleBT::set_tiago_arm_group_name, this, std::placeholders::_1), set_group_name_ports);
factory.registerSimpleAction("get_tiago_arm_group_name", std::bind(&CTiagoArmModuleBT::get_tiago_arm_group_name, this, std::placeholders::_1), get_group_name_ports);
factory.registerSimpleAction("get_tiago_arm_group_joints", std::bind(&CTiagoArmModuleBT::get_tiago_arm_group_joints, this, std::placeholders::_1), get_group_joints_ports);
factory.registerSimpleAction("set_tiago_arm_max_planning_attempts", std::bind(&CTiagoArmModuleBT::set_tiago_arm_max_planning_attempts, this, std::placeholders::_1), set_max_planning_attempts_ports);
factory.registerSimpleAction("get_tiago_arm_max_planning_attempts", std::bind(&CTiagoArmModuleBT::get_tiago_arm_max_planning_attempts, this, std::placeholders::_1), get_max_planning_attempts_ports);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment