Install a pkg in a Ros2 docker

Hi, I am using a jetson nano with a dusty-nv docker for ros2 humble. I tried to install it from command as “sudo apt install ros-humble-filters” and didn’t worked so I tried to install it from source. When builiding it I have this error.

Hope you can help me.

Hi @thiagoromero42, can you try cloning the ros2 branch of that repo instead?

Or here is a way that you can pull/build ROS packages from source using rosinstall_generator or rosdep:

(replace gazebo_ros_pkgs with the ROS package names that you want)

thanks! cloning only the branch solve the problem.