Allows to define a static periodic reference trajectory that the ControlLaw aims to track. More...
#include <periodic_reference_trajectory.hpp>
Additional Inherited Members | |
Protected Attributes inherited from StaticReferenceTrajectory | |
VariablesGrid | yRef |
Allows to define a static periodic reference trajectory that the ControlLaw aims to track.
The class PeriodicReferenceTrajectory allows to define a static periodic reference trajectory (given beforehand) that the ControlLaw aims to track while computing its control action.
The user-specified static reference trajectory is repeated as often as necessary to yield an infinitely long periodic reference trajectory.
Definition at line 58 of file periodic_reference_trajectory.hpp.
BEGIN_NAMESPACE_ACADO PeriodicReferenceTrajectory::PeriodicReferenceTrajectory | ( | ) |
Default constructor.
Definition at line 46 of file periodic_reference_trajectory.cpp.
PeriodicReferenceTrajectory::PeriodicReferenceTrajectory | ( | const VariablesGrid & | _yRef | ) |
Constructor which takes a pre-defined static reference trajectory.
@param[in] _yRef Pre-defined reference trajectory.
Definition at line 57 of file periodic_reference_trajectory.cpp.
PeriodicReferenceTrajectory::PeriodicReferenceTrajectory | ( | const char *const | _yRefFileName | ) |
Constructor which takes a pre-defined static reference trajectory.
@param[in] _yRefFileName Name of file containing the pre-defined reference trajectory.
Definition at line 63 of file periodic_reference_trajectory.cpp.
PeriodicReferenceTrajectory::PeriodicReferenceTrajectory | ( | const PeriodicReferenceTrajectory & | rhs | ) |
Copy constructor (deep copy).
@param[in] rhs Right-hand side object.
Definition at line 69 of file periodic_reference_trajectory.cpp.
|
virtual |
Destructor.
Definition at line 76 of file periodic_reference_trajectory.cpp.
|
virtual |
Clone constructor (deep copy).
\return Pointer to deep copy of base class type
Reimplemented from StaticReferenceTrajectory.
Definition at line 93 of file periodic_reference_trajectory.cpp.
|
virtual |
Returns a piece of the reference trajectory starting and ending at given times.
@param[in] tStart Start time of reference piece. @param[in] tEnd End time of reference piece. @param[out] _yRef Desired piece of the reference trajectory.
Reimplemented from StaticReferenceTrajectory.
Definition at line 99 of file periodic_reference_trajectory.cpp.
PeriodicReferenceTrajectory & PeriodicReferenceTrajectory::operator= | ( | const PeriodicReferenceTrajectory & | rhs | ) |
Assignment operator (deep copy).
@param[in] rhs Right-hand side object.
Definition at line 81 of file periodic_reference_trajectory.cpp.