This is just a scrapbook with ideas i can use for my robot’s project

Mapping the room

The room will be mapped using two (or maybe 2) ultrasonic distance sensors.

The sensors can be calibrated using a constant, like a certain length of cardboard or wood. This will be used to know how long (for example) 10 centimetres is.

Use a 90 degree angle wall to see how long it takes to make a quarter turn. check the distance sensor to see when the turn goes too far, use that to calibrate the rotating

The distances can be converted to coordinates and and are stored in a list, that list can be interpreted to a space or room.