30 #ifndef PLANNER_CSPACE_PLANNER_3D_GRID_ASTAR_MODEL_H 31 #define PLANNER_CSPACE_PLANNER_3D_GRID_ASTAR_MODEL_H 37 #include <costmap_cspace_msgs/MapMetaData3D.h> 73 using Ptr = std::shared_ptr<GridAstarModel3D>;
74 using ConstPtr = std::shared_ptr<const GridAstarModel3D>;
103 const costmap_cspace_msgs::MapMetaData3D& map_info,
104 const Vecf& euclid_cost_coef,
105 const int local_range,
112 void enableHysteresis(
const bool enable);
113 void createEuclidCostCache();
114 float euclidCost(
const Vec& v)
const;
115 float euclidCostRough(
const Vec& v)
const;
117 const Vec& cur,
const Vec& next,
const std::vector<VecWithCost>& start,
const Vec& goal)
const override;
120 const Vec& cur,
const Vec& goal)
const override;
121 const std::vector<Vec>& searchGrids(
123 const std::vector<VecWithCost>& ss,
124 const Vec& es)
const override;
130 using Ptr = std::shared_ptr<GridAstarModel2D>;
139 const Vec& cur,
const Vec& next,
const std::vector<VecWithCost>& start,
const Vec& goal)
const final;
141 const Vec& cur,
const Vec& goal)
const final;
142 const std::vector<Vec>& searchGrids(
143 const Vec& cur,
const std::vector<VecWithCost>& start,
const Vec& goal)
const final;
148 #endif // PLANNER_CSPACE_PLANNER_3D_GRID_ASTAR_MODEL_H std::array< float, 1024 > euclid_cost_lin_cache_
std::shared_ptr< GridAstarModel3D > Ptr
float weight_costmap_turn_
std::vector< std::vector< Vec > > motion_primitives_
BlockMemGridmapBase< char, 3, 2 > & cm_
std::shared_ptr< GridAstarModel2D > Ptr
BlockMemGridmapBase< float, 3, 2 > & cost_estim_cache_
std::vector< Vec > search_list_rough_
BlockMemGridmapBase< char, 3, 2 > & cm_hyst_
float angle_resolution_aspect_
std::shared_ptr< const GridAstarModel3D > ConstPtr
MotionCache motion_cache_
PathInterpolator path_interpolator_
GridAstarModel2D(const GridAstarModel3D::ConstPtr base)
float hysteresis_max_dist_
BlockMemGridmapBase< char, 3, 2 > & cm_rough_
MotionCache motion_cache_linear_
const GridAstarModel3D::ConstPtr base_
costmap_cspace_msgs::MapMetaData3D map_info_