Comments (6)
Hi, thank you for the bug report! This can be added fairly easily, by adding one line in the .i
file
from gtsam.
Hi, thank you for the bug report! This can be added fairly easily, by adding one line in the
.i
file
Thanks for the response! I'll preface the following by saying I do not have much experience with pybind11...
TL;DR: It looks like I would add something like so (at line 156): TriangulationResult point() const;
Does this look right or were you thinking of something else? I plan on testing this out once I'm back at my computer later today.
Longer version is (writing this out for my own understanding and maybe help some others - please correct if I misunderstand though):
It appears the slam.i file is the one I'd be interested in, and I would want to add a member function to the virtual class SmartProjectionPoseFactor
class.
However, reviewing the API documentation again, I noticed the exact return of point() is actually a more complex class TriangulationResult. TriangulationResult is already defined in geometry.i (and I can confirm I am able to see it available in the Python API), I can see that #include <gtsam/geometry/triangulation.h>
is present in SmartProjectionFactor.h, which is already imported into slam.i.
Will give it a try and report back.
from gtsam.
Following up to say this worked! I have a slightly older version of the develop branch so I hesitate to link it here, but following the method I wrote up in my previous message worked to give me access to the point() method. Will try to work this into a PR when I can.
from gtsam.
@Dead-Hand glad to see you figured it out. I made a PR to fix this issue (sorry for the delay).
from gtsam.
Also wanted to mention that your analysis and understanding was exactly on point! If you see my PR, you'll notice I made the exact same change. If you have other methods you'd like to wrap, we welcome a PR for that.
from gtsam.
Confirmed that #1654 fixed this. Closing my issue. Thanks!
from gtsam.
Related Issues (20)
- Line cylinder factor HOT 1
- `len(CameraSetCal3Bundler())` throw RecursionError HOT 5
- Built GTSAM to local directory: error while loading libcephes-gtsam.so.1 (with solution and questions) HOT 4
- Build failure for tests with GCC 13 HOT 4
- How to introduce an inequality hard constraint? HOT 1
- How to marginalize historical factors HOT 1
- terminate called after throwing an instance of 'gtsam::ValuesKeyDoesNotExist' HOT 1
- typo in PreintegrationBase.cpp? HOT 1
- Confuse about jointMarginalCovariance and MarginalCovariance
- Missing derivative of Similarity(3)
- Cannot find the Jacobian of Pose3 HOT 1
- Requested to eliminate a key that is not in the factors HOT 1
- LocalizationExample impossible porting to Python
- Add ExpressionFactor to Python Wrapper. HOT 3
- TriangulationFactor Python HOT 1
- ROS2 Jazzy binaries not using GTSAM_USE_SYSTEM_EIGEN=ON HOT 4
- Directed factors HOT 3
- GeographicLib not found Cmake fix
- localCoordinates gives incorret Jacobian matrix?
- installation failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtsam.