#include <partial_movement.hpp>
Public Member Functions | |
double | get_target (double percentage) |
PartialMovement () | |
virtual | ~PartialMovement () |
Protected Attributes | |
std::vector< double > | steps |
Definition at line 35 of file partial_movement.hpp.
Definition at line 31 of file partial_movement.cpp.
shadowrobot::PartialMovement::~PartialMovement | ( | ) | [virtual] |
Definition at line 34 of file partial_movement.cpp.
double shadowrobot::PartialMovement::get_target | ( | double | percentage | ) |
Returns a target for the given percentage.
percentage | must be between 0 and 1 |
Definition at line 37 of file partial_movement.cpp.
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.