NVIDIA-ISAAC-ROS / isaac_ros_apriltag

NVIDIA-accelerated Apriltag detection and pose estimation.
https://developer.nvidia.com/isaac-ros-gems
Apache License 2.0
107 stars 19 forks source link

Error Invalid version: '0.23ubuntu1' on "colcon build --symlink-install" inside Docker container #21

Closed Lanzo98 closed 1 year ago

Lanzo98 commented 1 year ago

Following the Quickstart guide a step 5, the build of the workspace inside docker gives the following error: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.23ubuntu1' (package: distro-info)

Seems it is correlated with this issue relative to the version of Python Setuptools. Downgrading from version 66 to 65 solved the building problem in my case. However, this is only a workaround and the project should adapt to provide conformant versions during the build.

hemalshahNV commented 1 year ago

We have started seeing this locally as well on aarch64 only and debugging it now. Duplicate of https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_visual_slam/issues/71

hemalshahNV commented 1 year ago

We've reverted the change to the latest Isaac ROS Dev base image for aarch64 which includes the updated setuptools. We'll update the image again with the issue corrected or the version anchored properly. Thanks for your help!

Lanzo98 commented 1 year ago

Okay, perfect. Can you share the steps for making the apriltag work directly into the nx without the docker image?

hemalshahNV commented 1 year ago

Isaac ROS Apriltag does not have many dependencies beyond ROS2 Humble on Jetpack 5.0.2. You can use the commands from Dockerfile.humble to build ROS2 from source if you haven't already.

Lanzo98 commented 1 year ago

I have installed ROS Humble from source following this ROS guide. Is it the same or do I need to follow the different steps done in Dockerfile.humble?

hemalshahNV commented 1 year ago

There are specific versions of system libraries (cmake, and others) that we have pinned for you in Dockerfile.aarch64 and Dockerfile.humble to make compiling from source smooth. However, if you have ROS 2 Humble built from source successfully, then you should try running Isaac ROS packages and see how it goes.