-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,42 @@ | ||
--- | ||
title: Week 7 - prueba git | ||
title: Week 7 - Pruebas del Piloto Automático Seguidor de línea con robot Turtlebot2 | ||
categories: | ||
- weekly Log | ||
tags: | ||
- Turtlebot2 | ||
- ROS 2 | ||
- turtlebot2 | ||
- openCV | ||
- PID | ||
- OpenCV | ||
- tensorFlow | ||
--- | ||
|
||
prueba git | ||
### Prueba del Turtlebot2 | ||
|
||
Para entrenar la red CNN PilotNet, se empleó un controlador PID seguidor de línea como experto para regular el ángulo de giro. Este control se basa en el cálculo del error de posición utilizando visión artificial, donde se detecta la línea y el centro de la imagen. | ||
|
||
<iframe width="1280" height="720" src="https://www.youtube.com/embed/BMUeovjOb2I" title="Turtlebot2 prueba de piloto PilotNet" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> | ||
|
||
*Prueba piloto en sentido contra el reloj* | ||
|
||
|
||
Para la creación del conjunto de datos, se recopilaron 80,000 imágenes etiquetadas con velocidad lineal y angular. Los datos se dividieron en 70% para entrenamiento y 30% para la validación. Se diseñó el dataset utilizando una pista con pocas rectas para evitar problemas de balanceo fuerte, aunque se agregaron datos adicionales para mejorar este equilibrio. Además, se implementó el aumento de datos mediante la biblioteca Albumentations, utilizando funciones como HorizontalFlip, ColorJitter, RandomBrightnessContrast, RandomGamma, HueSaturationValue, FancyPCA y GaussianBlur. | ||
|
||
En cuanto al entrenamiento, se utilizó la arquitectura PilotNet durante 63 épocas, empleando la métrica de error cuadrático medio (MSE). | ||
|
||
Se realizaron validaciones aleatorias en algunas imágenes y se compararon con las predicciones, obteniendo resultados muy similares. | ||
|
||
<figure class="half"> | ||
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/week8/pilotnetsteering.png" alt="" style="width:100%"> | ||
<figcaption>imagen-dataset</figcaption> | ||
</figure> | ||
|
||
|
||
<figure class="half"> | ||
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/week8/pilotnet_prediction.png" alt="" style="width:100%"> | ||
<figcaption>imagen-dataset</figcaption> | ||
</figure> | ||
|
||
|
||
<figure class="half"> | ||
<img src="{{ site.url }}{{ site.baseurl }}/assets/images/week8/pilotnet_epoch.png" alt="" style="width:100%"> | ||
<figcaption>imagen-dataset</figcaption> | ||
</figure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Week 8 - Pruebas del Piloto Automático Seguidor de línea con robot Turtlebot2 | ||
categories: | ||
- weekly Log | ||
tags: | ||
- Turtlebot2 | ||
- ROS 2 | ||
- OpenCV | ||
- tensorFlow | ||
--- | ||
|
||
|
||
|
||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.