forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rmpath_drake.m
30 lines (26 loc) · 1.1 KB
/
rmpath_drake.m
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
function rmpath_drake
root = getDrakePath();
if ispc
p = getenv('PATH');
warning('Drake lib directories have been added to your system path and are not removed (yet)');
% todo: remove added paths
end
rmpath(fullfile(root,'systems'));
rmpath(fullfile(root,'systems','plants'));
rmpath(fullfile(root,'systems','plants','collision'));
rmpath(fullfile(root,'systems','plants','constraint'));
rmpath(fullfile(root,'systems','controllers'));
rmpath(fullfile(root,'systems','observers'));
rmpath(fullfile(root,'systems','trajectories'));
rmpath(fullfile(root,'systems','frames'));
rmpath(fullfile(root,'systems','visualizers'));
rmpath(fullfile(root,'systems','robotInterfaces'));
rmpath(fullfile(root,'solvers'));
rmpath(fullfile(root,'util'));
rmpath(fullfile(root,'thirdParty'));
rmpath(fullfile(root,'thirdParty','path'));
rmpath(fullfile(root,'thirdParty','spatial'));
rmpath(fullfile(root,'thirdParty','cprintf'));
rmpath(fullfile(root,'thirdParty','GetFullPath'));
javarmpath(fullfile(pods_get_base_path,'share','java','drake.jar'));
javarmpath(fullfile(pods_get_base_path,'share','java','lcmtypes_drake.jar'));