MCPcopy Create free account
hub / github.com/EdwardLiuyc/StaticMapping / PrintTransform

Function PrintTransform

common/math.h:188–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187template <typename T>
188void PrintTransform(const Eigen::Rigid3::Transform<T>& t) {
189 Eigen::Vector6<T> vec_6d = TransformToVector6(t);
190 const double factor = 180. / M_PI;
191 std::cout << " translation : (" << vec_6d[0] << ", " << vec_6d[1] << ", "
192 << vec_6d[2] << ")\n"
193 << " rotation : (" << vec_6d[3] * factor << ", "
194 << vec_6d[4] * factor << ", " << vec_6d[5] * factor << ")"
195 << std::endl;
196}
197
198template <typename T>
199Eigen::Matrix<T, 4, 4> InterpolateTransform(const Eigen::Matrix<T, 4, 4>& t1,

Callers 10

SetTrackingToImuMethod · 0.85
SetTrackingToGpsMethod · 0.85
SetTrackingToOdomMethod · 0.85
SetTrackingToLidarMethod · 0.85
SolveGpsCorrdAloneMethod · 0.85
RunFinalOptimazationMethod · 0.85
GetGpsCoordTransformMethod · 0.85

Calls 1

TransformToVector6Function · 0.85

Tested by

no test coverage detected