Page tree
Skip to end of metadata
Go to start of metadata

This document describes the installation of the PerceptionCore or TrueColor Cam on Nvidia Jetson devices.

The workflow is the same for both applications, so we only describe the installation of the Perception Core. When installing TrueColor Cam, please use the installation packages

Get OS Version

Depending on the installed Jetpack and OS version preconditions have to be met.

  1. Please connect your device with a monitor, mouse, keyboard and the internet and power it on.
  2. Open a terminal, e.g. "xterm" and enter the command lsb_release -a. The system provides the OS description.

    lsb_release -a
    nvidia@tegra-ubuntu:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 16.04.4 LTS
    Release:        16.04
    Codename:       xenial
    nvidia@tegra-ubuntu:~$

Ubuntu 16.04

If the release is Ubuntu 16.04 then please

  1. Download perceptionpark_cuda-8.0_installation.tgz (1.2 GB) to your device.
  2. Execute the following commands:

    Install cuda 8.0
    nvidia@tegra-ubuntu:~$ tar -xf perceptionpark_cuda-8.0_installation.tgz
    nvidia@tegra-ubuntu:~$ cd perceptionpark_cuda-8.0_installation/
    nvidia@tegra-ubuntu:~/perceptionpark_cuda-8.0_installation$ ./PP_Install_Cuda_8.0.sh            
    [sudo] password for nvidia:
    (Reading database ... 177987 files and directories currently installed.)
    Preparing to unpack .../cuda-repo-l4t-8-0-local_8.0.84-1_arm64.deb ...
    .
    .
    .
    nvidia@tegra-ubuntu:~/perceptionpark_cuda-8.0_installation
  3. Download PerceptionCore_2.0.5561_ubuntu16.04.tgz to your device.
  4. Execute the following commands:

    Install Perception Core on Ubuntu 16.04
    nvidia@tegra-ubuntu:~$ tar -xf PerceptionCore_2.0.5561_ubuntu16.04.tgz
    nvidia@tegra-ubuntu:~$ cd PerceptionCore_2.0.5561
    nvidia@tegra-ubuntu:~/PerceptionCore_2.0.5561$ ./install.sh
    Welcome to Perception Core installer!
    .
    .
    .
    Do you want the software to run automatically on log in?(y/n)
    y
    REBOOT REQUIRED
  5. The next steps are common for all OS version, please proceed to Common.

Ubuntu 18.04

If the release is Ubuntu 18.04 then please

  1. Download PerceptionCore_2.0.5561_ubuntu18.04.tgz to your device.
  2. Execute the following commands and choose, if the core should be started automatically.

    Install Perception Core on Ubuntu 18.04
    nvidia@tegra-ubuntu:~$ tar -xf PerceptionCore_2.0.5561_ubuntu18.04.tgz
    nvidia@tegra-ubuntu:~$ cd PerceptionCore_2.0.5561
    nvidia@tegra-ubuntu:~/PerceptionCore_2.0.5561_ubuntu18.04$ ./install.sh
    Welcome to Perception Core installer!
    .
    .
    .
    Do you want the software to run automatically on log in?(y/n)
    y
    REBOOT REQUIRED
  3. The next steps are common for all OS version, please proceed to Common.

Common

  1. Reboot

  2. Increase the read buffers for the network card which is connected to the camera

    1. Install ethtool

      Install ethtool
      nvidia@tegra-ubuntu:~$ sudo apt install ethtool
      [sudo] password for nvidia:
      ...
      nvidia@tegra-ubuntu:~$
    2. Change the current read buffer size of the used network card (in this case eth1) and check if it is set

      nvidia@tegra-ubuntu:~$ sudo ethtool -G eth1 rx 2048
      nvidia@tegra-ubuntu:~$ ethtool -g eth1
      Ring parameters for eth1:
      Pre-set maximums:
      RX:             4096
      RX Mini:        0
      RX Jumbo:       0
      TX:             4096
      Current hardware settings:
      RX:             2048
      RX Mini:        0
      RX Jumbo:       0
      TX:             256
      nvidia@tegra-ubuntu:~$
    3. Edit file /etc/rc.local to make the above change persistent

      nvidia@tegra-ubuntu:~$ sudo gedit /etc/rc.local
      [sudo] password for nvidia:
      ...
    4. Add /sbin/ethtool -G eth1 rx 2048 to the file

      /etc/rc.local
      #!/bin/sh -e
      #
      # rc.local
      #
      # This script is executed at the end of each multiuser runlevel.
      # Make sure that the script will "exit 0" on success or any other
      # value on error.
      #
      # In order to enable or disable this script just change the execution
      # bits.
      #
      # By default this script does nothing.
      
      /sbin/ethtool -G eth1 rx 2048
      exit 0
  3. Change the maximum transfer unit of the network card the network gui (System Settings > Network > CHOSEN_NIC > Options...)
  4. If the camera shall be directly connected to your device
    1. set a fixed ip for the network card

    2. set a fixed ip (in the same subnet as your network card) for the camera with GenICam browser (on an other machine) and then connect it to the network card
    3. Connect the camera!
  5. Enjoy!

 

 

 

  • No labels