I use the Jetson Redtail sources for easy installation of ROS on TX1. Should work just as well on the nano:
Installing project dependencies
Our project has several dependencies like ROS, GStreamer and others that need to be installed before running the code. The jetson_ros_install.sh script located in ros/scripts will install all required dependencies. The script requires some input (very little) so make sure you are monitoring the console while the script is running. Once the script completes running, log out and log in back again to make sure all ROS environment variables are initialized.
I have installed this on TX1 internal 16GB emmc without space issues.
I would consult the ROS website for the definitive differences, but in my experience I haven’t encountered any incompatabilities porting nodes from Kinetic to Melodic. It was a relatively painless and straightforward upgrade in my experience.
Note that the latest release of JetPack 4.2 also runs Ubuntu 18.04 on TX2, so TX2 is on ROS Melodic now also.
Using sudo apt-cache search ros-kinetic gives 0 results, but searching for ros-melodic gives a lot of results.
I ask because I tried to install ROS following the Jetson Hacks post for ROS Kinetic TX2, but after the installation process finished, roscore resulted in a ‘command not found’ and the folder /opt/ros/kinetic/setup.bash does not exist.
ROS Kinetic is for Ubuntu 16.04, and Jetson Nano + JetPack 4.2 supports Ubuntu 18.04. ROS Melodic is for Ubuntu 18.04, so ROS Melodic is used on Nano.
This article was written for TX2 with a previous version of JetPack which used Ubuntu 16.04 on TX2, hence it was using ROS Kinetic. Since the release of JetPack 4.2, Jetson TX2 is now also Ubuntu 18.04, so TX2 would now use ROS Melodic also.
ROS Melodic is for python 2. To use the version of tensorflow for NANO needs Python 3. Therefore I would need to install ROS2 which is for python 3. Do you have instructions to install ROS2 or can say which version of ROS2 to install on NANO?
Hmm, it would be helpful if we could get some assistance to build ROS2 package , the latest release , for Jetson NANO arm architecture, to also include python support. It looks like all the dependencies just needs to be built. If one needs ROS using python 3, then ROS2 is the way to go apparently.
That way we can actually use ROS(2) on Jetson NANO & the Jetson NANO GPU, with TensorFlow & Keras.
Kinetic is for 16.04 version of Ubuntu. 18.04 requires melodic. Runs just fine on the nano. Go to wiki.ros.org and follow the instructions. ros-melodic-desktop is the one to use. Desktop-Full has programs that require more resources than the nano has. Since you can install other nodes as needed just the ros-melodic-ros-base is probably the best way to go especially if you aren’t using a SSD via usb. Dusty-nv’s github has some ros nodes for the nano. I was running those the other evening.