27 using namespace gtsam;
const gtsam::Symbol key('X', 0)
static int runAllTests(TestResult &result)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
std::shared_ptr< GaussianFactor > linearize(const Values &c) const override
linearize to a GaussianFactor
Factor used in Shonan Averaging to clamp down gauge freedom.
#define EXPECT(condition)
#define EXPECT_LONGS_EQUAL(expected, actual)
TEST(ShonanAveraging, GaugeFactorLows)
std::uint64_t Key
Integer nonlinear key type.
size_t dim() const override
get the dimension of the factor (number of rows on linearization)