Understand the Existing System Framework: Unterschied zwischen den Versionen

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen
Evrard.leuteu-feukeu@stud.hshl.de (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Evrard.leuteu-feukeu@stud.hshl.de (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 29: Zeile 29:
* Install puTTY on pc to use SSH key
* Install puTTY on pc to use SSH key
[[Datei:PuTTY configuration.png]]
[[Datei:PuTTY configuration.png]]


=== Library to be installed ===
=== Library to be installed ===
* Open the terminal locally or on puTTY and install these libraries :
* Download and open the terminal locally or on puTTY to install these libraries :
{| class="wikitable"
{| class="wikitable"
|+ Tabelle 2: Installation Requirements
|+ Tabelle 2: Download And Installation Requirements
|-
! # !! Name !! command !! Description !! Download
|-
| 1 || install sdl1.2 version. || <code> sudo apt-get update</code>    <code>sudo apt-get install libsdl1.2-dev</code> || ||
|-
| 2 || Install the CUDA repo metadata || <code> sudo apt-get update</code> <code>sudo dpkg -i cuda-repo-l4t-r19.2_6.0-42_armhf.deb</code> ||  ||
|-
| 3 || Install "cuda-toolkit-10-2" || <code> sudo apt-get update</code>    <code>sudo apt-get install cuda-toolkit-10-2</code> || ||
|-
|-
! # !! Name !! command !! Description
| 4 || add Path|| echo "# Add CUDA bin & library paths:" >> ~/.bashrc
          echo "export PATH=/usr/local/cuda/bin:$PATH" >> ~/.bashrc
          echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
          source ~/.bashrc <code> sudo apt-get update</code>  ||  ||
|-
|-
| 1 || Matlab || ||Version compatible with cuda 10.2 [[https://de.mathworks.com/support/requirements/supported-compilers.html]]
| 5 || install sdl1.2 version. || <code> sudo apt-get update</code>    <code>sudo apt-get install libsdl1.2-dev</code> || ||
|-
|-
| 2 || [https://developer.nvidia.com/embedded/jetpack-sdk-461 Jetpack SDK 4.6.1] || || Flash software with balenaEtcher on SD-cerd
| 6 || [Install the CUDA || <code> sudo apt-get update</code> <code>sudo dpkg -i cuda-repo-l4t-r19.2_6.0-42_armhf.deb</code> || ||
|}
|}


=== Matlab Setup ===
=== Matlab Setup ===
[[Datei:Matlab adons.png|mini]]
[[Datei:Matlab adons.png|mini]]

Version vom 2. Mai 2025, 11:23 Uhr

Hardware Setup And Requirement

Tabelle 1: Software and Hardware Requirements
# Name Description
1 External PC Matlab will be installed and Gpu for training
2 Jetracer TX1 Camera senor, game pad, AI chip, external monitor, mouse and keyboard (to access the software)
3 SD Card 16Gb SD-cerd and SD-card reader
4 Matlab Version compatible with cuda 10.2 [[1]]
5 Jetpack SDK 4.6.1 Flash software with balenaEtcher on SD-cerd

Setup

  • For the setup of Jetracer hardware it can be easily done following the manual [2], [[3]] and assemble it [4] .
  • For MAtlab, install the following AdOns:


Connect MATLAB & JETRACER

Jetracer Setup

  • Connect JETRACER with a computer with HDMI, mouse, ethernet cable and keyboard.
  • It will bring default Linux version and keep procced to setup. Keep username = jetracer & password = jetson during setup.
  • After setup open the command window and give command ifconfig to get the Ip address of Jetracer.
  • If connection is via WLAN the Ip will change and change accordingly.
  • Install puTTY on pc to use SSH key


Library to be installed

  • Download and open the terminal locally or on puTTY to install these libraries :
Tabelle 2: Download And Installation Requirements
# Name command Description Download
1 install sdl1.2 version. sudo apt-get update sudo apt-get install libsdl1.2-dev
2 Install the CUDA repo metadata sudo apt-get update sudo dpkg -i cuda-repo-l4t-r19.2_6.0-42_armhf.deb
3 Install "cuda-toolkit-10-2" sudo apt-get update sudo apt-get install cuda-toolkit-10-2
4 add Path echo "# Add CUDA bin & library paths:" >> ~/.bashrc
          echo "export PATH=/usr/local/cuda/bin:$PATH" >> ~/.bashrc
          echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
          source ~/.bashrc  sudo apt-get update  ||  ||
5 install sdl1.2 version. sudo apt-get update sudo apt-get install libsdl1.2-dev
6 [Install the CUDA sudo apt-get update sudo dpkg -i cuda-repo-l4t-r19.2_6.0-42_armhf.deb

Matlab Setup