christianrauch / apriltag_ros

ROS2 node for AprilTag detection
MIT License
128 stars 85 forks source link

Apriltag ROS2 package can not be found #17

Closed wangzizhe closed 12 months ago

wangzizhe commented 1 year ago

Hi Christian,

I found Apriltag for ROS2 could be installed using sudo apt-get install ros-humble-apriltag (my ROS2 version is humble), it will display that the installation is successful, but you can’t find this package using ros2 pkg list, under opt/ros/humble/share you can see the apriltag folder, but when you go into it, you find it is actually not a package, inside there is only a cmake folder.

It is somehow strange, or I did something wrong?

Thanks in advance!

christianrauch commented 12 months ago

ros-humble-apriltag is just the apriltag library from https://github.com/AprilRobotics/apriltag, which is a regular CMake package with a package.xml. Only ament packages will be registered and listed as a ROS packages. The ROS node can be installed with package ros-humble-apriltag-msgs.

wangzizhe commented 12 months ago

Thx

Now I figured out the differences: