re-established previous function
							parent
							
								
									9a2f282e4b
								
							
						
					
					
						commit
						78fe603933
					
				|  | @ -258,8 +258,8 @@ void save2D(const NonlinearFactorGraph& graph, const Values& config, | ||||||
|     if (!factor) |     if (!factor) | ||||||
|       continue; |       continue; | ||||||
| 
 | 
 | ||||||
|     Pose2 pose = factor->measured(); //.inverse();
 |     Pose2 pose = factor->measured().inverse(); | ||||||
|     stream << "EDGE2 " << factor->key1() << " " << factor->key2() << " " |     stream << "EDGE2 " << factor->key2() << " " << factor->key1() << " " | ||||||
|         << pose.x() << " " << pose.y() << " " << pose.theta() << " " |         << pose.x() << " " << pose.y() << " " << pose.theta() << " " | ||||||
|         << RR(0, 0) << " " << RR(0, 1) << " " << RR(1, 1) << " " |         << RR(0, 0) << " " << RR(0, 1) << " " << RR(1, 1) << " " | ||||||
|         << RR(2, 2) << " " << RR(0, 2) << " " << RR(1, 2) << endl; |         << RR(2, 2) << " " << RR(0, 2) << " " << RR(1, 2) << endl; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue