16 SE2Operation::ConfigVector_t pose_s, pose_g;
17 SE2Operation::TangentVector_t delta_u;
23 pose_s(2) = cos(M_PI / 4.0);
24 pose_s(3) = sin(M_PI / 4.0);
29 pose_g(2) = cos(-M_PI / 2.0);
30 pose_g(3) = sin(-M_PI / 2.0);
34 aSE2.difference(pose_s, pose_g, delta_u);
35 std::cout <<
"difference: " << delta_u.transpose() << std::endl;
39 SE2Operation::ConfigVector_t pose_check;
40 aSE2.integrate(pose_s, delta_u, pose_check);
41 std::cout <<
"goal configuration (from composition): " << pose_check.transpose() << std::endl;
42 std::cout <<
"goal configuration: " << pose_g.transpose() << std::endl;