Public Member Functions | Private Attributes
base_local_planner::VelocityIterator Class Reference

#include <velocity_iterator.h>

List of all members.

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

Definition at line 76 of file velocity_iterator.h.

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.

Definition at line 85 of file velocity_iterator.h.

Member Data Documentation

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:

Author(s): Eitan Marder-Eppstein, Eric Perko,
autogenerated on Wed Aug 2 2017 03:12:38