DEV Community

Cover image for How to build ZED 2i Camera x ROS2 Foxy x Nvidia Jetson x Ubuntu 18.04 via Docker

How to build ZED 2i Camera x ROS2 Foxy x Nvidia Jetson x Ubuntu 18.04 via Docker

Nutchanon Ninyawee on September 15, 2021

Hi robotics dudes, TL;DR Use this Dockerfile, I will later make it a github repo. # Based on https://gitlab.com/nvidia/container-ima...
Collapse
 
creineq profile image
creineq

--- stderr: zed_components
WARNING: Target "zed_camera_component" requests linking to directory "/usr/local/cuda/lib64/stubs". Targets may link only to libraries. CMake is dropping the item.
In file included from /root/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:25:0:
/root/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:324:9: error: ‘BODY_FORMAT’ in namespace ‘sl’ does not name a type
sl::BODY_FORMAT mObjDetBodyFmt = sl::BODY_FORMAT::POSE_34;
..

Hi. I keep having errors like this, maybe due to changes on git files. and the line number 5 on dockerfile does not work, I have to change to -->
FROM dustynv/ros:foxy-ros-base-l4t-r32.${L4T_MINOR_VERSION}. I've been trying this for weeks on nano and agx.