25 std::string goal_checker_selector_topic, std::string default_goal_checker_name)
26: goal_checker_selector_topic_(goal_checker_selector_topic),
27 default_goal_checker_name_(default_goal_checker_name)
35 rclcpp::QoS qos(rclcpp::KeepLast(1));
36 qos.transient_local().reliable();
49 RCLCPP_INFO_STREAM(
getLogger(),
"[GoalCheckerSwitcher] Setting goal checker: " << goalcheckerid);
55 std_msgs::msg::String msg;
56 msg.data = goalcheckerid;
GoalCheckerSwitcher(std::string goal_checker_selector_topic="goal_checker_selector", std::string default_goal_checker_name="goal_checker")
void setGoalCheckerId(std::string goal_checker_id)
virtual ~GoalCheckerSwitcher()
std::string default_goal_checker_name_
void setDefaultGoalChecker()
std::string goal_checker_selector_topic_
void onInitialize() override
rclcpp::Publisher< std_msgs::msg::String >::SharedPtr goal_checker_selector_pub_
rclcpp::Logger getLogger()
rclcpp::Node::SharedPtr getNode()