![]() |
Kuon
1.1.3
RoadNarrows Robotics Large Outdoor Mobile Robot Project
|
Wheel trajectory class. More...
#include <kuonTraj.h>
Public Member Functions | |
| KuonWheelTraj () | |
| Default constructor. | |
| KuonWheelTraj (const std::string &strName, const double fPosition, const double fVelocity, const double fAcceleration) | |
| Initialization constructor. More... | |
| KuonWheelTraj (const KuonWheelTraj &src) | |
| Copy constructor. More... | |
| ~KuonWheelTraj () | |
| Destructor. | |
| KuonWheelTraj | operator= (const KuonWheelTraj &rhs) |
| Assignment operator. More... | |
| void | get (std::string &strName, double &fPosition, double &fVelocity, double &fAcceleration) |
| Get wheel point data. More... | |
Protected Attributes | |
| std::string | m_strName |
| wheel name | |
| double | m_fPosition |
| wheel position (radians) | |
| double | m_fVelocity |
| wheel velocity (% of maximum) | |
| double | m_fAcceleration |
| wheel acceleration (not used) | |
Wheel trajectory class.
A wheel trajectory specifies the goal position, velocity, and acceleration of one wheel.
Definition at line 80 of file kuonTraj.h.
|
inline |
Initialization constructor.
| strName | Wheel name. |
| fPosition | Wheel position. |
| fVelocity | Wheel velocity. |
| fAcceleration | Wheel acceleration. |
Definition at line 101 of file kuonTraj.h.
References m_fAcceleration, m_fPosition, m_fVelocity, and m_strName.
|
inline |
Copy constructor.
| src | Source object. |
Definition at line 117 of file kuonTraj.h.
References m_fAcceleration, m_fPosition, m_fVelocity, and m_strName.
|
inline |
Get wheel point data.
| [out] | strName | Wheel name. |
| [out] | fPosition | Wheel position. |
| [out] | fVelocity | Wheel velocity. |
| [out] | fAcceleration | Wheel acceleration. |
Definition at line 157 of file kuonTraj.h.
References m_fAcceleration, m_fPosition, m_fVelocity, and m_strName.
|
inline |
Assignment operator.
| rhs | Right hand side object. |
Definition at line 139 of file kuonTraj.h.
References m_fAcceleration, m_fPosition, m_fVelocity, and m_strName.