lines=[3 -4 3 1]';
scannerPose = [0 0 0]; %theta is in radians
maxDist = 4;
resol = 0.36;
field_of_view = 180;
laserScan = laserscan2011(scannerPose(1), scannerPose(2), scannerPose(3), lines, maxDist,resol,field_of_view);
figure(1);
polar(laserScan(1,:),laserScan(2,:),'.')
title('Ex 7, Problem 1')
scannerPose = [0 0 0]; %theta is in radians
maxDist = 4;
resol = 0.36;
field_of_view = 180;
laserScan = laserscan2011(scannerPose(1), scannerPose(2), scannerPose(3), lines, maxDist,resol,field_of_view);
figure(1);
polar(laserScan(1,:),laserScan(2,:),'.')
title('Ex 7, Problem 1')
No comments:
Post a Comment