Error Building in ROS 2 Humble
cyglidar_d1/D1_ROS2/src/d1_node.cpp:93:28: error: no matching function for call to ‘rclcpp::Node::declare_parameter(const char [18])’ 93 | node->declare_parameter("frequency_channel");
cyglidar_d1/D1_ROS2/src/d1_node.cpp:92:28: error: no matching function for call to ‘rclcpp::Node::declare_parameter(const char [15])’ 92 | node->declare_parameter("duration_value");
error: no matching function for call to ‘rclcpp::Node::declare_parameter(const char [14])’ 91 | node->declare_parameter("duration_mode"); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
error: no matching function for call to ‘rclcpp::Node::declare_parameter(const char [9])’ 90 | node->declare_parameter("run_mode");
Hello, @nitesh-subedi
We've been testing for Ubuntu 22.04 version, not yet ready for this.
But noticing we just updated for it, please check ROS code update and download the updated one.
if error occured when you build with updated code, please notice again.
Sorry for the delayed reply.