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 int start_yaw, const CyclicVecInt< 3, 2 > &goal) const
 
const CyclicVecInt< 3, 2 > & getMaxRange () 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)
 

Protected Attributes

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

Detailed Description

Definition at line 43 of file motion_cache.h.

Member Typedef Documentation

Definition at line 66 of file motion_cache.h.

Definition at line 68 of file motion_cache.h.

Member Function Documentation

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

Definition at line 79 of file motion_cache.h.

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

Definition at line 70 of file motion_cache.h.

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

Definition at line 88 of file motion_cache.h.

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 
)

Definition at line 42 of file motion_cache.cpp.

Member Data Documentation

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

Definition at line 100 of file motion_cache.h.

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

Definition at line 102 of file motion_cache.h.

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

Definition at line 101 of file motion_cache.h.


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


planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:20:43