What's the best way to do this? I want to have the robot scan 360degrees (robot stays stationary - just sensor rotates via servo) , build a map and then use that map to navigate trough.
Code: Select all
lejos.geom.Rectangle bounds = new Rectangle(-50, -50, 250, 250);
The -50, -50 represents the X and Y, but what are these for? Why do we need them and what do they represent?