| 191 | } |
| 192 | |
| 193 | void |
| 194 | SkeletonDetection::refineSkeletonJoints(const |
| 195 | Eigen::Matrix4d& registration_matrix) |
| 196 | { |
| 197 | for(auto it = detection_msg_.joints.begin(), |
| 198 | end = detection_msg_.joints.end(); it != end; ++it) |
| 199 | { |
| 200 | Eigen::Vector4d refined = registration_matrix |
| 201 | * Eigen::Vector4d(it->x, it->y, it->z, 1.0); |
| 202 | it->x = refined(0); it->y = refined(1); it->z = refined(2); |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | std::ostream& |
| 207 | operator<<(std::ostream& ss, const SkeletonDetection& s) |
no test coverage detected