-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building noetic_desktop + pytorch image #89
Comments
Hi @madratman, perhaps you need to skip the opencv keys in the rosdep call like I do in the foxy/galactic Dockerfiles: jetson-containers/Dockerfile.ros.foxy Line 164 in d58ce7e
|
Thanks for the quick reply! Actually, I think the above issue was inconsequential. The issue was a specific version of boost_python needed by cv_bridge
Following ros-perception/vision_opencv#341 (comment), I just changed that CMake line in vision_opencv from
Interestingly,
Update: the above did work, closing. Thanks @dusty-nv! |
One more question: I did not run the last 5 lines in the docker container: https://github.com/dusty-nv/jetson-containers/blob/master/Dockerfile.ros.noetic#L69-L73 (as they are already in the base docker image (noetic-ros-base-pytorch one) When building a catkin workspace (after ensuring source /opt/ros/noetic/setup.bash), catkin is unable to find basic packages like tf, tf2, vision_opencv.. Although I see them all inside /opt/ros/noetic/include, /lib, /share, etc examples:
even though I can see them here
|
Here's the output of running the provided docker test ros script (I modified it slightly to use
|
If you check for the packages through the ros tools, is ros able to discover them? |
@dusty-nv Is there any progress on this one? I am exactly having the same problem. I am trying to create a clean catkin_ws and use oak-d camera with depthai-ros. Although everything works fine in x86 end, once I move to xavier, I can not make it work. I tried many base images like
I am using skip keys argument in my catkin_ws as you suggested above: Here is one of the docker files I am trying:
|
@samialperen I think your issue is related to installing additional ROS packages from apt, while the noetic packages in my containers were built from source. Although you already tried What you try doing is add a |
I am trying to build the neotic_desktop image with pytorch by doing the equivalent of
./scripts/docker_build_ros.sh --distro noetic --package desktop --with-pytorch
As noetic_base + pytorch binaries are already availble under
dustynv/ros:noetic-pytorch-l4t-r32.6.1
, I chose to clone that image as a starting point, and then am running these lines for noetic + desktop.Now, cv_bridge failed to compile eventually.
Looking at the logs, it seems things failed in this step:
root@goose:/workspace/ros_catkin_ws# rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro ${ROS_DISTRO} --skip-key
Log:
Wanted to check if I should try to force an overwrite of opencv3.2 over 4.5, or should I use a different base image?
The text was updated successfully, but these errors were encountered: