Skip to content

Commit cc1881d

Browse files
committed
added new wp to the test
1 parent 788f111 commit cc1881d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

bt_nodes/configuration/include/configuration/init_receptionist.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class InitReceptionist : public BT::ActionNodeBase
4848
BT::OutputPort<std::string>("manipulation_frame", "base_frame for manipulation"),
4949
BT::OutputPort<std::string>("party_wp", "frame to the party wp"),
5050
BT::OutputPort<std::string>("entrance_wp", "frame to the the entrance wp"),
51+
BT::OutputPort<std::string>("follow_ready_wp", "frame to the follow ready wp"),
5152
BT::OutputPort<std::string>("host_name", "name of the host"),
5253
BT::OutputPort<std::string>("host_drink", "host's favorite drink"),
5354
BT::OutputPort<std::string>("current_guest", "current guest_number STARTING FROM 1"),

bt_nodes/configuration/src/configuration/init_receptionist.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ BT::NodeStatus InitReceptionist::tick()
8282
node_->get_logger(), "Entrance waypoint set to frame: [%s]", wp.c_str());
8383
} else if (wp.find("party")!=std::string::npos) {
8484
setOutput("party_wp", wp);
85+
} else if (wp.find("follow_ready")!=std::string::npos) {
86+
setOutput("follow_ready_wp", wp);
87+
RCLCPP_INFO(
88+
node_->get_logger(), "Follow ready waypoint set to frame: [%s]", wp.c_str());
8589
}
8690

8791
q.setRPY(0, 0, wp_pos[2]);

0 commit comments

Comments
 (0)