orbbec / ros2_astra_camera

8 stars 9 forks source link

Error building astra_camera pkg on ROS2 Iron #7

Open geri06 opened 6 months ago

geri06 commented 6 months ago

Hello,

I have set up the repository locally following the instructuins, and it works fine using ROS2 Humble. However, when using ROS2 Iron, after following the same steps adpating ROS_DISTRO to iron, when the file 'astra_camera/include/astra_camera/ros_param_backend.h' is called, I get the following error:

error: ‘rclcpp::node_interfaces::NodeParametersInterface::OnParametersSetCallbackType’ has not been declared.

I would be grateful if someone could help me make it work using ROS2 Iron.

Thanks in advance.

ImperiumKontratakuje commented 1 month ago

For me, it's similar. On ROS2 Humble everything works fine

https://youtu.be/I7105w-xUvs

, but I have the same error message for ROS2 Jazzy.

ros_param_backend.h:22:7: error: ‘rclcpp::node_interfaces::NodeParametersInterface::OnParametersSetCallbackType’ has not been declared