I think it depends if you are also installing other libraries/frameworks like TensorFlow or PyTorch alongside ROS which can take up significant additional disk space.
But if you are just installing ros-base in 16GB SD card, it may be worth a try. Worst case you may need to use a larger MicroSD card.
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.
Thanks for your fast reply! I wanted to apologize because an internet search told me what you just kindly did: ROS Kinetic is for Ubuntu 16.04 and Melodic for 18.04.
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.
There are efforts to move ROS (1) to Python 3 considering Python 2.7 will be end of life and end of maintenance in Jan 2020. There is an effort to allow ROS (1) with Python 3 to be installed side by side with Python 3
[url]https://github.com/ros-infrastructure/rosdep/issues/618[/url]
For ROS2, I followed the instructions from this ROS2 site and it worked without issue. I was able to run the example without issue. There is a ROS1 bridge package that can be installed to bridge the two ROS installs. This installs ROS2 Crystal.
[url]https://index.ros.org/doc/ros2/Installation/Crystal/Linux-Install-Debians/[/url]