Go to the documentation of this file.
30 #ifndef PLANNER_CSPACE_PLANNER_3D_MOTION_CACHE_H
31 #define PLANNER_CSPACE_PLANNER_3D_MOTION_CACHE_H
35 #include <unordered_map>
61 const std::vector<CyclicVecInt<3, 2>>&
getMotion()
const
74 using Ptr = std::shared_ptr<MotionCache>;
76 inline const typename Cache::const_iterator
find(
83 return cache_[i].find(goal);
85 inline const typename Cache::const_iterator
find(
89 const int start_yaw = from[2];
91 return find(start_yaw, goal);
93 inline const typename Cache::const_iterator
end(
94 const int start_yaw)
const
108 const float linear_resolution,
109 const float angular_resolution,
112 const float interpolation_resolution,
113 const float grid_enumeration_resolution);
125 #endif // PLANNER_CSPACE_PLANNER_3D_MOTION_CACHE_H
const std::vector< CyclicVecInt< 3, 2 > > & getMotion() const
std::unordered_map< CyclicVecInt< 3, 2 >, Page, CyclicVecInt< 3, 2 > > Cache
const Cache::const_iterator find(const int start_yaw, const CyclicVecInt< 3, 2 > &goal) const
void reset(const float linear_resolution, const float angular_resolution, const int range, const std::function< void(CyclicVecInt< 3, 2 >, size_t &, size_t &)> gm_addr, const float interpolation_resolution, const float grid_enumeration_resolution)
std::vector< CyclicVecInt< 3, 2 > > motion_
const CyclicVecInt< 3, 2 > & getMaxRange() const
float getDistance() const
const std::vector< CyclicVecFloat< 3, 2 > > & getInterpolatedMotion() const
const Cache::const_iterator find(const CyclicVecInt< 3, 2 > &from, const CyclicVecInt< 3, 2 > &to) const
std::vector< CyclicVecFloat< 3, 2 > > interpolated_motion_
const Cache::const_iterator end(const int start_yaw) const
std::shared_ptr< MotionCache > Ptr
CyclicVecInt< 3, 2 > max_range_
std::list< CyclicVecFloat< 3, 2 > > interpolatePath(const std::list< CyclicVecInt< 3, 2 >> &path_grid) const
std::vector< Cache > cache_
planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Fri May 16 2025 02:15:23