MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / CalcTrans

Function CalcTrans

deps/glomap/glomap/math/rigid3d.cc:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17double CalcTrans(const Rigid3d& pose1, const Rigid3d& pose2) {
18 return (Inverse(pose1).translation - Inverse(pose2).translation).norm();
19}
20
21double CalcTransAngle(const Rigid3d& pose1, const Rigid3d& pose2) {
22 double cos_r = (pose1.translation).dot(pose2.translation) /

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected