-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrapper fixes #528
Wrapper fixes #528
Conversation
This will break MATLAB, please refer to the other PRs for correct way to wrap |
Can you please point me to those PRs? |
Sure, it's #511 |
gtsam/gtsam.i
Outdated
@@ -2710,7 +2701,8 @@ class BearingRange { | |||
BearingRange(const BEARING& b, const RANGE& r); | |||
BEARING bearing() const; | |||
RANGE range() const; | |||
static gtsam::BearingRange Measure(const POSE& pose, const POINT& point); | |||
//TODO need to update wrap to allow self referencing of class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't use This
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that This
with a capital T?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nvm got it. Thanks Fan!!
@ProfFan so there is a bug in |
@varunagrawal |
LieVector is still used in unstable, can you take a look and possibly fix them? |
That's gonna be a lot of effort, for which I don't currently have the bandwidth. :/ |
I’m not sure it’s a lot of effort, as with type traits matrix and vector should just work as drop-in replacements, I think? |
Okay, update done. |
unstable_examples/+imuSimulator/coriolisExample.m
178: currentVelocityEstimate = LieVector(currentVelocityRotatingGT);
180: currentVelocityEstimate = LieVector(currentVelocityFixedGT);
189: newFactors.add(PriorFactorLieVector(currentVelKey, currentVelocityEstimate, sigma_init_v));
unstable_examples/+imuSimulator/IMUComparison_with_cov.m
46:initialValues.insert(symbol('v',0), LieVector(currentVelocityGlobal));
53:initialFactors.add(PriorFactorLieVector(symbol('v',0), ...
54: LieVector(currentVelocityGlobal), noiseModel.Isotropic.Sigma(3, sigma_init_v)));
94: initialVel = LieVector(velocity);
unstable_examples/+imuSimulator/IMUComparison.m
54:initialValues.insert(symbol('v',0), LieVector(currentVelocityGlobal));
59:initialFactors.add(PriorFactorLieVector(symbol('v',0), ...
60: LieVector(currentVelocityGlobal), noiseModel.Isotropic.Sigma(3, 1.0)));
99: initialVel = LieVector(velocity);
unstable_examples/+imuSimulator/covarianceAnalysisCreateTrajectory.m
85: values.insert(currentVelKey, LieVector(currentVel));
unstable_examples/IMUKittiExampleVO.m
49:currentVelocityGlobal = LieVector([0;0;0]); % the vehicle is stationary at the beginning
91: newFactors.add(PriorFactorLieVector(currentVelKey, currentVelocityGlobal, sigma_init_v));
unstable_examples/FlightCameraTransformIMU.m
170: % fg.add(PriorFactorLieVector(currentVelKey, currentVelocityGlobal, sigma_init_v));
unstable_examples/+imuSimulator/covarianceAnalysisCreateFactorGraph.m
30: graph.add(PriorFactorLieVector(currentVelKey, LieVector(currentVel), noiseModels.noiseVel));
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! So, no more LieXXX anywhere ? In .py, .m, .h, .cpp?
Some are under
docs needs to be regenerated as well, but I don't know how to do that? |
I was going to save that for a follow up PR rather than muddle stuff here. |
update
.Measure
function inBearingRange
.