#include <movement_from_image.hpp>
Definition at line 38 of file movement_from_image.hpp.
shadowrobot::MovementFromImage::MovementFromImage |
( |
std::string |
image_path | ) |
|
|
explicit |
shadowrobot::MovementFromImage::~MovementFromImage |
( |
| ) |
|
|
virtual |
void shadowrobot::MovementFromImage::generate_movement_ |
( |
| ) |
|
|
protected |
Generates a movement from the given png file:
- Reads the image from the top left corner, row by row.
- The first encountered pixel is the target (the scale is the full range of the joint = the height of the png).
Definition at line 51 of file movement_from_image.cpp.
ssize_t shadowrobot::MovementFromImage::nb_cols_ |
|
protected |
ssize_t shadowrobot::MovementFromImage::nb_rows_ |
|
protected |
The documentation for this class was generated from the following files: