ros_deep_learning icon indicating copy to clipboard operation
ros_deep_learning copied to clipboard

Jetson inference

Open vijayreddysamula opened this issue 1 year ago • 5 comments

Hi, Dusty, I am working Jetson Orin AGX developer kit. I encountered a small problem after building the ros image. The container doesn't have jetson inference and jetson utils. But I tried cloning the jetson inference and it always shows webrtc error. I don't want to build a jetson inference again, so I wrote the docker file with the jetson inference image as the base and installed ros2. But there I can see the ros2 topic list but not able to subscribe.

vijayreddysamula avatar May 20 '23 14:05 vijayreddysamula

Hi @vijayreddysamula, which version of jetpack-l4t are you running? (you can check this with cat /etc/nv_tegra_release)

You can build the ros:pytorch container (which has ros_deep_learning installed and uses jetson-inference as base) with jetson-containers scripts/docker_build_ros.sh --distro=humble --with-pytorch

dusty-nv avatar May 22 '23 03:05 dusty-nv

Hi Dusty, I am using L4t r34.1.1. I tried jetson-containers with the above script using foxy, but i got following error pull access denied for jetpack, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

vijayreddysamula avatar May 22 '23 15:05 vijayreddysamula

Hi @vijayreddysamula, IIRC the l4t-jetpack base container for L4T R34.1.1 wasn't released - L4T R34.1.1 was a Developer Preview release and you should upgrade it (i.e. to the latest - currently JetPack 5.1.1 / L4T R35.3.1)

dusty-nv avatar May 22 '23 20:05 dusty-nv

Hi @vijayreddysamula, which version of jetpack-l4t are you running? (you can check this with cat /etc/nv_tegra_release)

You can build the ros:pytorch container (which has ros_deep_learning installed and uses jetson-inference as base) with jetson-containers scripts/docker_build_ros.sh --distro=humble --with-pytorch

@dusty-nv This means we can directly do inference in the same node by calling imagenet API from jetson-interface. Is this a solution to avoid nodelet?

jiefengsun avatar May 24 '23 17:05 jiefengsun

@jiefengsun in ROS2 it doesn't use nodelets, but yes. Isaac ROS also has zero-copy transport between nodes (NITROS) https://github.com/NVIDIA-ISAAC-ROS/isaac_ros_nitros

dusty-nv avatar May 24 '23 18:05 dusty-nv