Public Member Functions | Protected Attributes
shadowrobot::PartialMovement Class Reference

#include <partial_movement.hpp>

Inheritance diagram for shadowrobot::PartialMovement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double get_target (double percentage)
 PartialMovement ()
virtual ~PartialMovement ()

Protected Attributes

std::vector< double > steps

Detailed Description

Definition at line 35 of file partial_movement.hpp.


Constructor & Destructor Documentation

Definition at line 31 of file partial_movement.cpp.

Definition at line 34 of file partial_movement.cpp.


Member Function Documentation

double shadowrobot::PartialMovement::get_target ( double  percentage)

Returns a target for the given percentage.

Parameters:
percentagemust be between 0 and 1
Returns:
target from this movement.

Definition at line 37 of file partial_movement.cpp.


Member Data Documentation

std::vector<double> shadowrobot::PartialMovement::steps [protected]

A vector containing the steps for this movement, in percentage of the range. Contains -1 if no target for this point.

Definition at line 55 of file partial_movement.hpp.


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


sr_movements
Author(s): Ugo Cupcic
autogenerated on Fri Aug 28 2015 13:09:30