View source
feature/py_wrap
Author Commit Message Date Builds
250+ commits behind develop.
Frank Dellaert
Wrapped most of geometry
Frank Dellaert
Include typedefs for templated classes
Frank Dellaert
Fix Quaternion
Frank Dellaert
Merge remote-tracking branch 'origin/fix/Rot3-static-methods' into feature/py_wrap
Frank Dellaert
New static methods
Frank Dellaert
Merge remote-tracking branch 'origin/develop' into feature/py_wrap Conflicts: gtsampy.h
Frank Dellaert
Added a few tests
Frank Dellaert
Fixed init method
Frank Dellaert
Fixed everything for automatic generation of subset to gtsampy shared library
Frank Dellaert
Moved matlab specific stuff into matlab subdir
Frank Dellaert
Make stuff compile
Frank Dellaert
Switch to gtsampy import
Frank Dellaert
Hand off all to python directory
Frank Dellaert
Edited gtsampy.h to be as close to gtsam.h as possible, to eventually only have a single, unified file
Frank Dellaert
Fixed handwritten python build
Frank Dellaert
Merge remote-tracking branch 'origin/develop' into feature/py_wrap Conflicts: CMakeLists.txt cmake/GtsamPythonWrap.cmake gtsam/3rdparty/numpy_eigen/include/numpy_eigen/NumpyEigenConverter.hpp gtsam/3rdparty/numpy_eigen/include/numpy_eigen/copy_routines.hpp gtsam/3rdparty/numpy_eigen/include/numpy_eigen/type_traits.hpp python/README.md python/gtsam/__init__.py python/gtsam_tests/testPoint2.py python/handwritten/CMakeLists.txt python/handwritten/exportgts…
Frank Dellaert
Merged in EllonPaiva/gtsam/feature/py_wrap (pull request #196) Feature/py_wrap
Ellon Paiva
Fix setup.py to install gtsam python correctly While here, ignore build file produced by 'python setup.py install'
Ellon Paiva
Add '_' to wrapper .so file to hide it in the python interpreter
Ellon Paiva
Make GtsamPythonWrap use 3rdparty numpy_eigen
Ellon Paiva
Add numpy_eigen as a 3rd party library. This commit adds a simple version of numpy_eigen, copied from gtborg/numpy_eigen commit 255c09efb82496, and with a fix released in the commit 9a75383733b3dc4bc2bb0649053949ad2bec9326 of Scheizer-Messer/numpy_eigen (https://github.com/ethz-asl/Schweizer-Messer/tree/master/numpy_eigen)
Ellon Paiva
Move wrapped classes to the begining of the file; Add TODOs NOTE: Not all the classes here are properly wrapped.
Ellon Paiva
Use return_internal_reference<>() if we return a reference We consider all returned references are internal references. Although it may not be the case, it's the easiest way to allow the wrapper to generate a compilable file.
Ellon Paiva
Add python wrapper specific return type to string conversion using const and &
Ellon Paiva
Make wrapper grammar accept const and reference return types
Ellon Paiva
Update TODOs in gtsampy.h
Ellon Paiva
Failed attempt to wrap OptionalJacobian. Added TODOs to guide developments
Ellon Paiva
Comment Class::python_memberFunctionOverloads
Ellon Paiva
Comment out testWrap for now to make Jenkins happy The test files should be reimplemented once the python wrapper will be more stable.
Ellon Paiva
Wrap several methods of Pose3. Need to add support for OptionalJacobian to allow wrapping more methods
Ellon Paiva
Fix 'const' in the definition of member function pointers
Ellon Paiva
Small clean up on Class
Ellon Paiva
Add guard to avoid wrapping methods with both static and non-static overloads
Ellon Paiva
Wrap static methods using boost python overload macro
Ellon Paiva
Remove support for static and non-static overloads
Ellon Paiva
WIP: use boost python macros to define overload functions This commit is not working with static methods.
Ellon Paiva
Add utility functions to write python wrapper overload names and function pointer names
Ellon Paiva
Add method to get a grouped version of overloaded signatures
Ellon Paiva
Add simple signature structures
Ellon Paiva
Add method to test if argument list is subsequence of another argument list
Ellon Paiva
Fix testWrap call to allow building wrap tests
Ellon Paiva
Add comment to remember deal with enum later
Ellon Paiva
Add Unit3 to python wrap
Ellon Paiva
Wrap more methods of Rot3 to Python
Ellon Paiva
Comment fix
Ellon Paiva
Register Vector and Matrix typedefs as validTypes This is needed to assign the function pointer correctly in the overload prototypes of python wrapper.
Ellon Paiva
Add more methods from Rot3 with static and non-static overloads to python wrapper
Ellon Paiva
Add wrapper support for methods having both static and non-static overloads Static methods with non-static overloads should be called in python from an instance. Example: >>> r = gtsam.Rot3().yaw(0.5) # Note instanciation through 'Rot3()'
Ellon Paiva
Add support to overloaded advanced constructors
Ellon Paiva
Add Rot3 to python interface without overloaded methods (need to fix overloading first)
Ellon Paiva
Add Point3 to python interface
Ellon Paiva
Match Point2 python interface file with Point2 as it is in 4.0.0
Ellon Paiva
Try to match == before = for operator methods
Ellon Paiva
Fix support for binnary operatorm methods + don't use 'other<self>'
Ellon Paiva
Parse unary and binary operator methods (other than operator<<)
Ellon Paiva
Add OperatorMethod class to the wrapper. Reimplement wrap of operator<< to python's __str__ and __repr__ using OperatorMethod
Ellon Paiva
Register converter for Matrices of static size
Ellon Paiva
Allow parsing of operator<< to generate __str__ and __repr__ in python
Ellon Paiva
Proper wrap static methods
Ellon Paiva
Register conversion for Vectors/Matrices defined on GTSAM
Ellon Paiva
Fix instalation of Python wrap
Frank Dellaert
Removed methods that are now in base class...
Frank Dellaert
ignore shared lib
Frank Dellaert
dllexport
Frank Dellaert
Have python wrap refer to new file gtsampy.h
Frank Dellaert
Merge remote-tracking branch 'origin/develop' into feature/py_wrap Conflicts: gtsam.h: resolved by moving Andrew's version to gtsampy.h
Andrew Melim
Retract test
Andrew Melim
Correct usage of numpy eigen in wrap. No longer crashes
Andrew Melim
Minor changes to the test.
Andrew Melim
Rot2 test, readme on how to run multiple tests
Andrew Melim
Adding Rot2, modify method overload functions to handle related function names between classes
Andrew Melim
Additional test to make sure this works
Andrew Melim
Added numpyTesting to assert equality
Andrew Melim
numpy_eigen support verified. Imported numpy_eigen into gtborg, requires compilation and installation using setup.py
Andrew Melim
Group unit tests
Andrew Melim
Member function overload support in wrap. Compose function unit test for Point2
Andrew Melim
Overloaded constructor
Andrew Melim
Method unit test pass
Andrew Melim
Remove library
Andrew Melim
Formatting
Andrew Melim
Markdown readme
Andrew Melim
Reworked python directory structure. Added readme on constructing python module. Added first unit test for point2. Everything needed to get it passing is also here, including some renaming of variables and emitted library names
Andrew Melim
Remove copy of library
Andrew Melim
Module fix
Andrew Melim
Overloaded constructors
Andrew Melim
Correct some emitting bugs. Default constructors work, need to verify overloaded constructors. Remove semicolon from method lines
Andrew Melim
Remove typo
Andrew Melim
Generate includes, added gtsam namespace to generated file
Andrew Melim
Module correctly calls wrap function.
Andrew Melim
Fix bug
Andrew Melim
Switching over to call python wrapper to build emitted wrap code for python module
Andrew Melim
Wrap changes to handle selective building of matlab and python modules
Andrew Melim
Merge branch 'develop' into feature/py_wrap
Andrew Melim
Merge branch 'feature/wrap_Function' into feature/py_wrap
Andrew Melim
Merge branch 'feature/py_wrap' of https://bitbucket.org/gtborg/gtsam into feature/py_wrap
Andrew Melim
Windows support
Andrew Melim
Merged develop into feature/py_wrap
Andrew Melim
CMake update
Andrew Melim
More windows support of cmake build for python wrapper
Andrew Melim
Adding capability for dll symbol exports on Windows. Needs gtsam shared builds
Andrew Melim
Build output improvement
Andrew Melim
Updating cmake build
Andrew Melim
Merge branch 'develop' into py_wrap
Andrew Melim
Example WIP, need to learn how to use numpy_eigen to pass numpy arrays as Eigen objects
Andrew Melim
Installation script for python Distutils for python package. Installs to default python dist-packages location call : python setup.py install
Andrew Melim
Finally fixed templates, moved into single library for simplicity, add noisemodels, nonlinear
Andrew Melim
Example on how to wrap templated classes such as factors
Andrew Melim
Rot2, Pose2, Point2 now all work fairly well in Python. See Pose2.cpp for examples on method overloading and auto-declarations
Andrew Melim
Initial stages of python wrapping. Issues with method overloading, boost optionals. Testing with Point2 only now
Andrew Melim
Branch from trunk for python wrapper at rev 19964