ROS1
Jetson nano
Before controlling Jetfalcon, you need to setup the operating environment.
If you had done this step, please go to the next unit: 1. Jetfalcon and teleoperation.
To prepare your microSD card, you’ll need a computer with Internet connection and the ability to read and write SD cards, either via a built-in SD card slot or adapter. Notice space of the MicroSD card need bigger than 32 GB.
I suggest using balenaEtcher to write the image with Microsoft windows system. Please visit the official website to download the software: balenaEtcher official website
Please click the "Download for Windows(x86|x64)" button to download and then run the file to install. If you can install smoothly then you can see the icon "balenaEtcher" in the desktop.
Nvidia offer ubuntu 18.04 image for the Jetson nano now(2021/10/18). We can use the third-party image to write to the microSD Card. Please visit this webiste to download and unzip file:
Ok! Now we have already prepared to write image to the microSD Card! Please double click icon "balenaEtcher" on your desktop to run the software.
If you can see the image above on your desktop, then you can follow the steps below to write image:
- click "Flash" from file and select your image. If you don't rename the image file, you should select "sd-blob-b01.img"
- If you use adapter, please insert it into your computer and then click "Select target" to select your microSD card.
Great! Now everything is done, you can see the similar image below:
Please click the blue button "Flash!", and then you will need some time to flash the image. If the balenaEtcher finish flashing normally, you can see the similar image below:
Now you can take out the microSD card from your computer.
In this step, we have to install Ubuntu 18.04 through the microSD card. Please insert the microSD card into the Jetson nano. After that, you can power on Jetson nano and follow install steps to install Ubuntu 18.04.
we can use the ROS_melodic_install.sh to install ROS1, Please followe these steps below to install.
Please press [ctrl] + [alt] + [t] on desktop to open the terminal
Next, type the command to install git
Now you can use git to download the project jetfalcon. Please type the command below to download the project jetfalcon
Please type the command below in the terminal to install ROS-melodic:
I assume you use microUSB to power the jetson nano, this script will setup your power mode with 5W automatically. If not, you can change the power mode by yourself in the script before you install ROS-Melodic.
Great! Now you have installed ROS-Melodic on your jetson nano. You can type the code bellow to test:
After test done, remember press [ctrl]+[c] in terminal for shutdowning the master node.
This step is the last step and make sure you have done:
OK! Before building the workspace, there are some dependencies for the project jetfalcon. Please type the command below to install these dependencies:
Next, please type the command below to build the workspace for project jetfalcon.
Building workspace will take some times. You can buy a coffee or relax yourself in building time :).
After building done, please type the command below for setting up the operating environment in the terminal:
And then update the operating environment in the terminal, you can find some information shown on the terminal.
There are many paramters to define the Jetfalcon's motion, but every Jetfalcon must need different values of the parametes to move. Therefore, There are many "default" parameters in the project jetfalcon and we need to copy these to the different Jetfalcon. We use hostname to distinguish different Jetfalcon, so copy these parameter from "default" to "hostanme" is the needed step. Please type the command below to copy the default parameters:
There are three different informations can be shown on the terminal
Copy file.. : copy the default parameter to hostname parameter
File … exsted.. : the hostname parameter had existed and pass it.
There are special..: must adjust manually
Now we have set up the operating environment! Please visit it to go next unit: 1. Jetfalcon and teleoperation.