Improve the Controller (e.g., PD Controller): 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 1: Zeile 1:
== [[Improve the Controller]] ==
== [[Improve the Controller]] ==
As mentioned in the previous chap,  
As mentioned in the previous chapter, instead of recreating the Python library with MATLAB script, we create a Python library that will run all necessary libraries needed to operate the JetRacer, then run it with MATLAB in the background.
=== [[Jetracer]] ===
=== [[Jetracer]] ===
*Requirements:
#Jupyter libraries containing jetracer.nvidia_racecar must be working
#Install pygame library on jetson nano with sudo pip install pygame
#Create a python file that will import pygame and import NvidiaRacecar
=== [[Matlab]] ===
After the above requirements are satisfied, we then proceed to call the library in the background as shown below:
=== [[Results]] ===
jtest etc
jtest etc
=== [[Matlab]] ===
how to call library in the background

Version vom 13. Mai 2025, 12:16 Uhr

Improve the Controller

As mentioned in the previous chapter, instead of recreating the Python library with MATLAB script, we create a Python library that will run all necessary libraries needed to operate the JetRacer, then run it with MATLAB in the background.

Jetracer

  • Requirements:
  1. Jupyter libraries containing jetracer.nvidia_racecar must be working
  2. Install pygame library on jetson nano with sudo pip install pygame
  3. Create a python file that will import pygame and import NvidiaRacecar

Matlab

After the above requirements are satisfied, we then proceed to call the library in the background as shown below:

Results

jtest etc