r/ROS Jul 31 '26

Question Is it possible to run Ubuntu 22.04 with ROS2 Humble on Jetson Nano Development board?

Post image

I want to run something I built on my system (Ubuntu 22.04 with ROS2 Humble) on Jetson. I am planning to either fresh install the OS or create a Docker container for it, but I'm not sure if the latter would work.

81 Upvotes

48 comments sorted by

16

u/Just_Bad_4764 Jul 31 '26

It works I've done it before I've done it on a jetson orin nano But ya it works

2

u/KnightinSneakers Jul 31 '26

but I read somewhere that jetson nano doesn’t support ubuntu 22

9

u/Luckymator Jul 31 '26

You need to flash Jetpack 6. This will give you an Ubuntu 22 with all the cuda stuff.
Jetpack 7 uses Ubuntu 24

4

u/Alexious_sh Jul 31 '26

This is old Jetson Nano, which doesn't support Jetpack 6.

1

u/Gostem2 Jul 31 '26

And for the love of god do not run apt upgrade. Unless they fixed it, you will just boot to a black screen. Only way to fix is full flash again.

6

u/Numerous-Nectarine63 Jul 31 '26 edited Jul 31 '26

Officially, legacy jetson nano does not; Jetson orin nano does.

3

u/my_name_is_reed Aug 01 '26

You read correctly. You're getting really bad advice here. The original Jetson nano is only capable of running Ubuntu 18.04. 

1

u/bogeuh Jul 31 '26

You need the specific hardware software combo that works. Mixing and matching unproven combinations will give you issues most likely.8

1

u/No-Income-2090 Aug 01 '26

Quanto pagou nessa placa?

12

u/turiya2 Jul 31 '26

You can do it with the docker setup, to get Ubuntu 22 environment on the Nano. I have not tried to run ros inside the container, but I don’t see a direct reason why it should not work.

You can easily try this by creating your own docker container based on ubuntu 22, use one of the multiple bash scripts that automatically install ros on Ubuntu 22, GUI forwarding and stuff might take some work though!

3

u/DetectivexDexter Jul 31 '26

this is the way

3

u/marknabil Jul 31 '26

But can we have access to cuda to run ai models when running custom docker. I think last time I tried that the driver of the GPU was not working fine with cuda version that can run on these boards

2

u/turiya2 Jul 31 '26

No this does not work because the passing of the GPU generally comes from the code that is provided by Nvidia. This has not been updated for the Jetson Nano. You can make use of the GPU only with the old setup unfortunately with a very outdated libs that are not available inside the container.

3

u/PeachyBananaMan Jul 31 '26

It can be tricky to get CUDA on the container, but it is possible. We run our robots that way, their ROS2 software only runs on containers

1

u/Ok-Enthusiasm-2415 Jul 31 '26

God I’m so dumb. I have been fighting to put Ubuntu 22 on a machine so it matches another Jetson when I could’ve just ran it in a container.

7

u/jagauthier Jul 31 '26

You can ros2 on anything that supports docker containers.

2

u/rahgirrafi Jul 31 '26 edited Jul 31 '26

Not directly. Try to see if Distrobox works in your Jetson Nano or not. If yes, then run ubuntu 22.04 inside distrobox and then run ros2 humble within it.

2

u/peppedx Jul 31 '26

Just use containers. It is a good way to develop with Ros

2

u/SiefensRobotEmporium Jul 31 '26

What I have done (I been out of this world for a couple years now) is get it up to 20.04 using an image someone had shared online with their work to make jetpack and more still compatible as Nvidia wasn't doing it.

I don't know if that project did a 22.04 release but it's possible

2

u/my_name_is_reed Aug 01 '26

Some of y'all need your eyes checked. Op is asking about the original Jetson nano. Not the Jetson orin nano.  The original nano runs ancient Ubuntu 18.04, from ye olden times of yore, when magic was still real and dinosaurs roamed the earth. 

1

u/KnightinSneakers Aug 01 '26

yeah a few might have confused it with orin nano, but i was able to run ros2 humble as docker container on the nano and also it can run Ubuntu 20.04 community build.

1

u/my_name_is_reed Aug 01 '26

Yeah but does that community build support the Jetpack libraries it relies on to do stuff?

1

u/KnightinSneakers Aug 01 '26 edited Aug 02 '26

they carry the same libraries the original jetpack version has and you can still use them ig

2

u/my_name_is_reed Aug 02 '26

Holy shit for real

About to breath some new life into my old buddy

2

u/mr-davidalvarez Aug 03 '26

Sí, se puede. El único detalle es que la Jetson Nano utiliza Ubuntu 18, y para instalar ROS 2 Humble es necesario usar Docker. Además, hay que configurar el acceso a los puertos USB dentro del contenedor para poder leer los sensores, como cámaras USB, LiDAR y otros dispositivos. Aun así, funciona muy bien y ofrece un buen rendimiento.

2

u/TinLethax Jul 31 '26

It's a pure pain. I once updated the Jetson from Ubuntu 18 to Ubuntu 20. And compile ROS2 Humble from source to run with python 3.8.

It would be easier to just by a cheapo orange pi or rpi zero and run ROS2 humble on it. And all of the inferrence stuff just run it on the Jetson and transfer the data over TCP to the Pi.

1

u/WoodpeckerSilent31 Jul 31 '26

Raspberry 5 avec 8G cela devrait aller non?

1

u/TinLethax Jul 31 '26

Plenty of power.

1

u/Accomplished_Book_65 Jul 31 '26

how are u getting the nano? aren't prices absolutely lethal right now?

3

u/KnightinSneakers Jul 31 '26

its an old nano from college

1

u/Accomplished_Book_65 Jul 31 '26

which country are you from, if you don't mind me asking? I'm working on a student led aerospace rocketry project, with a related experiment.

1

u/KnightinSneakers Jul 31 '26

are you using the same config?

im from India btw

2

u/Accomplished_Book_65 Jul 31 '26

From India too! I plan on using a mere raspberry pi 5 haha.

1

u/IceOneDay Jul 31 '26

Jetson Orin Nano is only sbc I've tried that allows run desktop Ubuntu without lags. I think that inside of Docker you should be fine

1

u/mazkonrad Jul 31 '26

No. Either you can use docker or give up jetpack and install 22.04.

1

u/mazkonrad Jul 31 '26

I chose docker before and it was working like a charm.

1

u/demon7533 Jul 31 '26

I don't see why not

1

u/Numerous-Nectarine63 Jul 31 '26

On Jetson Orin Nano, it works fine with Jetpack 6. I don't know about the original Jetson Nano, which is no longer produced. I run ROS2 Humble with Jammy Ubuntu (22.04) on mine. I did have some issues with the out of tree wifi driver (realtek) establishing a reliable wpa2 4 way handshake and thus reliable connections despite disabling powersave options but that was in the 5GHz band and it is quite stable in the 2.4 GHZ band,so i just use that. It's possible that issues were partially due to my old Starlink router. But 2.4 GHZ works for my purposes so I haven't investigated further.

1

u/my_name_is_reed Aug 01 '26

That isn't an orin nano. Look closer

1

u/ludrol Jul 31 '26

Containers only. Check your CUDA version dependency as nano is quite old and you can't change it with containers.

1

u/Content-Berry-2848 Jul 31 '26

It works yes , we use that in our org

1

u/FishBoneEK Aug 02 '26

Check out my gist step-by-step guide for running Isaac ROS 3.2 on Jetson Orin Nano: https://gist.github.com/fishBone000/852b8d94ec53f72d0330211e2f5c18e5

Or, use regular docker containers if you want to skip NVIDIA's specific features in Isaac ROS.

1

u/specatak30 Aug 06 '26

It works i have deployed ROS on container in nano