selfdriving
tp_obstacles_single_path.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 <mpp/data/MotionPrimitivesTree.h> // TODO: refactor in smaller headers?
10 #include <mrpt/maps/CPointsMap.h>
11 
12 namespace mpp
13 {
14 /** Returns TPS-distance (pseudometers, not normalized) to obstacles.
15  * ptg dynamic state must be updated by the caller.
16  */
18  const trajectory_index_t tp_space_k_direction,
19  const mrpt::maps::CPointsMap& localObstacles, const ptg_t& ptg);
20 
21 } // namespace mpp
Definition: bestTrajectory.h:15
double distance_t
Definition: basic_types.h:16
distance_t tp_obstacles_single_path(const trajectory_index_t tp_space_k_direction, const mrpt::maps::CPointsMap &localObstacles, const ptg_t &ptg)
int trajectory_index_t
Definition: basic_types.h:28
mrpt::nav::CParameterizedTrajectoryGenerator ptg_t
Definition: ptg_t.h:13