Apriltag: some improvements/changes
This MR has changes in:
-
factor_autodiff_apriltag.h: Theoperator()was rewritten to remove some temporary variables and copies. -
gtest_factor_autodiff_apriltag.cpp: New test with non-zero values for extrinsics and frame pose. Also removed some wrongaddConstrainedBy(). -
processor_tracker_landmark_apriltag.cpp: After playing with the demo, the only change that remained is not providing features without orientation indetectNewFeatures()to avoid potential wrong frame and landmark initialization in future calls toreestimateLastFrame(). It could be implemented using abooloption in the processor parameters. -
processor_tracker.cppa small bug fix also contained in !257 (merged).
TO DO:
Ensure the proper frame coordinates for the error in FactorAutodiffApriltag::operator() to deal with covariance properly.
@mederic_fourmy, merge the current branch if you consider the contained changes are of your interest.