Record a Lap Using a MATLAB Script

Aus HSHL Mechatronik
Zur Navigation springen Zur Suche springen

record, storing, data manipulation, calibration

Record a Lap

After successfully recording the lab, an essential step is to provide quality data for the AI by cleaning and filtering the data (removing noise). These can be achieved through the following.

data manipulation

  • Normalization:

The set of steps applied to raw data to make it clean and suitable for analysis or modeling covers tasks like handling missing values, encoding categories, removing outliers, and feature scaling.

Tabelle 9: Matlab Setup For Normalisation
# Name Description Pictures
1 Standardization: Ensuring every image treated is of the same size and dimension
Fig. 18: Standardization OF Frame Dimension


  • Pre-processing:
Tabelle 10: Matlab Setup for Pre-processing
# Name Description Pictures
1 handling missing values: Check for valid and delete missing steering or frames
Fig. 19: Frames And Steering Values Check
2 removing outliers: Filter and remove unnecessary layers before training (usually needed when fine-tuning).
Fig. 20: Outlayer

calibration

There are unusual distortions caused by the camera lens on the image; these distortions can cause noises in the input, hence reducing the AI's accuracy. Fixing these distortions can be done through calibration of the the camera [1]. screenshot

Results

Tabelle 11: Calibration Output
# Name Description Pictures
1 Results:
Fig. 21: Camera Setup For Image Without Calibration
Fig. 22: Camera Setup For Image With Calibration