(Python)
I did a program that make fly my drone using a very basic pattern : If the drone isnt close to à wall,she goes forward. If the drone is a bit close to the wall, she slows down, if she's really close, she stops,then rotates,and does it again.
Now that he can fly without steering, i wanna make her map the room.
I dont know how to start, can someone help me ?
I dont expect the whole solution,even a track will make me happy ^^
I tried to use lists to stock the distances i get when the drone slows down, but this is where im stucked, i dont know how to use theses values to get a map of the room.