Skip to content
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

Trying to install ROS2 - Never used docker before #47

Open
abulnk opened this issue Nov 19, 2021 · 9 comments
Open

Trying to install ROS2 - Never used docker before #47

abulnk opened this issue Nov 19, 2021 · 9 comments

Comments

@abulnk
Copy link

abulnk commented Nov 19, 2021

I am getting the following error.

jetbot@jetson-4-3:~/jetbot_ros$ docker/run.sh
reading L4T version from /etc/nv_tegra_release
L4T BSP Version: L4T R32.3.1
CONTAINER: dustynv/jetbot_ros:foxy-r32.3.1
DEV_VOLUME:
DATA_VOLUME: --volume /home/jetbot/jetbot_ros/data:/workspace/src/jetbot_ros/data
USER_VOLUME:
USER_COMMAND:
V4L2_DEVICES:
localuser:root being added to access control list
xauth: file /tmp/.docker.xauth does not exist
Unable to find image 'dustynv/jetbot_ros:foxy-r32.3.1' locally
docker: Error response from daemon: manifest for dustynv/jetbot_ros:foxy-r32.3.1 not found: manifest unknown: manifest unknown.

I am sure I need something else before I run the shell command. Please help.

@abulnk
Copy link
Author

abulnk commented Nov 19, 2021

Do I need JetPack 4.4 or newer?
Thanks.

@jomoengineer
Copy link

This fails with JP4.5 as well. The docker image version is based on the /etc/nv_tegra_release which shows R32 REVISION: 5.2 in JP4.5.

Ex:
# R32 (release), REVISION: 5.2, GCID: 27767740, BOARD: t210ref, EABI: aarch64, DATE: Fri Jul 9 16:01:52 UTC 2021

There is no r32.5.2 docker image at dusty-nv/jetson-containers, just r32.4.4, r32.5.0 or r32.6.1.
https://github.com/dusty-nv/jetson-containers

Setting REVISION to 5.0 in nv_tegra_release temporarily resolved the issue in my case.

@JHPHELAN
Copy link

JHPHELAN commented May 1, 2022

Setting REVISION to 5.0 in nv_tegra_release temporarily resolved the issue in my case.
Didn't work for me as is READ ONLY file system

@jimbog13
Copy link

jimbog13 commented May 11, 2023

@dusty-nv I'm running into this issue as well. I am also generally confused since this repo is supposed to be for NVIDIA JetBot with Jetson Nano, but Jetson Nano looks to be only supported with Jetpack 4.x, and ROS2 requires Jetpack 5.0.

I also tried cloning eloquent but get the following error:

docker: Error response from daemon: manifest for dustynv/jetbot_ros:eloquent-r32.7.1 not found: manifest unknown: manifest unknown.

@dusty-nv
Copy link
Owner

ROS2 requires Jetpack 5.0.

Hi @jimbog13, running ROS2 in container doesn't require JetPack 5, ROS2 can be built from source for JetPack 4 containers (except Humble) if you want to rebuild the container, change the base image to one compatible with your version of JetPack-L4T

@jimbog13
Copy link

jimbog13 commented May 11, 2023 via email

@dusty-nv
Copy link
Owner

@jimbog13 do you have your default docker runtime set to nvidia? https://github.com/dusty-nv/jetson-containers#docker-default-runtime

Also, which version of JetPack-L4T are you running? is it L4T R32.7.1?

@jimbog13
Copy link

@dusty-nv that was it! once I set the default docker runtime it built successfully (yes, it's version L4T R32.7.1).

Thanks again for your help!

@kmliy901054
Copy link

HI i trying to install ros2 on my jetsonnano 4GB and met this error
i trying to use ros:foxy-desktop-l4t-r35.4.1 because docker: Error response from daemon: manifest for dustynv/jetbot_ros:foxy-r32.3.1 not found: manifest unknown: manifest unknown.

jetbot@jetson:~/jetbot_ros$ docker/run.sh -c ros:foxy-desktop-l4t-r35.4.1
reading L4T version from /etc/nv_tegra_release
L4T BSP Version: L4T R32.3.1
CONTAINER: dustynv/ros:foxy-desktop-l4t-r35.4.1
DEV_VOLUME:
DATA_VOLUME: --volume /home/jetbot/jetbot_ros/data:/workspace/src/jetbot_ros/data
USER_VOLUME:
USER_COMMAND:
V4L2_DEVICES: --device /dev/video0
xhost: unable to open display ""
xauth: file /home/jetbot/.Xauthority does not exist
xauth: file /tmp/.docker.xauth does not exist
xauth: (argv):1: unable to read any entries from file "(stdin)"
chmod: cannot access '/tmp/.docker.xauth': No such file or directory
sourcing /opt/ros/foxy/install/setup.bash
ROS_DISTRO foxy
ROS_ROOT /opt/ros/foxy
root@jetson:/# ros2 launch jetbot_ros jetbot_sparkfun.launch.py
Package 'jetbot_ros' not found: "package 'jetbot_ros' not found, searching: ['/opt/ros/foxy/install']"
root@jetson:/#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants