selfdriving
transform_pc_square_clipping.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * SelfDriving C++ library based on PTGs and mrpt-nav
3  * Copyright (C) 2019-2022 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
6 
7 #pragma once
8 
9 #include <mrpt/maps/CPointsMap.h>
10 #include <mrpt/poses/CPose2D.h>
11 
12 namespace mpp
13 {
14 /** Returns local obstacles as seen from a given pose, clipped to a maximum
15  * distance. */
17  const mrpt::maps::CPointsMap& inMap, const mrpt::poses::CPose2D& asSeenFrom,
18  const double MAX_DIST_XY, mrpt::maps::CPointsMap& outMap,
19  bool appendToOutMap = true);
20 
21 } // namespace mpp
Definition: bestTrajectory.h:15
void transform_pc_square_clipping(const mrpt::maps::CPointsMap &inMap, const mrpt::poses::CPose2D &asSeenFrom, const double MAX_DIST_XY, mrpt::maps::CPointsMap &outMap, bool appendToOutMap=true)