Public Member Functions | Private Attributes | List of all members
base_local_planner::VelocityIterator Class Reference

#include <velocity_iterator.h>

Public Member Functions

double getVelocity ()
 
bool isFinished ()
 
VelocityIteratoroperator++ (int)
 
void reset ()
 
 VelocityIterator (double min, double max, int num_samples)
 

Private Attributes

unsigned int current_index
 
std::vector< double > samples_
 

Detailed Description

We use the class to get even sized samples between min and max, inluding zero if it is not included (and range goes from negative to positive

Definition at line 47 of file velocity_iterator.h.

Constructor & Destructor Documentation

base_local_planner::VelocityIterator::VelocityIterator ( double  min,
double  max,
int  num_samples 
)
inline

Definition at line 49 of file velocity_iterator.h.

Member Function Documentation

double base_local_planner::VelocityIterator::getVelocity ( )
inline

Definition at line 76 of file velocity_iterator.h.

bool base_local_planner::VelocityIterator::isFinished ( )
inline

Definition at line 89 of file velocity_iterator.h.

VelocityIterator& base_local_planner::VelocityIterator::operator++ ( int  )
inline

Definition at line 80 of file velocity_iterator.h.

void base_local_planner::VelocityIterator::reset ( )
inline

Definition at line 85 of file velocity_iterator.h.

Member Data Documentation

unsigned int base_local_planner::VelocityIterator::current_index
private

Definition at line 95 of file velocity_iterator.h.

std::vector<double> base_local_planner::VelocityIterator::samples_
private

Definition at line 94 of file velocity_iterator.h.


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


base_local_planner
Author(s): Eitan Marder-Eppstein, Eric Perko, contradict@gmail.com
autogenerated on Thu Jan 21 2021 04:05:50