mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Update showlogs.m
This commit is contained in:
@@ -106,14 +106,14 @@ else
|
|||||||
end
|
end
|
||||||
ylabel('Time (s)')
|
ylabel('Time (s)')
|
||||||
xlabel('Node indexes')
|
xlabel('Node indexes')
|
||||||
meanTime = mean(LogF(:,1))*1000
|
meanTimeMS = mean(LogF(:,1))*1000
|
||||||
plot([1 length(LogF(:,1))], [0.7 0.7], 'r')
|
plot([1 length(LogF(:,1))], [0.7 0.7], 'r')
|
||||||
plot([1 length(LogF(:,1))], [1 1], 'k')
|
plot([1 length(LogF(:,1))], [1 1], 'k')
|
||||||
%plot([1 length(LogF(:,1))], [350 350], 'r')
|
%plot([1 length(LogF(:,1))], [350 350], 'r')
|
||||||
%legend('Processing time', 'Time limit')%, 'Acquisition rate (1 Hz)')
|
%legend('Processing time', 'Time limit')%, 'Acquisition rate (1 Hz)')
|
||||||
%title('Processing time')
|
%title('Processing time')
|
||||||
|
|
||||||
maxTime = max(sum(LogF(:,2:7),2)+LogF(:,17))
|
maxTimeMS = max(sum(LogF(:,2:7),2)+LogF(:,17))*1000
|
||||||
maxDict = max(LogI(:, 6))
|
maxDict = max(LogI(:, 6))
|
||||||
maxWM = max(LogI(:,7))
|
maxWM = max(LogI(:,7))
|
||||||
%%
|
%%
|
||||||
|
|||||||
Reference in New Issue
Block a user