Alex Cunningham
f2c7e891c4
Added 'unsigned char' as argument option to wrap, added make targets
2012-05-04 18:50:36 +00:00
Richard Roberts
824e163926
Added missing header
2012-04-21 01:45:04 +00:00
Alex Cunningham
da63e6757c
Fixed cpack install to work with tgz, deb and rpm
2012-04-10 16:47:02 +00:00
Alex Cunningham
204b36fc05
Changes to make ROS hooks work with cmake
2012-04-01 22:21:07 +00:00
Andrew Melim
1ea890f4e5
Fixed testWrap failures with the new wrapper
2012-03-30 18:06:58 +00:00
Andrew Melim
0c1ebb046d
Removing print line
2012-03-30 06:19:59 +00:00
Andrew Melim
a1da906d33
Memory leak fixed within wrap. Must call 'clear' before 'clear all' and 'clear classes'. Wrap now creates delete_classname files for all wrapped classes. MATLAB classes now derive from the handle superclass.
2012-03-30 05:34:23 +00:00
Alex Cunningham
b67707542d
Updated CMakeLists to use newer cmake scripts
2012-03-29 18:57:31 +00:00
Alex Cunningham
58b64da525
Added better printout of configurable cmake options at the end of configuration
2012-02-29 04:11:48 +00:00
Alex Cunningham
12351dbfea
Updated find scripts to work by testing against gtsam2, no longer depends on build folders
2012-02-25 22:35:09 +00:00
Richard Roberts
1d0aaacbd6
Removed use of GTSAM_MAGIC_KEY for constructing Symbols from strings
2012-02-22 23:38:09 +00:00
Richard Roberts
5939ec2371
Merge commit '69c480490e0bc18ea897f1c96d8dd0bdc9b50fd5' into 2.0_prep (trunk r9251)
...
Conflicts:
gtsam/linear/SubgraphSolver.h
tests/Makefile.am
2012-02-15 23:43:25 +00:00
Alex Cunningham
d0bb9855f1
Switched wrap test targets to using macro
2012-02-14 21:57:16 +00:00
Alex Cunningham
23971aa044
Added macros to remove copy/paste in cmake. Added support for building without convenience libraries.
2012-02-14 20:00:42 +00:00
Alex Cunningham
0409c1c7ee
Adding faster compilation options for distribution in CMake
2012-02-14 18:03:29 +00:00
Alex Cunningham
6f09998e10
Removed autotools from gtsam2 branch
2012-02-13 21:13:07 +00:00
Alex Cunningham
ded872af5f
Forced wrap to always add a "generated by" header, updated expected test code
2012-02-06 19:45:40 +00:00
Frank Dellaert
c2e14b9f06
No more date to avoid triggering svn changes
2012-02-06 17:18:25 +00:00
Duy-Nguyen Ta
6f4c95a65b
apply bug fixes in MATLAB wrapper shared_ptr return from trunk. All tests work now.
2012-02-06 03:29:14 +00:00
Alex Cunningham
fab5717917
Fixed namespace return type bug with pointers in wrap. Matlab tests now pass.
2012-02-06 01:59:45 +00:00
Alex Cunningham
c901ceee27
wrap: forward declarations now allow for namespaces
2012-02-01 15:19:34 +00:00
Alex Cunningham
28f2276cc4
Added flag to link against local convenience libraries for tests
2012-01-31 19:59:19 +00:00
Alex Cunningham
c3f8c791b2
Added missing dependency
2012-01-31 19:59:17 +00:00
Alex Cunningham
2f44444efe
cmake codegen and install now works
2012-01-31 19:59:16 +00:00
Alex Cunningham
c43a9b4852
Added a variety of options to the cmake build, working on automating wrap execution/install
2012-01-31 19:59:15 +00:00
Alex Cunningham
ec1053bfc2
Wrap now works in cmake
2012-01-31 05:28:05 +00:00
Alex Cunningham
910beebb8f
Added wrap to build, assorted cleanup
2012-01-31 05:28:03 +00:00
Chris Beall
537a1a3fae
Matlab wrapped classes now live within the gtsam namespace, meaning you have to use gtsamPose2 instead of just Pose2 in Matlab. This fixes the Point2 and Point3 issues we had with Matlab 2011b.
...
promote pose2SLAM planarSLAM etc. namespaces to be next to gtsam instead of within
2012-01-30 22:00:13 +00:00
Frank Dellaert
a1aba7d6ff
Fixed argument parse error. Somehow it could parse either refs or ptrs, but noth both, and it depended on the order in which the rules were given in the argList_p. I just combined ptr and ref in one and now it works. Go figure.
2012-01-28 19:44:33 +00:00
Alex Cunningham
6d8c2133b6
Updated wrap usage message
2012-01-28 04:07:35 +00:00
Chris Beall
9bceda3f57
typos
2012-01-28 02:39:50 +00:00
Alex Cunningham
a8607d284d
Added wrap support for char as a argument or return value type
2012-01-23 18:28:11 +00:00
Frank Dellaert
1dc669d463
more debug code (turns out wrap works quite well)
2012-01-20 22:28:29 +00:00
Alex Cunningham
269ac46bd9
Fixed install problems with wrap so headers now go in include/wrap
2012-01-18 15:12:58 +00:00
Alex Cunningham
3942f28a68
Wrap now only writes new files when there is a change, and install only updates files if necessary
2012-01-15 21:42:44 +00:00
Alex Cunningham
66a9d635b3
Unified file writing to use a custom class to allow for smart checking
2012-01-15 21:42:41 +00:00
Alex Cunningham
500d509f81
Added another expected value for toolbox codegen
2012-01-15 19:09:36 +00:00
Alex Cunningham
94cbee4208
Updated expected toolbox code to match updated states
2012-01-15 19:09:34 +00:00
Frank Dellaert
9868355b40
Changed & to && to avoid MATLAB warnings
2012-01-15 04:17:21 +00:00
Frank Dellaert
33d6934a44
forgot string will be 'char' class and some basic types (bool, int, size_t) that will be 'double'
2012-01-10 05:35:12 +00:00
Frank Dellaert
0c03fd010d
Constructors now check argument types to allow multiple constructors in MATLAB with the same number of arguments
2012-01-10 05:06:46 +00:00
Alex Cunningham
3ccb670e92
changed wrap install script to use correct flags for cp on macs
2011-12-21 14:06:37 +00:00
Alex Cunningham
7c6068fbf7
fixed depenency issue with wrap so make -j6 works
2011-12-16 14:44:04 +00:00
Andrew Melim
316709b898
Fixed Arguments.cpp causing testing failures
2011-12-15 22:26:39 +00:00
Alex Cunningham
56bce0ca9f
Added dependency checking to return values in wrap, as well as forward declarations
2011-12-15 21:23:20 +00:00
Alex Cunningham
44aff08d56
Added support for namespace includes to wrap
2011-12-15 19:39:14 +00:00
Alex Cunningham
ea1f1e8b65
Parser now handles both namespace and class headers
2011-12-15 19:39:11 +00:00
Alex Cunningham
dbc6a8aeec
Reverted wrap argument change due to failing tests
2011-12-15 19:39:09 +00:00
Alex Cunningham
99338805c0
re-enabled test
2011-12-15 16:18:04 +00:00
Alex Cunningham
694320388f
Moved includes outside of classes in wrap parser
2011-12-15 16:18:03 +00:00
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