Commit Graph

7065 Commits (eda6bf5ffe43c7f0f3d743c59650e75603d7fc8c)

Author SHA1 Message Date
Mike Bosse ab76a306b7 using dynamic_cast to check base class typeid 2014-10-28 08:54:41 +01:00
Mike Bosse bc094951ed all values in Values container are now a ChartValue<ValueType, Chart=DefaultChart<ValueType> >
ChartValues are GenericValues and a Chart, which defaults to DefaultChart
had to make charts functional (ie no storage of the chart origin) so that they could be zero sized base class
otherwise there would have been a double of the memory for values (ones for the value, and once for the chart origin, which default to the same)

most tests work, execept for serialization based stuff, and const filtering of values.
2014-10-28 00:57:44 +01:00
cbeall3 fdaaf4c558 Add intermediate file for round-trip dataset test to ignore 2014-10-25 20:20:35 -04:00
cbeall3 f833472898 Remove intermediate file for dataset I/O test 2014-10-25 20:18:55 -04:00
Mike Bosse 9ef8980362 using static_cast in GenericValue's virtual functions
should be more efficient, but perhaps will crash instead of throwing an exception when the Value& derived class doesn't match.
2014-10-25 22:23:26 +02:00
Mike Bosse c2cdd21a7a added cast<ValueType> function to Value 2014-10-25 12:18:12 +02:00
Chris Beall 60ebd9cb4e rename simple namespace to avoid clash on Windows 2014-10-25 06:01:20 -04:00
Chris Beall f19cb3e677 Change expected error value back to negative, as it was (accidentally?) flipped after recent pull request , which didn't pass. The negative value, which I believe to be correct, passes in Quaternion mode, Full Expmap mode, as well as regular rotation matrix mode (with a lesser tolerance.) 2014-10-25 01:08:59 -04:00
Mike Bosse 4a3dc51f85 more tests work, except for serialization based tests 2014-10-24 23:47:02 +02:00
Mike Bosse 5b2a61682d tests compiling, but many fail 2014-10-24 22:38:03 +02:00
cbeall3 f916531492 remove typename from non-templated class 2014-10-24 13:06:45 -04:00
cbeall3 1dec2c230c Kill unused variables 2014-10-24 13:01:30 -04:00
Mike Bosse 1fadda83e0 removed DerivedValue<> inheritence from classes 2014-10-24 18:34:06 +02:00
Mike Bosse 0681212084 GenericValue based on defined traits to replace DerivedValue, first implementation 2014-10-24 16:59:37 +02:00
Chris Beall eeb0293f27 Merged in feature/FixQuaternion (pull request #22)
Was quaternion (somewhat) broken ?
2014-10-24 09:53:50 -04:00
Mike Bosse 95827dd4d8 GenericValue.h copied from DerivedValue.h 2014-10-24 11:27:38 +02:00
cbeall3 265bd1972d Fix for flipped sign in quaternion mode on Linux and Windows 2014-10-23 17:08:30 -04:00
dellaert c1c6a30e50 Removed print statement 2014-10-23 22:39:07 +02:00
Siddharth Choudhary f81fa0a203 Unit test for load2D for victoria park dataset 2014-10-23 15:51:47 -04:00
dellaert cfe56a0aa8 Removed transpose_. It did speed up things but was bad design. Will need to profile again and find different ways to cope with transpose() overhead. One way is to return a Eigen::Transpose<> object as hinted to in comments. 2014-10-23 19:13:37 +02:00
dellaert 79efd2f3fc SLERP with Zhaoyang, not really part of BAD, but here it originated :-) 2014-10-23 19:11:44 +02:00
Zhaoyang Lv af50ad0777 Merged in hotfix/cmakeMac (pull request #23)
Fix issue 124
2014-10-23 09:00:50 -04:00
dellaert e7ec6b3fa5 Fixed size 2014-10-23 12:04:16 +02:00
dellaert e58317ed7d Tightened some tests, fixed LieVector issues 2014-10-23 12:04:02 +02:00
dellaert 77e7f0437d Merge remote-tracking branch 'origin/feature/FixQuaternion' into feature/BAD
Conflicts:
	gtsam/geometry/tests/testRot3M.cpp
	gtsam/geometry/tests/testRot3Q.cpp
2014-10-23 10:03:10 +02:00
dellaert 845697555a Fixed tests for Quaternion mode but Pose3 not in EXPMAP mode 2014-10-23 09:52:35 +02:00
dellaert 056254bf93 Optimized a bit more 2014-10-23 09:51:43 +02:00
lvzhaoyang c3ac45b05b issue #124. Turn off Mac RPATH on non Mac machines work. 2014-10-22 23:42:35 -04:00
lvzhaoyang fc21cb49cb issue#124. Turn off MacOS relative flag in building cmake. 2014-10-22 23:27:01 -04:00
cbeall3 a0be48ef75 revert from fixed size vectors to make it compile with existing numericalDerivatives 2014-10-22 22:00:25 -04:00
dellaert 941d6dfe07 Fixed LogMap - something fishy in Eigen? Or at least low-accuracy. 2014-10-23 01:54:46 +02:00
dellaert 19e34489cf Made a common test 2014-10-23 01:54:14 +02:00
dellaert 49ff33602d Undid change 2014-10-23 01:44:04 +02:00
dellaert 9b35206a4f target 2014-10-23 01:43:54 +02:00
Siddharth Choudhary de175ea128 Moved NoiseFormatAUTO check out of switch case 2014-10-22 19:00:39 -04:00
Siddharth Choudhary 59db3b72aa Changed default NoiseFormat to NoiseFormatAUTO which tries to guess the noise format. 2014-10-22 17:49:18 -04:00
dellaert 0501750c7c Fixed accuracy and size issues in Quaternion mode 2014-10-22 22:54:25 +02:00
dellaert 8902979944 Added target 2014-10-22 22:50:43 +02:00
dellaert 483d713859 unrotate is same now, with transpose_ 2014-10-22 22:16:35 +02:00
dellaert 5a792c8847 No Cayley in quaternion mode 2014-10-22 21:55:35 +02:00
dellaert 0f26842073 Added transpose_ in Quaternion mode 2014-10-22 21:55:11 +02:00
dellaert be676b22cf Fix some tests 2014-10-22 16:26:56 +02:00
dellaert 48a6777935 Some refactoring 2014-10-22 16:26:40 +02:00
dellaert a29f09423c Merge branch 'develop' into feature/BAD
Conflicts:
	gtsam/linear/tests/testGaussianBayesNet.cpp
2014-10-22 13:56:27 +02:00
dellaert e46be60215 Speeding up localCoordinates 2014-10-22 13:46:05 +02:00
dellaert 1061a66fc1 Speeding up localCoordinates 2014-10-22 13:45:57 +02:00
dellaert 0f53c8d5ec Timing of Ceres AutoDiff adaptor 2014-10-22 12:49:18 +02:00
dellaert e18a2164bb Fixed-size version of project2 (copy/paste!) 2014-10-22 12:48:45 +02:00
dellaert 19f0e3fc46 Fixed-size versions (copy/paste!) 2014-10-22 12:48:15 +02:00
dellaert f44e6f0187 Moved AdaptAutoDiff template in its own header file 2014-10-22 11:41:04 +02:00