Some renaming/cleanup
							parent
							
								
									d5d70d7751
								
							
						
					
					
						commit
						3cb76ad95d
					
				
										
											Binary file not shown.
										
									
								
							|  | @ -0,0 +1 @@ | |||
| % load the Toro 2D dataset and build pose graph | ||||
|  | @ -1,7 +1,7 @@ | |||
| load beijing.mat; | ||||
| load beijing_angles.mat; | ||||
| load beijing_graph.mat; | ||||
| %load beijing_config.mat; | ||||
| load beijing_config.mat; | ||||
| 
 | ||||
| cov = [ 0.25, 0, 0; 0, 0.25, 0; 0, 0, 0.01]; | ||||
| 
 | ||||
|  | @ -11,7 +11,7 @@ factors2 = Pose2Graph; | |||
| ord2 = Ordering(); | ||||
| 
 | ||||
| [rows cols] = find(tree); | ||||
| for i=1:length(edge_order) | ||||
| for i=length(edge_order):-1:1 | ||||
|     if mod(i,500) == 0 | ||||
|         fprintf(1, 'processing edge %d\n', i); | ||||
|     end | ||||
|  | @ -36,7 +36,7 @@ for i=1:length(edge_order) | |||
| end | ||||
| ord2.unique(); | ||||
| 
 | ||||
| if 1 | ||||
| if 0 | ||||
|     config=Pose2Config(); | ||||
|     n=size(points,1); | ||||
|     for j=1:n | ||||
|  | @ -70,6 +70,12 @@ R = qr(A,0); | |||
| figure(3) | ||||
| spy(R) | ||||
| 
 | ||||
| % plot on map | ||||
| figure(7) | ||||
| gplot(tree,points) | ||||
| %gplot(tree,points) | ||||
| axis equal | ||||
| 
 | ||||
| % show re-ordered R factor | ||||
| % P = colamd(A); | ||||
| % figure(4) | ||||
|  |  | |||
|  | @ -1,53 +0,0 @@ | |||
| % automatically generated by wrap on 2009-Dec-11 | ||||
| echo on | ||||
| 
 | ||||
| toolboxpath = '/Users/dellaert/toolbox/gtsam' | ||||
| addpath(toolboxpath); | ||||
| 
 | ||||
| % cd(toolboxpath) | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam new_Pose2_.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam new_Pose2_P.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam new_Pose2_ddd.cpp | ||||
| %  | ||||
| % cd @Pose2 | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam print.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam equals.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam x.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam y.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam theta.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam dim.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam exmap.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam vector.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam rotate.cpp | ||||
| 
 | ||||
| cd(toolboxpath) | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam new_Pose2Config_.cpp | ||||
| 
 | ||||
| cd @Pose2Config | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam get.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam insert.cpp | ||||
| % mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam print.cpp | ||||
| 
 | ||||
| cd(toolboxpath) | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam new_Pose2Factor_ssPM.cpp | ||||
| 
 | ||||
| cd @Pose2Factor | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam print.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam equals.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam error.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam size.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam linearize.cpp | ||||
| 
 | ||||
| cd(toolboxpath) | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam new_Pose2Graph_.cpp | ||||
| 
 | ||||
| cd @Pose2Graph | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam print.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam equals.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam linearize_.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam push_back.cpp | ||||
| mex -I/opt/local/include/ -I/Users/dellaert/include -I/Users/dellaert/include/gtsam -L/Users/dellaert/lib -lgtsam getOrdering_.cpp | ||||
| 
 | ||||
| cd(toolboxpath) | ||||
| 
 | ||||
| echo off | ||||
		Loading…
	
		Reference in New Issue