![]() |
Endorob
1.4
A C++ Robotics library by P. Berthet-Rayne
|
Snake Path Class. More...
#include <endorob.h>
Public Member Functions | |
| Snake_Path () | |
| ~Snake_Path () | |
| void | push_back (const Vec3d &point) |
| void | push_back (const Vec3d &point, const double &weight) |
| void | pop_back () |
| uint | size () |
| void | set_weight (const double &weight, const int &index=-1) |
| Vec | get_weights_vector (const uint &size) |
| double | get_weight (const uint &index) |
| void | clear () |
| Vec3d & | operator[] (uint x) |
Protected Attributes | |
| std::vector< Vec3d, Eigen::aligned_allocator< Vec3d > > | m_path |
| std::vector< double > | m_weights |
Snake Path Class.
This class is used to create the path to follow with weights for each points
| Snake_Path::Snake_Path | ( | ) |
Definition at line 4616 of file endorob.cpp.
| Snake_Path::~Snake_Path | ( | ) |
Definition at line 4619 of file endorob.cpp.
| void Snake_Path::clear | ( | ) |
Definition at line 4672 of file endorob.cpp.
| double Snake_Path::get_weight | ( | const uint & | index | ) |
Definition at line 4667 of file endorob.cpp.
Definition at line 4652 of file endorob.cpp.
| void Snake_Path::pop_back | ( | ) |
Definition at line 4636 of file endorob.cpp.
| void Snake_Path::push_back | ( | const Vec3d & | point | ) |
Definition at line 4625 of file endorob.cpp.
| void Snake_Path::push_back | ( | const Vec3d & | point, |
| const double & | weight | ||
| ) |
Definition at line 4630 of file endorob.cpp.
| void Snake_Path::set_weight | ( | const double & | weight, |
| const int & | index = -1 |
||
| ) |
Definition at line 4647 of file endorob.cpp.
| uint Snake_Path::size | ( | ) |
Definition at line 4642 of file endorob.cpp.