Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
planner_cspace::planner_3d::MotionCache Class Reference

#include <motion_cache.h>

Classes

class  Page
 

Public Types

using Cache = std::unordered_map< CyclicVecInt< 3, 2 >, Page, CyclicVecInt< 3, 2 > >
 
using Ptr = std::shared_ptr< MotionCache >
 

Public Member Functions

const Cache::const_iterator end (const int start_yaw) const
 
const Cache::const_iterator find (const CyclicVecInt< 3, 2 > &from, const CyclicVecInt< 3, 2 > &to) const
 
const Cache::const_iterator find (const int start_yaw, const CyclicVecInt< 3, 2 > &goal) const
 
const CyclicVecInt< 3, 2 > & getMaxRange () const
 
std::list< CyclicVecFloat< 3, 2 > > interpolatePath (const std::list< CyclicVecInt< 3, 2 >> &path_grid) 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)
 

Protected Attributes

std::vector< Cachecache_
 
CyclicVecInt< 3, 2 > max_range_
 
int page_size_
 

Detailed Description

Definition at line 44 of file motion_cache.h.

Member Typedef Documentation

◆ Cache

Definition at line 72 of file motion_cache.h.

◆ Ptr

Definition at line 74 of file motion_cache.h.

Member Function Documentation

◆ end()

const Cache::const_iterator planner_cspace::planner_3d::MotionCache::end ( const int  start_yaw) const
inline

Definition at line 93 of file motion_cache.h.

◆ find() [1/2]

const Cache::const_iterator planner_cspace::planner_3d::MotionCache::find ( const CyclicVecInt< 3, 2 > &  from,
const CyclicVecInt< 3, 2 > &  to 
) const
inline

Definition at line 85 of file motion_cache.h.

◆ find() [2/2]

const Cache::const_iterator planner_cspace::planner_3d::MotionCache::find ( const int  start_yaw,
const CyclicVecInt< 3, 2 > &  goal 
) const
inline

Definition at line 76 of file motion_cache.h.

◆ getMaxRange()

const CyclicVecInt<3, 2>& planner_cspace::planner_3d::MotionCache::getMaxRange ( ) const
inline

Definition at line 102 of file motion_cache.h.

◆ interpolatePath()

std::list< CyclicVecFloat< 3, 2 > > planner_cspace::planner_3d::MotionCache::interpolatePath ( const std::list< CyclicVecInt< 3, 2 >> &  path_grid) const

Definition at line 192 of file motion_cache.cpp.

◆ reset()

void planner_cspace::planner_3d::MotionCache::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 
)

Definition at line 45 of file motion_cache.cpp.

Member Data Documentation

◆ cache_

std::vector<Cache> planner_cspace::planner_3d::MotionCache::cache_
protected

Definition at line 118 of file motion_cache.h.

◆ max_range_

CyclicVecInt<3, 2> planner_cspace::planner_3d::MotionCache::max_range_
protected

Definition at line 120 of file motion_cache.h.

◆ page_size_

int planner_cspace::planner_3d::MotionCache::page_size_
protected

Definition at line 119 of file motion_cache.h.


The documentation for this class was generated from the following files:


planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Fri May 16 2025 02:15:23