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

Fixed bidirectionalport to outputport (new_goal)

parent e70430bd
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ TiagoNavModuleBtClientAlgNode::TiagoNavModuleBtClientAlgNode(void) : ...@@ -20,7 +20,7 @@ TiagoNavModuleBtClientAlgNode::TiagoNavModuleBtClientAlgNode(void) :
this->tiago_nav_module_bt.init(this->factory); this->tiago_nav_module_bt.init(this->factory);
// Init local functions // Init local functions
BT::PortsList async_go_to_pose_inputs_ports = {BT::OutputPort<double>("x"), BT::OutputPort<double>("y"), BT::OutputPort<double>("yaw"), BT::OutputPort<double>("heading_tol"), BT::OutputPort<double>("x_y_pos_tol"), BT::BidirectionalPort<bool>("new_goal")}; BT::PortsList async_go_to_pose_inputs_ports = {BT::OutputPort<double>("x"), BT::OutputPort<double>("y"), BT::OutputPort<double>("yaw"), BT::OutputPort<double>("heading_tol"), BT::OutputPort<double>("x_y_pos_tol"), BT::OutputPort<bool>("new_goal")};
BT::PortsList set_goal_frame_inputs_ports = {BT::OutputPort<std::string>("frame_id")}; BT::PortsList set_goal_frame_inputs_ports = {BT::OutputPort<std::string>("frame_id")};
this->factory.registerIriAsyncAction("set_tiago_nav_go_to_pose_inputs", std::bind(&TiagoNavModuleBtClientAlgNode::set_tiago_nav_go_to_pose_inputs, this, std::placeholders::_1), async_go_to_pose_inputs_ports); this->factory.registerIriAsyncAction("set_tiago_nav_go_to_pose_inputs", std::bind(&TiagoNavModuleBtClientAlgNode::set_tiago_nav_go_to_pose_inputs, this, std::placeholders::_1), async_go_to_pose_inputs_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