MCPcopy Create free account
hub / github.com/RoboMaster/RoboRTS / GetFootprint

Method GetFootprint

roborts_costmap/src/costmap_interface.cpp:373–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373void 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
382void CostmapInterface::GetOrientedFootprint(std::vector<Eigen::Vector3f> &footprint) {
383 std::vector<geometry_msgs::Point> oriented_footprint;

Callers 1

layer.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected