Implemented the RANSAC algorithm in the SLAM class.

This commit is contained in:
Quinn
2023-04-06 00:45:33 -05:00
parent dea6794c05
commit fc9d4e497b
3 changed files with 91 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ public class Processing extends PApplet {
processing = this;
car = new Car(processing, 100,100,50,40);
size(1000, 1000);
car.addView(60,6);
car.addView(180,180);
for(int i = 0; i < 20; i++){
Wall wall = new Wall(processing, new PVector((int)random(40, 1840), (int)random(40, 960)), (int)random(360), (int)random(100, 1000));
objects.add(wall);