Public Member Functions

Allows to define a static periodic reference trajectory that the ControlLaw aims to track. More...

#include <periodic_reference_trajectory.hpp>

Inheritance diagram for PeriodicReferenceTrajectory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ReferenceTrajectoryclone () const
virtual returnValue getReference (double tStart, double tEnd, VariablesGrid &_yRef) const
PeriodicReferenceTrajectoryoperator= (const PeriodicReferenceTrajectory &rhs)
 PeriodicReferenceTrajectory ()
 PeriodicReferenceTrajectory (const VariablesGrid &_yRef)
 PeriodicReferenceTrajectory (const char *const _yRefFileName)
 PeriodicReferenceTrajectory (const PeriodicReferenceTrajectory &rhs)
virtual ~PeriodicReferenceTrajectory ()

Detailed Description

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.

Author:
Hans Joachim Ferreau, Boris Houska

Definition at line 58 of file periodic_reference_trajectory.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 46 of file periodic_reference_trajectory.cpp.

Constructor which takes a pre-defined static reference trajectory.

Parameters:
[in]_yRefPre-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.

Parameters:
[in]_yRefFileNameName of file containing the pre-defined reference trajectory.

Definition at line 63 of file periodic_reference_trajectory.cpp.

Copy constructor (deep copy).

Parameters:
[in]rhsRight-hand side object.

Definition at line 69 of file periodic_reference_trajectory.cpp.

Destructor.

Definition at line 76 of file periodic_reference_trajectory.cpp.


Member Function Documentation

Clone constructor (deep copy).

Returns:
Pointer to deep copy of base class type

Reimplemented from StaticReferenceTrajectory.

Definition at line 93 of file periodic_reference_trajectory.cpp.

returnValue PeriodicReferenceTrajectory::getReference ( double  tStart,
double  tEnd,
VariablesGrid _yRef 
) const [virtual]

Returns a piece of the reference trajectory starting and ending at given times.

Parameters:
[in]tStartStart time of reference piece.
[in]tEndEnd time of reference piece.
[out]_yRefDesired piece of the reference trajectory.
Returns:
SUCCESSFUL_RETURN,
RET_INVALID_ARGUMENTS

Reimplemented from StaticReferenceTrajectory.

Definition at line 99 of file periodic_reference_trajectory.cpp.

PeriodicReferenceTrajectory & PeriodicReferenceTrajectory::operator= ( const PeriodicReferenceTrajectory rhs)

Assignment operator (deep copy).

Parameters:
[in]rhsRight-hand side object.

Definition at line 81 of file periodic_reference_trajectory.cpp.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:25