Entradas

Mostrando entradas de diciembre, 2021

P3B Car junction

Imagen
  In this practise we have to make able out car to negociate a car junction. So in order to make this practise let's divide it in some parts: 1. Detect stop signal 2. Look both sides 3. Turn left 1. Detect stop signal First of all we have to make able our car to stop when it reach the stop signal. The car would have a constant lineal velocity and when it detects de stop signal it will start decelerating. To detect the stop firstly i used a red colour filter, but there are some building that also have red parts so the car detect a red signal when it really wasn't. In order to detect truely the stop signal, once the color filter detect something i compare it (cropping it with it's bounding box) with the shape of a true stop signal. Shape stop signal.                                                           ...

P3 Autoparking

Imagen
 In this practise we have to make an autonomus car park in a place between two cars. For this task we have three Lidars that would help it make the maniouver to place correctly without chrashing with anything. To make this exercise im going to divide the problem into three main parts: 1. Detect the place 2. Position the car to start the maneuvering 3. Maniouvers 1. Detect the place Before be able to detect the place we should know where hare positioned the Lidars and which information they give to us. The  platform  provides us three functions: HAL.getFrontLaserData()  - to obtain the front laser sensor data It is composed of 180 pairs of values: (0-180º distance in millimeters) HAL.getRightLaserData()  - to obtain the right laser sensor data It is composed of 180 pairs of values: (0-180º distance in millimeters) HAL.getBackLaserData()  - to obtain the back laser sensor data It is composed of 180 pairs of values: (0-180º distance in millimeters) But, where ...