26 using namespace std::placeholders;
28 using namespace gtsam;
45 double delta_t = 0.10;
61 double delta_t = 0.10;
62 Vector3 tau(100.0, 150.0, 10.0);
78 for(
int i=0;
i<tau.size();
i++){
93 double delta_t = 0.10;
94 Vector3 tau(100.0, 150.0, 10.0);
100 Vector3 v1_upd(0.5, -0.7, 0.3);
101 Vector3 v2_upd(-0.7, 0.4, 0.9);
104 Matrix computed_H1, computed_H2;
105 factor.
evaluateError(v1_upd, v2_upd, computed_H1, computed_H2);
108 Matrix numerical_H1, numerical_H2;
109 numerical_H1 = numericalDerivative21<Vector3, Vector3, Vector3>(
110 std::bind(&
predictionError, std::placeholders::_1, std::placeholders::_2,
113 numerical_H2 = numericalDerivative22<Vector3, Vector3, Vector3>(
114 std::bind(&
predictionError, std::placeholders::_1, std::placeholders::_2,