Closed yetongumich closed 2 years ago
@yetongumich CI is failing due to both C++ and Python.
All this extra work for nothing! @varunagrawal I am rather upset about this.
@yetongumich Frank and I spoke about this PR and the fix is easy. We just need to remove the wrapped functions for all the factors (since that is the root cause of the breakage) and then you can also kill the python unit tests for the factors. Once you do that, this PR will be awesome and I will gladly approve. :)
Thanks @varunagrawal . For all the "factor functions". These functions were stopgap measures to make the c++ code work (almost) as is, and the corresponding factors were not used (except PoseFactor, other PR). Sorry about the extra work, @yetongumich , I tried to say this in our meeting and in the PR comments but I guess I there was a breakdown in communications.
One more thing before I forget. We can undo the change from ExpressionFactor to NoiseModelFactor::shared_ptr that was done due to my comments. Since the wrapper is not an issue anymore, having full type info of the ExpressionFactor will be fantastic!
@yetongumich we've merged this which is awesome, but we should still revert all the NoiseModelFactor::shared_ptr
s to ExpressionFactor
s.
Re-writing wrench factor and related factors using expressions, so we can easily transition to constrained optimization later. This is transitional, because eventually all "soft" factors will disappear and instead be generated by a call to
createFactor
of theEqualityConstraint
class.Added Python tests to factors.