| 371 | } |
| 372 | |
| 373 | void CostmapInterface::GetFootprint(std::vector<Eigen::Vector3f> &footprint) { |
| 374 | std::vector<geometry_msgs::Point> ros_footprint = GetRobotFootprint(); |
| 375 | Eigen::Vector3f point; |
| 376 | for (auto it: ros_footprint) { |
| 377 | point << it.x, it.y, it.z; |
| 378 | footprint.push_back(point); |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | void CostmapInterface::GetOrientedFootprint(std::vector<Eigen::Vector3f> &footprint) { |
| 383 | std::vector<geometry_msgs::Point> oriented_footprint; |