Skip to content

Latest commit

 

History

History
114 lines (75 loc) · 4.29 KB

software_setup.md

File metadata and controls

114 lines (75 loc) · 4.29 KB

Software Setup

If you have built a 3rd-pary Jetracer kit (other than our DIY vehicles based on Latrax Rally or Tamiya TT-02), the following method (and the SD card images) may not work.
Please check the manufacture's instruction on its kit's specific software setup.

After finishing these steps, you'll be all set to program JetRacer. Once you're finished, run through the examples.

Step 1 - Flash micro SD card

  1. Download a JetCard SD card image listed in below table onto a Windows, Linux or Mac desktop machine
  2. Insert a 32GB+ SD card into the desktop machine
  3. Using Etcher select the downloaded zip file and flash it onto the SD card
  4. Remove the SD card from the desktop machine

Latest Release (** but not yet fully verified ** )

Please note, the password for the pre-built SD card is jetson

Platform Board revision JetPack Version Download MD5 Checksum
Jetson Nano (4GB) A02 and B01 4.5.1 jetcard_nano-4gb-jp451.zip 3195c91e6069c0418ec3c9736d130d01

Old Release

Please note that this image is only for the older A02 revision of Jetson Nano board, which has only one camera (CSI) connector onboard.

Platform Board revision JetPack Version Download MD5 Checksum
Jetson Nano (4GB) A02 4.2 jetcard_v0p0p0.zip f7b635a651e4a2228e3812360cce74e3

Step 2 - Power on and connect over USB

  1. Insert the configured SD card into the Jetson Nano module

  2. Power on by plugging the USB barrel plug adapter into the USB battery pack

  3. Connect your Windows, Linux, or Mac machine to the Jetson Nano via micro USB

  4. On your Windows, Linux, or Mac machine, open a browser and navigate to 192.168.55.1:8888

  5. Sign in using the default password jetson

Step 2 - Connect JetRacer to WiFi

  1. Open a terminal in Jupyter Lab by clicking File -> New -> Terminal

  2. In the terminal, type the following command to list available WiFi networks, and find the ssid_name of your network.

    sudo nmcli device wifi list
  3. Connect to the selected WiFi network

    It should be on the same network that you will be webprogramming from

    sudo nmcli device wifi connect <ssid_name> password <password>
  4. Note down the WiFi IP address (inet) of the WiFi interface wlan0 returned by the following command. We'll call this jetson_ip_address

    ifconfig

Step 4 - Connect to JetRacer over WiFi

  1. Unplug the micro USB cable from the Jetson Nano

  2. Close the previous Jupyter Lab browser tab

  3. Open a new browser tab and navigate to http://<jetson_ip_address>:8888

  4. Sign in with the password jetson

Step 5 - Install Python packages

If you're using the latest JetCard image (targeting JetPack 4.5.1 or later), you can skip this step. The latest JetCard image comes with these packages pre-installed.

  1. Open a terminal and call the following to install the JetCam Python package.

    cd $HOME
    git clone https://github.com/NVIDIA-AI-IOT/jetcam
    cd jetcam
    sudo python3 setup.py install
  2. Execute the following command to install the torch2trt Python package

    cd $HOME
    git clone https://github.com/NVIDIA-AI-IOT/torch2trt
    cd torch2trt
    sudo python3 setup.py install
  3. Execute the following in a terminal to install the JetRacer package

    cd $HOME
    git clone https://github.com/NVIDIA-AI-IOT/jetracer
    cd jetracer
    sudo python3 setup.py install

Step 6 - Set the Jetson Nano to 5W mode

To prevent the Jetson Nano from drawing more power than the battery can supply, we set it to 5W mode

  1. Open a terminal and call the following to set 5W mode

    sudo nvpmodel -m1

Next

Next, follow run through the examples.