Entradas

Mostrando entradas de octubre, 2023

TASK 1: LOCALIZED VACCUM CLEANER.

Imagen
 INTRODUCTION The objective of this practice is to implement the logic of a navigation algorithm for an autonomous vacuum cleaner by making use of robot's location. The robot is equipped with a map and knows its current location. The main objective is to cover the largest area of a house using the algorithm designed. Along this explanation, I am going to cover the following topics:  Map Set scenario and Cell Grid  Location  Planning: BSA and BFS Navigation Conclusion Video   MAP To start handling this task, it is important to know that the robot's map is stored in: /RoboticsAcademy/exercises/static/exercises/vacuum_cleaner_loc_newmanager/resources/mapgrannyannie.png And it is shown like this:   Also, beware that the map needs a conversion from R,G,B,A float map to another one with R,G,B int values.   To ensure that the robot will not collide with any obstacle, it is important to dilate black part of the image. However, if you use the dilate func...