James Kuszmaul | 9c3db18 | 2024-02-09 22:02:18 -0800 | [diff] [blame] | 1 | #ifndef FRC971_VISION_TARGET_MAP_UTILS_H_ |
2 | #define FRC971_VISION_TARGET_MAP_UTILS_H_ | ||||
3 | |||||
4 | #include <Eigen/Dense> | ||||
5 | |||||
6 | #include "frc971/vision/target_map_generated.h" | ||||
7 | |||||
8 | namespace frc971::vision { | ||||
9 | // Converts a TargetPoseFbs into a transformation matrix. | ||||
10 | Eigen::Matrix<double, 4, 4> PoseToTransform( | ||||
11 | const frc971::vision::TargetPoseFbs *pose); | ||||
12 | } // namespace frc971::vision | ||||
13 | |||||
14 | #endif // FRC971_VISION_TARGET_MAP_UTILS_H_ |