![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Robot simple path class. More...
#include <laeTraj.h>
Public Member Functions | |
| LaeSimplePath () | |
| Default constructor. | |
| LaeSimplePath (const LaeSimplePath &src) | |
| Copy constructor. | |
| ~LaeSimplePath () | |
| Destructor. | |
| LaeSimplePath | operator= (const LaeSimplePath &rhs) |
| Assignment operator. More... | |
| timespec_t | getStartTime () |
| Get navigation start time. More... | |
| void | setStartTime (timespec_t &timeStart) |
| Set navigation start time. More... | |
| size_t | getNumPoints () |
| Get the number of wheel points in trajectory. More... | |
| void | append (LaePoint &ptDist, double fVelocity, double fAcceleration) |
| Append wheel point to end of trajectory. More... | |
| LaeSimpleWaypoint & | operator[] (const size_t i) |
| Subscript operator to get reference to wheel point at the given index. More... | |
| void | clear () |
| Clear data. | |
Protected Attributes | |
| timespec_t | m_timeStart |
| start time | |
| std::vector< LaeSimpleWaypoint > | m_path |
| path | |
Robot simple path class.
A simple path defines a set of waypoints from the robot's current position to the endpoint. Each waypoint defines a x,y distance, plus target velocity and acceleration.
A sequence of waypoints points Wp_i, i=0,n define a path.
|
inline |
|
inline |
|
inline |
|
inline |
Assignment operator.
| rhs | Right hand side object. |
Definition at line 416 of file laeTraj.h.
References m_path, and m_timeStart.
|
inline |
|
inline |