Installing a Jetson Nano ======================== Step 1: Open up Dingo ----------------------- Start by removing Dingo's side panels, yellow cover plates, and removing the center channel covers. .. image:: images/center-channel.jpg :alt: Dingo's center channel Step 2: Install the Nano ------------------------ Dingo includes pre-threaded mounting holes for the Jetson Nano. We recommend using 20mm standoffs to raise the board. .. image:: images/computer-bay.jpg :alt: Dingo's computer bay Connect the Jetson's power cable to the 5V output from Dingo's MCU. .. image:: images/installed-jetson-nano.jpg :alt: A Jetson Nano installed inside Dingo The ethernet port on the Nano will eventually need to be connected to the ethernet port of Dingo's MCU. If you have a network switch installed you can connect the MCU and the Nano to the switch. Otherwise leave the MCU disconnected for now so that the Nano's ethernet port can be used for downloading the software from the internet. Step 3: Installing the Software -------------------------------- Download the latest version of the `Nano SD Image `_ Download the latest version of `Balena Etcher `_ .. image:: images/Nano/Software/1.png Use Etcher to flash the image onto your SD card Once it is installed, connect the nano to a keyboard, monitor, and power supply. Ubuntu needs to be setup first. Agree to the Terms .. image:: images/Nano/Software/2.png Select your language. .. image:: images/Nano/Software/3.png Select your keyboard layout. .. image:: images/Nano/Software/4.png Select your locaiton. .. image:: images/Nano/Software/5.png Pick a hostname, username, and password for the machine. .. note:: For compatibility with older versions of the Jetson Nano software, set the username and password to ``nvidia``. To standardize with other Clearpath Robotics products, set the username to ``administrator`` and the password to ``clearpath``. .. image:: images/Nano/Software/6.png Specify the size for the partition. The default size should fill the whole SD card. Make sure it matches the maximum possible size, unless you have other plans for that space. .. image:: images/Nano/Software/7.png It will install the remainder of the required default packages. .. image:: images/Nano/Software/8.png Once the OS has been written to the Nano, log into it and run the following commands to configure it for use with Dingo: .. code-block:: bash wget -c https://raw.githubusercontent.com/clearpathrobotics/ros_computer_setup/main/install.sh && bash install.sh .. note:: If ``curl`` is not installed on your Jetson by default you can install it by running ``sudo apt-get install curl`` .. image:: images/Nano/Software/9.png These commands will download and install ROS along with the necessary APT packages to get Dingo up and running. Depending on your network speed it may take a long time for everything to install. Reboot the Nano after these commands are done to complete the configuration. When the Jetson starts up again, it should be connected to the Dingo. To see that the Dingo is connected by opening a terminal and executing "rostopic echo /status". You should see a 1hz message containing the Dingo's diagnostic information. Your Jetson Nano should now be configured to operate as the Dingo's main PC.