MCPcopy Create free account
hub / github.com/atenpas/gpd / vectorToPositionStruct

Function vectorToPositionStruct

src/detect_grasps_python.cpp:195–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195Position vectorToPositionStruct(const Eigen::Vector3d &v) {
196 Position p;
197 p.x = v(0);
198 p.y = v(1);
199 p.z = v(2);
200 return p;
201}
202
203Quaternion matrixToQuaternionStruct(const Eigen::Matrix3d &rot) {
204 Eigen::Quaterniond quat_eig(rot);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected