Commit Graph

9989 Commits (ed8f7c5f824546308dab5abe789089246e3304b2)

Author SHA1 Message Date
Duy-Nguyen Ta 9f58d21030 support dynamic cast from all parents/virtual base 2016-11-18 11:00:15 -05:00
Duy-Nguyen Ta 39f4d92061 update TODO 2016-11-16 17:53:54 -05:00
Duy-Nguyen Ta acf3c9d259 proper overloading constructors 2016-11-16 17:51:03 -05:00
Duy-Nguyen Ta dc185a6d30 support python print for classes with print_ function 2016-11-16 17:37:33 -05:00
Duy-Nguyen Ta 3f0304d067 more detailed comments
Cython/Python pxd/pyx class names and argument types are a mess... Hopefully these comments help clarify something.
2016-11-16 17:37:05 -05:00
Duy-Nguyen Ta 7e348a8204 wrap push_back and at for FastVector (hence, KeyVector) 2016-11-14 00:11:04 -05:00
Duy-Nguyen Ta d38c51b533 collect typedefs of basic (non-class) types to treat them as basic types 2016-11-14 00:08:42 -05:00
Duy-Nguyen Ta 709417b36d remove unused 2016-11-14 00:00:35 -05:00
Duy-Nguyen Ta 6cbd613b43 add typedefs to the list of validTypes 2016-11-13 23:59:56 -05:00
Duy-Nguyen Ta a18f11097c format 2016-11-13 23:58:11 -05:00
Duy-Nguyen Ta 639854a6a0 enable KeyVector keys() for NonlinearFactor 2016-11-13 23:54:57 -05:00
Duy-Nguyen Ta e8778319e3 update TODO 2016-11-13 23:54:06 -05:00
Duy-Nguyen Ta 0e27a1ac07 require Cython 0.25.1
Cython 0.24.1 has problems with instantiating template types. FastVector<Key> in instantiated template classes (e.g. PriorFactorPose2) is understood as FastVector<size_t>, hence can't be casted to KeyVector. Moving to 0.25 solves the problem.
2016-11-13 23:53:48 -05:00
Duy-Nguyen Ta cb9a77ee08 add option for matlab wrapper 2016-11-13 23:49:47 -05:00
Chris Beall a738529af9 Merged in bugfix/boost_1_61_0_support (pull request #276)
Fixes compile errors when using BOOST version 1.61.0
2016-11-01 21:14:30 +00:00
chrisbeall efd966b45a Move print methods to cpp files wherever possible 2016-11-01 15:11:57 -04:00
Chris Beall de854da7b6 Merged in fix/trivial-include (pull request #283)
fix SymmetricBlockMatrix include
2016-10-21 03:56:36 +00:00
chrisbeall 08c9493b6d fix include 2016-10-20 18:32:22 -07:00
= 799c5d8bb9 Replace iostream with iosfwd. 2016-10-18 14:00:12 -04:00
Chris Beall b7c695fa71 Merged in fix/trivial-bugfix (pull request #282)
Fix typename in BetweenFactor.h
2016-10-15 01:23:31 +00:00
chrisbeall b0c57d34db fix typename 2016-10-14 16:30:03 -07:00
Ivan Jimenez c0a2415d64 Merged develop into bugfix/boost_1_61_0_support 2016-10-10 18:32:51 -04:00
Chris Beall 81820bde52 Merged in feature/eigen-3.2.10 (pull request #281)
Upgrade to Eigen 3.2.10
2016-10-10 00:10:20 -07:00
chrisbeall e64bc1007c Upgrade to Eigen 3.2.10 - http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.2.10 2016-10-09 22:18:11 -07:00
Chris Beall 19027bc1e4 Merged in fix/all-tests-target (pull request #280)
Only add custom all.tests target when GTSAM_BUILD_TESTS is true
2016-10-06 15:27:10 -07:00
chrisbeall f9de023caf Only add custom all.tests target when GTSAM_BUILD_TESTS is true 2016-10-06 14:25:40 -07:00
Chris Beall 557f08d72b Merged in fix/DoglegTiming (pull request #279)
Fix dogleg compile issue in CMake Timing mode
2016-09-26 22:18:10 -07:00
Jing Dong a7fbce3e4c fix dogleg compile issue in CMake Timing mode 2016-09-26 17:01:41 -04:00
Chris Beall 9f9d7b4a09 Merged in crownequipment/gtsam/fix/removeBoostRegex (pull request #278)
Removed the boost::regex include (not used) from the matlab wrapper & removed any linking to boost::regex
2016-09-20 07:59:37 -07:00
Duy-Nguyen Ta 5311bc1b55 check in TODO list 2016-09-19 12:46:57 -04:00
Duy-Nguyen Ta bfb58143f5 Vector in template param: works! Also fix tests for recent changes... 2016-09-19 12:39:41 -04:00
Duy-Nguyen Ta f5691804ed Use class name as ctor for static construction calls
Longer, but more conventional
2016-09-19 12:39:04 -04:00
Duy-Nguyen Ta 814abcb67c print_() insteads of _print() (easier to type) 2016-09-19 12:37:03 -04:00
Chris Beall ee0e1c391d Merged in crownequipment/gtsam/fix/testSpirit (pull request #275)
boost::spirit assign_a fixes to use non-literials
2016-09-18 14:06:18 -07:00
Duy-Nguyen Ta a294c2ab11 simplify python constructor call 2016-09-16 11:43:25 -04:00
Duy-Nguyen Ta 83d3f21fd8 ignore generated files 2016-09-16 11:43:06 -04:00
Duy-Nguyen Ta d40c0ba491 add setup scripts, fix tests 2016-09-16 11:42:01 -04:00
Duy-Nguyen Ta 3478b744e6 add setup script 2016-09-14 07:47:52 -04:00
Duy-Nguyen Ta 547606e6c2 correct cython wrapper module name in pyx import 2016-09-14 07:45:26 -04:00
Duy-Nguyen Ta 435870ebf0 remove extra Xd of Eigen types in Argument and ReturnType 2016-09-14 07:44:38 -04:00
Duy-Nguyen Ta 892b9264a4 correct Eigency name for Eigen type 2016-09-13 21:20:08 -04:00
Duy-Nguyen Ta 2433cbd8e8 Remove copy constructor assumption. Manually add copy constructors. Remove dependency on default constructor (some like Optimizers and Marginals don't have the default constructor). Remove cyCreateFromValue. Ignore variable name when checking overload similarity. 2016-09-13 17:11:23 -04:00
Duy-Nguyen Ta 0c149b0cca add python version for getA/getb as cython can't convert constABlock/BVector to Matrix/Vector automatically. 2016-09-13 16:21:51 -04:00
Duy-Nguyen Ta 450a652bcf pxd hack: always add copy constructor by default 2016-09-12 18:47:04 -04:00
Duy-Nguyen Ta 3115f9b671 enable all Key containers 2016-09-12 18:46:41 -04:00
Duy-Nguyen Ta 53dbe25c50 Cython pxd: putting template instantiations at the correct place right after a template class 2016-09-12 18:36:45 -04:00
Duy-Nguyen Ta 6044bffd8a handle Key by adding noninstantiating normal typedef rule. Fix copy constructor in template classes: using This. 2016-09-12 18:17:47 -04:00
Duy-Nguyen Ta 06ab94766c improve inherited method removal
Checking nontemplateMethods_ against parent's methods_ because:
1. Only nontemplateMethods_ are serialized to Cython's pxd, which doesn't like duplicate methods
2. Parent's methods_ list has every methods inherited from grand and grand-grand parents, etc., so we don't need to check higher levels.
Also refactor to reduce nested code
2016-09-12 12:38:04 -04:00
Duy-Nguyen Ta e35f0c3f50 remove inherited functions for Cython classes. Testing HessianFactor with debug info... 2016-09-12 11:05:28 -04:00
Duy-Nguyen Ta 1b04c6713b handle "This". Wrap all geometry 2016-09-11 18:14:19 -04:00