dellaert
77935bd631
Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter.
2014-11-12 02:49:23 +01:00
dellaert
6f333965a9
Massive edit: new Qualified type groups namespaces with name, eliminates a lot of clutter.
2014-11-12 02:46:49 +01:00
dellaert
2ab5e17cd8
Added tests for doubly templated class and typedef
2014-11-11 23:09:20 +01:00
dellaert
8ab83a7cff
Simplified expand
2014-11-11 22:55:36 +01:00
dellaert
b8d9d5b6ca
Starting down the path of a templated method
2014-11-11 22:38:50 +01:00
dellaert
c66d6bd1a4
Added templated class
2014-11-11 18:14:17 +01:00
dellaert
752d4800f1
Added new set of expected files in case serialize is turned off
2014-11-11 13:43:25 +01:00
dellaert
8a555c7e05
Comment
2014-11-11 13:42:25 +01:00
dellaert
2946bcdc82
Slight refactor/comments
2014-11-10 17:56:22 +01:00
Chris Beall
470527ff99
fix warnings on Windows. No need to create variable in catch statement if you're not going to use it. It generates unreferenced variable warnings.
2014-06-01 11:30:04 -04:00
dellaert
5048946ae9
Make sure it works for namespaces as well
2014-05-25 16:37:43 -04:00
dellaert
399c5e5551
Added test for overloaded global functions
2014-05-25 16:28:59 -04:00
dellaert
5e9632e781
Now using emit_conditional_call (changed indenting)
2014-05-25 16:28:39 -04:00
dellaert
925f23515d
Better reporting of whitespace changes only
2014-05-25 16:27:29 -04:00
dellaert
1129b384b2
Header order
2014-05-25 16:03:28 -04:00
dellaert
05a38ca263
Standard BORG formatting
2014-05-25 16:01:30 -04:00
dellaert
9a102e8c59
Handle special case of single overload with all numeric arguments
2014-05-25 15:21:49 -04:00
dellaert
a38504dc6a
Ignore some files
2014-05-25 15:21:33 -04:00
dellaert
5987f78be3
Methods to check whether arguments are scalar
2014-05-25 15:21:13 -04:00
dellaert
9d9614d185
Split up into two calls
2014-05-25 14:59:20 -04:00
dellaert
52cd200718
ReturnValue now emits, eliminated some copy/paste. Also removed unused verbose field/argument in ReturnValue
2014-05-25 14:53:32 -04:00
dellaert
05008ecaa3
Comments
2014-05-25 14:40:39 -04:00
dellaert
406419317f
eliminated more copy/paste mess between Method and StaticMethod
2014-05-25 14:35:07 -04:00
dellaert
61baef3be0
Don't emit overloads unless there are any
2014-05-25 13:37:44 -04:00
dellaert
1002696f83
Formatting and headers
2014-05-25 13:29:06 -04:00
dellaert
43e238c6ab
Formatting and headers
2014-05-25 13:26:14 -04:00
dellaert
95b85e8494
Now using ArgumentList::emit_prototype everywhere, for non copy/paste code
2014-05-25 13:22:10 -04:00
dellaert
4403d47865
Slight refactor
2014-05-25 13:12:48 -04:00
dellaert
47e9016693
Fixed so prints expected file then actual, as expected (no pun intended)
2014-05-25 13:02:54 -04:00
dellaert
26cae48338
First successful use of new ArgumentList::emit_prototype method
2014-05-25 13:02:29 -04:00
dellaert
80b7d91264
emit prototype method (to eliminate horrible copy/paste mess someone thought was good programming style)
2014-05-25 13:01:36 -04:00
dellaert
82d6bae4b9
Standard BORG formatting
2014-05-25 12:43:19 -04:00
dellaert
02c3fe9516
Standard BORG formatting
2014-05-25 12:06:34 -04:00
Richard Roberts
1770f44ad9
Fixed a number of clang warnings
2014-02-23 18:53:48 -05:00
Richard Roberts
661a157553
Working on standardizing/simplifying building unit tests and examples. Much simpler cmake function to add a glob of tests, doing away with convenience libraries, and removing other options that we never change from their defaults.
2014-02-13 01:34:31 -05:00
Richard Roberts
686051c032
Convert DOS line endings to UNIX
2014-01-09 16:39:27 -05:00
Richard Roberts
501635352d
Some cleanup in compiling wrappers
2013-12-12 18:37:27 +00:00
Andrew Melim
c378d7379f
Remove accidental commit in Module
2013-10-26 22:41:18 +00:00
Andrew Melim
5e29bc5b67
Return set partitions from DFSMap
2013-10-26 22:22:31 +00:00
Alex Cunningham
ee38b8f884
Put disabling of serialization in the right place
2013-10-25 14:10:28 +00:00
Alex Cunningham
876edb4197
Added cmake flag to disable serialization for wrapped objects directly, rather than outright disabling serialization. By default GTSAM_WRAP_SERIALIZATION is on, turn it off to ignore serialization flags in gtsam.h
2013-10-24 14:38:04 +00:00
Richard Roberts
93a2a486af
Fixed compile error due to not returning a value
2013-08-25 20:02:28 +00:00
Richard Roberts
2d60d2cdfa
Fixed more unit tests
2013-08-06 18:04:40 +00:00
Richard Roberts
59f2620f4c
Needed to link wrap with Boost Regex library
2013-07-18 14:09:19 +00:00
Richard Roberts
a897015a11
Fixed VS folder
2013-07-02 13:03:00 +00:00
Chris Beall
e1b24acc96
add missing end on saveobj
2013-06-25 18:36:57 +00:00
Chris Beall
ef5fb525de
add missing end on saveobj
2013-06-25 18:30:59 +00:00
Alex Cunningham
0e1f07acaa
Added matlab codegen for matlab save/load hooks. Can now save and load a gtsam object to/from a mat file
2013-06-22 23:16:53 +00:00
Alex Cunningham
9f9807ef19
Yet even more rebasing
2013-06-20 17:08:29 +00:00
Alex Cunningham
62d25abb1a
More rebasing...
2013-06-20 17:08:28 +00:00
Alex Cunningham
f299217cfb
Rebasing...
2013-06-20 17:08:28 +00:00
Alex Cunningham
90246a4dab
Rebasing...
2013-06-20 17:08:27 +00:00
Alex Cunningham
23de91d44d
serialization works for graph and PriorFactor. Added second flag for serialization: can add "void serializable()" or "void serialize()" to allow for either just exporting (necessary if no default constructor), or implementing the full serialization functions
2013-06-19 17:50:05 +00:00
Alex Cunningham
ed3ab55538
Fixed wrap test, now passes
2013-06-19 17:50:04 +00:00
Alex Cunningham
f1b1a2f7d2
Added export flags, Values now serializes
2013-06-19 17:50:03 +00:00
Alex Cunningham
4d76386aa7
Updated expected values to match newer codegen
2013-06-19 17:50:02 +00:00
Alex Cunningham
14c5f205dd
basic serialization works
2013-06-19 17:50:00 +00:00
Alex Cunningham
07407ff763
Completed codegen for serialize/deserialize functions
2013-06-19 17:49:59 +00:00
Alex Cunningham
5789c7de83
Added codegen for cpp wrapper
2013-06-19 17:49:58 +00:00
Alex Cunningham
8e73619989
Adding codegen components for serialization - in progress
2013-06-19 17:49:57 +00:00
Alex Cunningham
c7576deb15
Added flag for serializable to parser, no codegen yet
2013-06-19 17:49:55 +00:00
Duy-Nguyen Ta
b1b05887fc
allow method starting with uppercase letter to be wrapped in matlab. Wrap Pose3's AdjointMap and Adjoint operator
2013-04-21 19:29:41 +00:00
Richard Roberts
547323cc79
Fixed a bunch of compiler warnings
2013-04-05 21:34:04 +00:00
Duy-Nguyen Ta
3a62daf985
bug fix: remove a redundantly generated double quote when verbose is on
2013-03-15 23:24:30 +00:00
Alex Cunningham
f8c42ddd52
Comments only
2013-02-14 20:42:16 +00:00
Richard Roberts
6572400bc3
Improved handling of Boost shared libraries on Windows
2013-02-04 21:28:39 +00:00
Richard Roberts
12f8152891
Small bug fix in wrap - for return types, try to parse 'pair' before a simple type to prevent 'pair' spuriously being stored as the namespace of the return type, which causes return type validation to fail for pairs of simple types, i.e. 'pair<int,int>'
2013-01-28 17:41:42 +00:00
Richard Roberts
981c3363e6
Whitespace
2013-01-28 17:41:41 +00:00
Richard Roberts
c2c52fbdbe
Added try/catch in wrap.cpp to print out error message on exception
2013-01-28 17:41:40 +00:00
Richard Roberts
0898e4a6aa
Wrap prints more detailed error message for parse errors
2012-12-03 19:08:16 +00:00
Alex Cunningham
d57838b4cb
Cleaned up commented code, tweaked formatting
2012-11-27 19:03:23 +00:00
Alex Cunningham
0030a28e45
all tests pass with new hack to parse pointers on arguments
2012-11-27 19:03:22 +00:00
Alex Cunningham
2f44bc0a1a
Simple hack around assigning return category flags, tests pass in debug, fail on pointer argument passing in release mode
2012-11-27 19:03:21 +00:00
Alex Cunningham
ab7655e5eb
Further debugging and tests of parsing issue with return type flags
2012-11-27 19:03:20 +00:00
Alex Cunningham
d1b9185918
Trying more variations. Fixed small valgrind issue that didn't actually have an effect
2012-11-27 19:03:19 +00:00
Alex Cunningham
47fcb17ead
Small variations on parser to try to debug problem
2012-11-27 19:03:18 +00:00
Alex Cunningham
16ad77cb53
Adding tests and notes to investigate errors parsing return types
2012-11-27 19:03:16 +00:00
Chris Beall
4297d24c96
changed tabs to spaces for consistent indentation in all of GTSAM
2012-10-02 14:40:07 +00:00
Andrew Melim
a2474ef354
Starting to add support for STL containers in wrap
2012-09-18 18:36:42 +00:00
Frank Dellaert
aeb43bc8fc
Used technique described in http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html to turn off excessive warnings generated by boost lambda headers
2012-09-16 18:07:50 +00:00
Andrew Melim
4752c10e21
Inherited methods show up on doc. ISAM2 for MATLAB now inherets from Bayes Tree
2012-09-08 19:51:23 +00:00
Frank Dellaert
d8a6b6a5e4
Vastly improved "help gtsam" and "doc gtsam" output
2012-09-08 05:44:26 +00:00
Andrew Melim
9938b4785d
Changed method summaries to lower case
2012-09-03 22:48:08 +00:00
Andrew Melim
84a806bf39
Final fixes made for wrap comments
2012-08-29 20:27:10 +00:00
Andrew Melim
d0a1e662a7
Wrap comments are now EVEN better
2012-08-28 21:44:45 +00:00
Andrew Melim
7d9139a854
Fix wrap tests
2012-08-27 18:10:51 +00:00
Andrew Melim
a6545b4e01
Fixed wrap tests and changed comments
2012-08-27 17:54:25 +00:00
Andrew Melim
c3e615b2df
Added doxygen info to wrap commenting system
2012-08-27 15:30:47 +00:00
Andrew Melim
6da48bc580
Even more comment improvements for wrap
2012-08-27 15:19:55 +00:00
Andrew Melim
4b28f4d082
Changed comment phrasing
2012-08-26 22:00:16 +00:00
Andrew Melim
0d70be459e
Added method comments for wrap
2012-08-26 21:58:18 +00:00
Andrew Melim
ea70673b36
Added overload constructor comments to matlab files
2012-08-26 15:46:19 +00:00
Richard Roberts
cbbf62aeeb
Updated wrap unit tests
2012-08-22 22:40:38 +00:00
Richard Roberts
cf4a4b4285
wrap turns exceptions into MATLAB errors
2012-08-22 22:40:24 +00:00
Richard Roberts
d95ca7857b
Updated wrap unit tests
2012-07-27 19:16:00 +00:00
Richard Roberts
aef5ae269f
Added argument and return type checking for global wrapped functions
2012-07-27 19:01:53 +00:00
Richard Roberts
5177f31a5d
Merge remote-tracking branch 'svn/trunk' into remove_slam_namespaces
...
Conflicts:
gtsam/nonlinear/SuccessiveLinearizationOptimizer.h
matlab/examples/Pose2SLAMExample_circle.m
matlab/examples/Pose2SLAMExample_graph.m
matlab/examples/StereoVOExample_large.m
tests/testGradientDescentOptimizer.cpp
2012-07-27 19:01:43 +00:00
Richard Roberts
021641e912
Fixed typo and prevented double-evaluation of function when returning a pair in a wrapped function
2012-07-26 14:06:37 +00:00
Richard Roberts
bcad0b661c
Added workaround for MSVC limitation on number of consecutive loops
2012-07-23 21:27:40 +00:00
Richard Roberts
0b08923c41
Generated code formatting fix
2012-07-23 21:27:38 +00:00
Richard Roberts
87d1e0a488
Added 'This' keyword in wrap templates to substitute instantiated class
2012-07-23 21:27:36 +00:00
Richard Roberts
065b7ee1e6
In wrap tests, read file in text mode to translate line endings
2012-07-23 19:29:57 +00:00
Alex Cunningham
656f573c0a
Removed from wrap the use of "using namespace xxx" statements - wasn't fully supported before, and now we have real namespace support
2012-07-23 18:24:43 +00:00
Alex Cunningham
79c9bc99ff
Some additional cleanup in wrap
2012-07-23 18:24:39 +00:00
Alex Cunningham
b7c2177f0b
Generating code for global functions now works
2012-07-23 18:24:35 +00:00
Alex Cunningham
ece5888cac
Removed need in wrap to end namespaces in special non-standard tag - can now just use }
2012-07-23 14:09:44 +00:00
Alex Cunningham
e7e564268d
global function parsing now tested and working
2012-07-23 14:09:42 +00:00
Alex Cunningham
26fce2d400
Adding support for global functions - parsing works
2012-07-23 14:09:40 +00:00
Richard Roberts
8dbffd4629
Wrap generates Matlab namespaces, so now 'import gtsam.*' allows class names like Values, NonlinearFactor, to be used. Without import, syntax is gtsam.Values, etc.
2012-07-18 15:47:06 +00:00
Richard Roberts
90fd122876
Updated wrap expected files from double clear all bug fix
2012-07-17 22:10:39 +00:00
Richard Roberts
b5e10eadb8
Fixed bug where calling 'clear all' only once caused a problem where the wrap module recreated the RTTI table but MATLAB then deletes it, causing an error about the RTTI table being missing later on.
2012-07-17 19:49:36 +00:00
Alex Cunningham
4b772b43cf
Simplified include handling in wrap: no more default includes, includes are not associated with a class or a namespace.
2012-07-17 18:30:02 +00:00
Richard Roberts
4bcc974cae
Updated unit tests after changing namespace handling
2012-07-17 17:38:31 +00:00
Richard Roberts
10c5ebae73
Always write and read wrap files in binary mode to prevent writing CRLF line endings on windows (messes up expected unit test files)
2012-07-17 17:38:29 +00:00
Richard Roberts
e9f710a1ac
More flexible handling of includes in wrap - can now use multiple includes both at the namespace and class levels, and namespace includes do not override the default class-name includes of their enclosed classes.
2012-07-17 15:51:35 +00:00
Alex Cunningham
a87d12a7b7
pacified warning
2012-07-14 20:30:30 +00:00
Richard Roberts
ee2889d4b3
Improved error message
2012-07-13 21:59:30 +00:00
Richard Roberts
6c9608752e
Small cleanups / fixes in handling of compile options
2012-07-13 21:55:00 +00:00
Richard Roberts
4ae96c6642
Check dependencies before class attributes to avoid out-of-range exception
2012-07-13 21:54:57 +00:00
Richard Roberts
aa5beafd94
Wrap include path bug fix
2012-07-13 21:54:55 +00:00
Richard Roberts
191d73df0b
Simplified matlab wrapper cmake options
2012-07-13 21:54:52 +00:00
Richard Roberts
7f63d23565
Added missing files from last commit - code cleanup and comments
2012-07-13 21:54:48 +00:00
Richard Roberts
ce12f3d255
Code cleanup and comments
2012-07-12 22:28:28 +00:00
Richard Roberts
b1a58e4447
Updated expected wrap unit test files
2012-07-12 02:11:36 +00:00
Richard Roberts
55a153ebc6
Wrapped Cal3DS2, RangeFactor, BearingFactor, and GenericProjectionFactor
2012-07-12 02:11:32 +00:00
Richard Roberts
76e5375dea
Added support for multi-argument templates that are then instantiated with typedefs in wrap interface header.
2012-07-12 02:11:29 +00:00
Richard Roberts
c4f19a2b96
Can define template classes in wrap interface file with a fixed list of template argument expansions, to quickly generate many classes, e.g. template<T = {gtsam::Point2,gtsam::Point3}> class BetweenFactor ... generates gtsamBetweenFactorPoint2, gtsamBetweenFactorPoint3, etc.
2012-07-11 21:43:16 +00:00
Richard Roberts
42dec286ee
Removed unused argument list member from Deconstructor
2012-07-11 21:43:13 +00:00
Alex Cunningham
774fcb5ca9
Fixed include sorting bug in wrap
2012-07-11 15:58:01 +00:00
Richard Roberts
1993e6952b
Merged from branch 'branches/wrap_mods_inheritance' into branch 'branches/wrap_mods'
2012-07-11 15:45:45 +00:00
Richard Roberts
7c176dd76d
Automatic returning of derived-most type in matlab wrapper working but not yet well-tested
2012-07-11 15:44:04 +00:00
Alex Cunningham
f3406f3bc9
Small change to wrap to avoid redundant includes in cpp file
2012-07-11 14:54:13 +00:00
Alex Cunningham
2e6de9e9a1
Fixed wrap unit test
2012-07-11 14:54:11 +00:00
Richard Roberts
33a64fc7b5
Removed debug prints
2012-07-10 22:53:35 +00:00
Richard Roberts
af11b6c0a0
Create table of RTTI type names at wrap module creation time - will support code to create most derived type from base type in matlab wrapper
2012-07-10 22:51:19 +00:00
Richard Roberts
0c384dc35a
Added a check that all wrapped classes involved in a heirarchy are marked virtual
2012-07-10 22:38:21 +00:00
Alex Cunningham
5d58dbd512
Fixed testWrap so that it passes, fixed dependency checking in codegen, fixed warnings
2012-07-10 14:21:58 +00:00
Alex Cunningham
6daa86f137
Fixed C++ versioning issue in wrap, now compiles and toolbox passes matlab tests, testWrap now compiles but does not pass
2012-07-10 14:21:56 +00:00
Richard Roberts
4a0866b519
Merge remote-tracking branch 'svn/branches/wrap_mods' into wrap_mods_inheritance
...
Conflicts:
gtsam.h
2012-07-09 20:27:23 +00:00
Richard Roberts
e915e666b5
Can return abstract base classes from functions in matlab wrapper, i.e. Values::at
2012-07-09 20:19:37 +00:00
Alex Cunningham
e451a95991
Added wrap target to exported/installed targets
2012-07-09 17:14:21 +00:00
Richard Roberts
8a8b27005f
wrap_mods_inheritance branch - Can now pass derived classes in as base class arguments (i.e. pass gtsamPose2 where gtsamValues.insert expects gtsamValue)
2012-07-09 00:02:43 +00:00
Alex Cunningham
9c876ed6b0
Wrap tests now pass with new file structure
2012-07-08 20:23:47 +00:00
Richard Roberts
3c27daae18
wrap_mods_inheritance branch: in progress with inheritance in matlab wrapper
2012-07-08 12:27:39 +00:00
Alex Cunningham
169c0191c6
Added header needed for uint64_t
2012-07-06 18:58:35 +00:00
Richard Roberts
da5c924d58
Merged from branch 'trunk'
2012-07-06 18:37:55 +00:00
Alex Cunningham
fe133ef97c
Updated expected files to match current wrap test
2012-07-05 17:14:40 +00:00
Richard Roberts
b460f2a721
Added missing 'typename's
2012-07-05 17:08:40 +00:00
Richard Roberts
f774a380ec
Implemented method overloading in matlab wrapper, made static functions static in matlab classes
2012-07-05 14:05:00 +00:00
Richard Roberts
8ab18498ad
Add to collector through matlab function to allow returning objects from other wrap modules
2012-07-05 14:04:57 +00:00
Richard Roberts
8f8975f47f
Removed obsolete code for generating matlab wrapper makefiles and build script
2012-07-05 14:04:51 +00:00
Richard Roberts
1ee7162383
Fixed warnings
2012-07-05 14:04:46 +00:00
Richard Roberts
b5937ce35d
Modified wrap to generate a single cpp wrapper file containing all wrapped functions, and one .m file per class and static method.
2012-07-05 14:04:36 +00:00
Richard Roberts
d2620d2ebc
Add headers to wrap_lib target
2012-07-03 15:33:16 +00:00
Andrew Melim
e40ce8b44d
Fixed class issue calling destructor
2012-07-03 01:28:41 +00:00
Richard Roberts
b163d26d5e
Fixed invalid iterator bug during clear all in Matlab wrapper
2012-07-02 22:33:36 +00:00
Richard Roberts
b8a627b19c
Fixed 64/32-bit pointer detection in Matlab wrapper under Windows
2012-07-02 22:33:28 +00:00
Andrew Melim
15b3dd9d5f
adding new constructors for matlab wrap tests
2012-07-02 19:09:50 +00:00
Andrew Melim
ead88ae35a
Changes to wrap requested by frank. Wrap now allows for multiple includes. Changes to wrap tests
2012-07-02 18:18:11 +00:00
Alex Cunningham
9273c3d18c
Added minimal output to wrap generation
2012-07-01 18:00:35 +00:00
Alex Cunningham
7ba7aa6cfc
Updated wrap unit tests for new wrap changes
2012-06-30 20:04:16 +00:00
Alex Cunningham
b33713a02e
Merge branch 'master' into new_wrap_local
...
Conflicts:
.cproject
gtsam.h
2012-06-30 20:04:12 +00:00
Andrew Melim
02df40bd73
Dependency checking for matlab.h
2012-06-30 01:33:41 +00:00
Andrew Melim
f0c8c023a0
Added small verbosity changes, verbose now defaults to false in wrap.cpp
2012-06-29 18:38:54 +00:00
Alex Cunningham
3ab79d1597
Fixed wrap test
2012-06-28 16:13:22 +00:00
Andrew Melim
fb00f4b834
fixes for two word args
2012-06-27 21:50:45 +00:00
Andrew Melim
ea0c85ef06
Crash for some objects is now fixed
2012-06-27 16:22:12 +00:00
Andrew Melim
6d776812d3
new wrap! :)
2012-06-26 18:52:27 +00:00
Frank Dellaert
1b23ebbdbf
Fixed wrap unit test after adding documentation
2012-06-24 14:49:35 +00:00
Frank Dellaert
ce767762e9
Better documentation for MATLAB methods
2012-06-24 14:32:06 +00:00
Duy-Nguyen Ta
6f1ea87a00
clean up noise model: Remove Shared[NoiseModel] classes and headers, typedef for backward compatibility in NoiseModel.h. Fix all tests and examples to create shared noise models through static functions in noise model classes. Fix MATLAB wrapper and examples as well. Add tests for MATLAB examples
2012-06-22 19:36:49 +00:00
Duy-Nguyen Ta
f9a8d69a75
specialized templates to support noise model class inheritance
2012-06-19 06:06:26 +00:00
Frank Dellaert
7832b586e6
Small detail in constructors
2012-06-15 01:00:50 +00:00
Frank Dellaert
d13db7a997
Fixed wrap problem where a double could not be passed to a method taking a size_t. Also, if a method takes a bool, you now *have* to pass a logical in matlab (i.e., true or false)
2012-06-13 12:03:33 +00:00
Alex Cunningham
3a9b647b8f
Updated expected wrap values
2012-06-06 12:03:49 +00:00
Frank Dellaert
76a1ae0102
Fixed emit of comment string
2012-06-06 04:28:50 +00:00
Alex Cunningham
00b6f177d2
Removing unnecessary boost dependencies - may need more fixing
2012-06-05 19:25:31 +00:00
Alex Cunningham
ad3b431c4d
Moved building of wrap libraries to a cmake macro and moved install for matlab components to the appropriate folder
2012-06-05 18:05:00 +00:00
Alex Cunningham
02ce40546f
Changed names of cmake flags to be more intuitive, fixed include/library path issues for building the mex binaries
2012-06-05 17:20:19 +00:00
Richard Roberts
90578e2532
Merge remote-tracking branch 'svn/trunk' into windows
...
Conflicts:
gtsam.h
wrap/CMakeLists.txt
2012-06-05 13:11:34 +00:00
Chris Beall
129e29d4b2
fix related to mex command
2012-06-04 22:09:33 +00:00
Alex Cunningham
cc2351da68
Fixed documentation for wrap
2012-06-04 21:14:47 +00:00
Alex Cunningham
9efcf8e17c
Added option to include path to mex executable in CMake
2012-06-04 21:01:25 +00:00
Alex Cunningham
a07e4a7368
Fixed handling of char in wrap, updated README
2012-06-04 19:45:32 +00:00
Alex Cunningham
73b4f35e02
Fixed matlab issue with unsigned char types
2012-06-04 19:23:25 +00:00
Alex Cunningham
e1725fb8e3
Fleshed out support for building MEX binaries during gtsam build
2012-06-04 15:33:16 +00:00
Richard Roberts
9c8377f476
Merge remote-tracking branch 'svn/trunk' into windows
...
Conflicts:
examples/Pose2SLAMExample.cpp
examples/vSLAMexample/CMakeLists.txt
examples/vSLAMexample/vISAMexample.cpp
gtsam/nonlinear/ISAM2-impl.cpp
gtsam/slam/pose2SLAM.cpp
gtsam/slam/tests/testGeneralSFMFactor.cpp
gtsam/slam/tests/testGeneralSFMFactor_Cal3Bundler.cpp
gtsam/slam/tests/testPlanarSLAM.cpp
gtsam/slam/tests/testPose2SLAM.cpp
tests/testDoglegOptimizer.cpp
tests/testGraph.cpp
2012-06-04 14:13:37 +00:00
Alex Cunningham
2f9ed9abf2
Changed data install path for toolbox
2012-06-04 14:12:51 +00:00
Alex Cunningham
839b539aad
Fixed a bug in cmake install that tried to copy a .svn folder
2012-06-03 20:08:46 +00:00
Alex Cunningham
720db709be
Examples install now installs data for Matlab examples. Fixed typo in examples documentation
2012-06-03 19:26:28 +00:00
Alex Cunningham
8bcd2da2f0
Fixed wrap support for unsigned char
2012-05-31 15:06:21 +00:00
Richard Roberts
cf232fe4a8
Added missing boost filesystem library to link with wrap
2012-05-29 20:03:15 +00:00
Richard Roberts
d636534e40
Updated wrap unit tests
2012-05-29 19:30:59 +00:00
Richard Roberts
dc036a0891
Updated wrap unit tests
2012-05-29 19:29:29 +00:00
Richard Roberts
592a251a05
Fixed path and compile problems with matlab wrapper on windows
2012-05-28 20:48:36 +00:00
Richard Roberts
1ca9e7049e
Merge remote-tracking branch 'svn/trunk' into windows
...
Conflicts:
gtsam/linear/HessianFactor.h
gtsam/nonlinear/Marginals.cpp
2012-05-28 12:22:36 +00:00
Alex Cunningham
0d597082f2
Added optional target to build the matlab toolbox as a part of the gtsam build process
2012-05-25 21:18:41 +00:00
Richard Roberts
ac150043bd
Fixed wrap under windows
2012-05-23 21:23:27 +00:00
Frank Dellaert
8a69bb8bcb
Added marginals in MATLAB, but had to fix a bug in converting from 64 bit ints to size_t. This begs the question what happens on 32-bit machines with Symbols.
2012-05-22 19:01:40 +00:00
Alex Cunningham
f8a03ddbca
Added better support for "using namespace x" to wrap - only applies to classes *after* it is called
2012-05-04 19:14:58 +00:00
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