Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
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
 
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_
 
int page_size_
 

Detailed Description

Definition at line 38 of file motion_cache.h.

Member Typedef Documentation

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

Definition at line 61 of file motion_cache.h.

using MotionCache::Ptr = std::shared_ptr<MotionCache>

Definition at line 63 of file motion_cache.h.

Member Function Documentation

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

Definition at line 74 of file motion_cache.h.

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

Definition at line 65 of file motion_cache.h.

void 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 37 of file motion_cache.cpp.

Member Data Documentation

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

Definition at line 90 of file motion_cache.h.

int MotionCache::page_size_
protected

Definition at line 91 of file motion_cache.h.


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


planner_cspace
Author(s): Atsushi Watanabe
autogenerated on Tue Jul 9 2019 05:00:13