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();
50 getLogger(),
"[CpGoalCheckerSwitcher] Setting goal checker: " << goalcheckerid);
56 std_msgs::msg::String msg;
57 msg.data = goalcheckerid;
std::string default_goal_checker_name_
void onInitialize() override
rclcpp::Publisher< std_msgs::msg::String >::SharedPtr goal_checker_selector_pub_
void setGoalCheckerId(std::string goal_checker_id)
void setDefaultGoalChecker()
CpGoalCheckerSwitcher(std::string goal_checker_selector_topic="goal_checker_selector", std::string default_goal_checker_name="goal_checker")
virtual ~CpGoalCheckerSwitcher()
std::string goal_checker_selector_topic_
rclcpp::Logger getLogger() const
rclcpp::Node::SharedPtr getNode()