15 #ifndef CONCEALER__GET_PARAMETER_HPP_
16 #define CONCEALER__GET_PARAMETER_HPP_
18 #include <rclcpp/rclcpp.hpp>
22 static constexpr
auto default_architecture_type =
"awf/universe/20240605";
26 const rclcpp::node_interfaces::NodeParametersInterface::SharedPtr & node,
29 if (not node->has_parameter(name)) {
30 node->declare_parameter(name, rclcpp::ParameterValue(value));
32 return node->get_parameter(name).get_value<T>();
38 auto node = rclcpp::Node(
"get_parameter",
"simulation");
39 return getParameter(node.get_node_parameters_interface(), name, value);
Definition: autoware_universe.hpp:40
auto getParameter(const rclcpp::node_interfaces::NodeParametersInterface::SharedPtr &node, const std::string &name, T value={})
Definition: get_parameter.hpp:25
std::string string
Definition: junit5.hpp:26