| 193 | } |
| 194 | |
| 195 | Position 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 | |
| 203 | Quaternion matrixToQuaternionStruct(const Eigen::Matrix3d &rot) { |
| 204 | Eigen::Quaterniond quat_eig(rot); |
nothing calls this directly
no outgoing calls
no test coverage detected