| 275 | } |
| 276 | |
| 277 | bool GridMap::getVector(const std::string& layerPrefix, const Index& index, Eigen::Vector3d& vector) const { |
| 278 | Eigen::Vector3d temp{at(layerPrefix + "x", index), at(layerPrefix + "y", index), at(layerPrefix + "z", index)}; |
| 279 | if (!isValid(temp[0]) || !isValid(temp[1]) || !isValid(temp[2])) { |
| 280 | return false; |
| 281 | } else { |
| 282 | vector = temp; |
| 283 | return true; |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | GridMap GridMap::getSubmap(const Position& position, const Length& length, bool& isSuccess) const { |
| 288 | Index index; |
nothing calls this directly
no outgoing calls
no test coverage detected