Commit Graph

687 Commits (release/4.3a0)

Author SHA1 Message Date
Alex Cunningham 17bf0f0169 Added static and shared versions of gtsam 2011-12-15 16:17:58 +00:00
Andrew Melim 5a75c9e963 Fixed bug with Argument.cpp due to different constructor argument starting with the name letter 2011-12-14 21:10:56 +00:00
Alex Cunningham 3afc03cf04 Moved installation of 3rdparty headers into separate cmake file, install some wrap components 2011-12-14 02:24:25 +00:00
Alex Cunningham 5dd461c5b1 Added make check equivalent 2011-12-14 02:24:23 +00:00
Alex Cunningham 61d05813ff Library now builds and all tests run with cmake 2011-12-14 02:24:21 +00:00
Alex Cunningham 6a0da1519a Cleanup in wrap 2011-12-11 21:09:07 +00:00
Alex Cunningham 06dbc2b650 Changed namespace mechanism in wrap to "using namespace gtsam;" inside gtsam.h 2011-12-09 20:29:47 +00:00
Alex Cunningham 4e5a80aa56 Removed extraneous headers that were previously needed for wrap, added start of simulated2D and simulated2DOriented domains to gtsam.h, more wrap documentation 2011-12-09 16:36:50 +00:00
Alex Cunningham c302a50146 Added an implementation of the planarSLAM to gtsam.h using manual includes and namespaces, removed old duplicate header files 2011-12-09 15:44:37 +00:00
Alex Cunningham 9dff4c35bd Added include overrides to parser 2011-12-09 15:44:35 +00:00
Alex Cunningham ead8247bd7 Added namespace support to return classes 2011-12-08 20:51:17 +00:00
Alex Cunningham 66711e1faa Added namespace support to arguments 2011-12-08 20:51:15 +00:00
Alex Cunningham 48a2056020 Added codegen for namespace handling, examples exercising namespaces 2011-12-08 20:51:13 +00:00
Alex Cunningham aa2eccbcb4 Parsing for namespaces now works in all tests 2011-12-08 20:51:08 +00:00
Alex Cunningham 90e9426d9c Added more tests for namespaces, parser now supports nested namespaces 2011-12-08 20:51:07 +00:00
Alex Cunningham 1aecb58807 Simple namespace works 2011-12-08 20:51:05 +00:00
Alex Cunningham 1130cf43e0 Limited namespace handling in wrap parser 2011-12-08 20:50:38 +00:00
Andrew Melim 56818da224 Added dependency checking to wrapper. Wrapper will now throw an exception if an object depends on another object which has not been wrapped. Tests for dependency checking added. Moved geometry.h to tests folder. 2011-12-07 17:55:38 +00:00
Alex Cunningham 92a0cf67c9 Fixed ambiguity issues with returning non-ptr classes, added new copies of functions to gtsam.h and depreciated old ones 2011-12-07 03:05:37 +00:00
Alex Cunningham 1e1511950c small tweaks, disabling broken function - need a parsing rule that distinguishes VectorValues and Vector 2011-12-07 03:05:35 +00:00
Alex Cunningham f5f59bd213 Added better handling for pairs of classes with/without pointers 2011-12-07 03:05:33 +00:00
Alex Cunningham dcc3e8d0f1 wrap: fixed errors in static function matlab codegen, added mechanism to allow for returning classes without shared_ptr 2011-12-07 03:05:30 +00:00
Alex Cunningham 58939b5684 Made the 'all' target work properly in the wrap-generated makefile 2011-12-06 16:50:27 +00:00
Andrew Melim 58ace25e33 Fixed discarded qualifier with certain methods 2011-12-05 21:18:25 +00:00
Alex Cunningham eec3f0f370 Adding support for mex extensions in wrap, configure scripts slightly broken 2011-12-05 20:54:41 +00:00
Alex Cunningham a38b7245be added an (actual) makefile to parts generated by wrap 2011-12-05 20:54:37 +00:00
Alex Cunningham fa4947b99c Fixed segfault issue with static functions 2011-12-05 16:36:48 +00:00
Alex Cunningham 3050dc2dde Added wrap components to "wrap" namespace, added options for installing wrap program 2011-12-02 16:43:15 +00:00
Alex Cunningham 221a6ad877 Added static function parsing to wrap, included Expmap/Logmap in geometric objects. Static functions appear to still crash matlab, however. 2011-12-02 02:32:18 +00:00
Alex Cunningham eb109c4dc5 Cleaned up debug code 2011-12-01 22:06:05 +00:00
Alex Cunningham 7e221aa7a1 Added comment support in wrap 2011-12-01 22:06:03 +00:00
Alex Cunningham 4b4815e97f Added more functions to wrap, started going though wrap tests 2011-12-01 18:57:32 +00:00
Alex Cunningham 8bd894275a Added flag to install matlab tests into toolbox path 2011-12-01 01:59:38 +00:00
Alex Cunningham 9d7d563688 Fixed unit test for wrap 2011-11-04 15:10:38 +00:00
Richard Roberts 8fcdfb8cb2 Don't need to 'cd' to toolbox directory to run 'make_gtsam' in matlab 2011-11-04 11:58:22 +00:00
Frank Dellaert 4cab1e6722 More fine-tuning of documentation 2011-11-04 04:27:13 +00:00
Frank Dellaert 3ce23e1f71 Fixed wrap unit test by moving emitted comments or removing them 2011-11-03 23:13:09 +00:00
Alex Cunningham cd9d3a0796 Fixed wrap check tests 2011-10-31 23:44:31 +00:00
Frank Dellaert 5d6f4ae7e5 Change ordering of comments so "doc class" works in MATLAB 2011-10-30 20:57:34 +00:00
Alex Cunningham eebef44efd Disabled use of non-gtsam-namespace Vector and Matrix in wrap/matlab.h, removed two typeof uses (one more to go) 2011-10-21 20:42:25 +00:00
Alex Cunningham d678ed3051 Fixed compile problems in tests due to TupleValues constructors, fixed testWrap 2011-10-21 19:29:50 +00:00
Frank Dellaert f62a6bda1e wrapping PlanarSLAMExample_easy 2011-10-21 16:56:50 +00:00
Frank Dellaert 9780af72d9 Added UNSAFE_WRAP flag that omits type-checking, to allow for GaussianFactor -> JacobianFactor inheritance. TODO: how can we have type safety AND inheritance? 2011-10-21 05:34:53 +00:00
Frank Dellaert ad4299e468 Added a README file, also look at matlab.h comments! 2011-10-21 05:06:51 +00:00
Frank Dellaert 5fac2aa05a Fixed instance variable naming convention 2011-10-21 02:36:09 +00:00
Frank Dellaert 307fd2737a Fixed instance variable naming convention 2011-10-21 02:35:11 +00:00
Frank Dellaert 27fd87ce8d Added some debug code triggered by adding -DDEBUG_WRAP to mex command 2011-10-21 02:19:23 +00:00
Frank Dellaert 1af9cae2e8 Added comments 2011-10-21 02:17:20 +00:00
Alex Cunningham f0d419e7b1 comments only 2011-10-14 13:06:56 +00:00
Frank Dellaert 5fd71a33eb Documentation 2011-10-14 04:43:06 +00:00
Frank Dellaert cd2c687b54 Fixed mex compile issues (but many problems remain to run stuff) 2011-10-14 04:42:31 +00:00
Frank Dellaert 56d1d6ae34 Fixed some Doxygen problems with global replace 2011-10-14 03:23:14 +00:00
Alex Cunningham 2294924ee9 Removed wrap headers from install 2011-10-13 22:12:47 +00:00
Alex Cunningham f4d9ca72a8 Added back the matlab interface to gtsam 2011-10-13 18:41:56 +00:00
Richard Roberts 08beb34060 Moved doc and wrap to experimental 2010-10-25 21:16:20 +00:00
Richard Roberts 2c90e3d836 Moved the subdirectories that compile into libgtsam.la into a 'gtsam' subdirectory. Hopefully a good fix for the problem we had trying to make a gtsam distribution, that the source directory may not be called 'gtsam'. 2010-10-25 20:10:33 +00:00
Manohar Paluri 07483753e2 matlab stuff compiles now. Moved lot of methods and classes to broken but the basic geometry and other stuff is in place. 2010-10-20 19:08:15 +00:00
Chris Beall 4071d4f673 small change to make boost work properly 2010-10-18 21:44:38 +00:00
Kai Ni e718306fd0 fix test wrap problem 2010-10-18 16:15:06 +00:00
Richard Roberts 4a7b8bad27 --with-boost no longer required, automatically finding boost 2010-10-17 17:06:28 +00:00
Kai Ni 24d499039f prepend license information on all the codes 2010-10-14 04:54:38 +00:00
Richard Roberts fdae3d6f02 Fixed wrap unit test testWrap 2010-09-16 19:35:46 +00:00
Richard Roberts 55dedc97e3 Fixed include paths so that making individual unit tests works again 2010-09-11 16:54:50 +00:00
Alex Cunningham e5b3e127a8 Re-enabled tests for wrap 2010-08-19 21:24:22 +00:00
Richard Roberts f1132359d4 Installing headers in subdirectories and converted include directives to match the subdirectory structure (also see email to frankcvs) 2010-08-19 17:23:19 +00:00
Alex Cunningham cf2b3db5a6 Added CHECK_EXCEPTION() that can test whether an operation throws a specific exception, and used it in example tests 2010-07-20 14:51:00 +00:00
Alex Cunningham 750269e986 testWrap now works by passing in the actual path to the right place 2010-07-19 18:42:32 +00:00
Alex Cunningham 230e124e68 Small changes to handle non out of source builds and makefile fixes. 2010-07-17 01:13:03 +00:00
Alex Cunningham 7fc184eba4 Added the ability to check if an operation throws the correct exception 2010-07-16 19:53:53 +00:00
Alex Cunningham 7b85dc3ff4 CppUnitLite will now catch exceptions and tell you the error and the line number of the failing test. This is to avoid having to hunt for crashing tests out of a large battery of tests. Look at the results of the (still failing) wrap/testWrap for an example. 2010-07-16 19:30:38 +00:00
Alex Cunningham c19a404ae2 slightly prettier error handling in testWrap 2010-07-14 14:06:26 +00:00
Alex Cunningham b2a0356965 Added try/catch to testWrap so that it errors gracefully 2010-07-14 14:00:40 +00:00
Frank Dellaert 30b377e441 Fix makefiles to refer to $(top_srcdir) to enable parallel build 2010-07-13 19:13:07 +00:00
Frank Dellaert 9aea4530aa Fixed make install interaction with MATLAB wrapper code 2010-07-12 22:49:21 +00:00
Frank Dellaert c9db61e137 Newly functional build: second part of re-organization. cpp now split into inference and nonlinear. 2010-07-12 16:36:58 +00:00
Frank Dellaert fea5beb638 Re-organization: moving all files.
I re-organized into original cpp directory and 4 additional directories: base, geometry, slam, and tests.
cpp will be further renamed/sub-divided and contains the core library.
I wanted it not depend on geometry or slam, which necessitated moving complicated tests to a dedicated directory.
2010-07-12 07:16:31 +00:00
Richard Roberts 1df4385d84 Added 'verbose' flag, making unit tests silent 2010-02-23 17:04:49 +00:00
Frank Dellaert 47a01b1d90 Tried making tests less verbose 2010-02-23 15:13:49 +00:00
Frank Dellaert 3a8e7de5e3 fixed testWrap unit test 2010-02-23 14:59:30 +00:00
Frank Dellaert 03efd69079 fixed files_equal for new unit testWrap setup 2010-02-23 14:54:28 +00:00
Frank Dellaert ab218f11d2 fixed unwrap functions to simply cast from scalars (whatever type, through mxGetScalar) 2010-02-23 04:33:07 +00:00
Richard Roberts 75b35949c9 Fixed several unit test main() functions that were returning 0 instead of the result of runAllTests. This caused unit tests to print failures but not count as failures in the pass/fail counts. In CMake projects, since test output is logged to a file instead of printed, this caused no indication of failures when they occured! All tests still pass with no other modifications after fixing this. 2010-02-20 22:22:45 +00:00
Frank Dellaert 351cdd18c2 case change: SharedGaussian and SharedDiagonal are now classes with their own header file. Needed for MATLAB TORO hail Mary 2010-01-22 17:36:57 +00:00
Frank Dellaert 58ed9ec367 You can now just type the name of a variable in MATLAB and press return, and it will display 2009-12-12 04:10:59 +00:00
Frank Dellaert d7bbe0a355 Made wrap work on 64-bit platform 2009-12-12 04:08:57 +00:00
Frank Dellaert 82d541f6a3 Fixed wrapper problem
This was because VectorConfig was parsed as Vector. Just changing the order of the parsers fixed this.
2009-10-17 04:29:14 +00:00
Richard Roberts d80fa24a9f Fixing directory structure 2009-08-21 22:23:24 +00:00