-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartup.m
More file actions
executable file
·32 lines (30 loc) · 888 Bytes
/
startup.m
File metadata and controls
executable file
·32 lines (30 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Matlab code to test Multi-robot SLAM strategies
%
%
%
clc;
disp(' ');
disp(' Multi-robot SLAM toolbox');
disp(' by Viorela Ila');
disp(' requires slam-optim-matlab toolbox');
disp(' ');
disp(' ');
SuiteSparsePath_ela='~/Work_mac/code/SuiteSparse';
SuiteSparsePath_others='~/borg/SuiteSparse';
slam_optimPath='~/LAAS/matlab/slam-optim-matlab';
if exist(SuiteSparsePath_ela,'dir')
path(path,genpath(SuiteSparsePath_ela));
path(path,genpath(slam_optimPath));
path(path,genpath(pwd));
elseif exist(SuiteSparsePath_others,'dir')
path(path,genpath(SuiteSparsePath_others));
path(path,genpath(slam_optimPath));
path(path,genpath(pwd));
else
disp(' Can not find SuiteSparse !! ');
path(path,genpath(slam_optimPath));
path(path,genpath(pwd));
end
clear SuiteSparsePath_ela;
clear SuiteSparsePath_others;
clear slam_optim_Path;