#include <suTrackController.h>
Inheritance diagram for suTrackController:

Public Member Functions | |
| suTrackController (rdModel *aModel, suTrackObjectSet *aTrackObjectSet) | |
| Contructor. | |
| virtual | ~suTrackController () |
| Destructor. | |
| void | setNull () |
| Set NULL values for all member variables. | |
| suTrackObjectSet * | getTrackObjectSet () const |
| Get the track object set for this controller. | |
| rdControlSet * | getControlSet () const |
| Get the control set that the controller is using to to control the simulation. | |
| rdArray< int > * | getParameterList () |
| Get the list of parameters in the control set that the controller is using to control the simulation. | |
| rdFSQP * | getOptimizer () const |
| Get the optimizer. | |
| rdOptimizationTarget * | setOptimizationTarget (rdOptimizationTarget *aTarget) |
| Set the optimization target for this controller. | |
| rdOptimizationTarget * | getOptimizationTarget () const |
| Get the optimization target for this controller. | |
| void | setDT (double aDT) |
| Set the requested time step size. | |
| double | getDT () const |
| Get the requested time step size. | |
| void | setTargetTime (double aTime) |
| Set the target time. | |
| double | getTargetTime () const |
| Get the target time. | |
| void | setTargetDT (double aDT) |
| Set the target time step size. | |
| double | getTargetDT () const |
| Get the target time step size. | |
| void | setCheckTargetTime (bool aTrueFalse) |
| Set whether or not to check the target time. | |
| bool | getCheckTargetTime () const |
| Get whether or not to check the target time. | |
| rdStorage * | getPositionErrorStorage () const |
| Get the storage object for position errors. | |
| rdStorage * | getVelocityErrorStorage () const |
| Get the storage object for velocity errors. | |
| virtual void | computeControls (double &rDT, double aT, const double *aY, rdControlSet &rX) |
| Compute the controls for a simulation. | |
Protected Attributes | |
| rdFSQP * | _sqp |
| Optimizer. | |
| rdOptimizationTarget * | _target |
| Optimization target for computing the controls. | |
| suTrackObjectSet * | _trackObjectSet |
| Set of track objects. | |
| double | _dt |
| Next integration step size that is to be taken by the integrator. | |
| double | _lastDT |
| Last integration step size that was taken before a new integration step size was set in order to step exactly to the target time. | |
| bool | _restoreDT |
| Flag indicating when the last integration step size should be restored. | |
| double | _targetTime |
| The target time is the time in the future (in normalized units) for which the controls have been calculated. | |
| double | _targetDT |
| The step size used to generate a new target time, once the old target time has been reached. | |
| bool | _checkTargetTime |
| Whether or not to check the target time. | |
| rdStorage * | _pErrStore |
| Storage object for the position errors. | |
| rdStorage * | _vErrStore |
| Storage object for the velocity errors. | |
| rdControlSet * | _controlSet |
| Control set for the simulation. | |
| rdArray< int > | _paramList |
| List of parameters in the control set that are serving as the controls in the optimization problem. | |
|
||||||||||||
|
Contructor.
|
|
||||||||||||||||||||
|
Compute the controls for a simulation. The caller should send in an initial guess.
Implements rdController. |
|
|
Get whether or not to check the target time.
|
|
|
Get the control set that the controller is using to to control the simulation.
|
|
|
Get the requested time step size.
|
|
|
Get the optimization target for this controller.
|
|
|
Get the optimizer.
|
|
|
Get the list of parameters in the control set that the controller is using to control the simulation.
|
|
|
Get the storage object for position errors.
|
|
|
Get the target time step size. The target time step size is the step size used to compute a new target time, once the former target time has been reached by the integrator.
|
|
|
Get the target time. The target time is the time in the future for which the controls have been calculated. If an integrator is taking time steps prior to the target time, the controls should not have to be computed again.
|
|
|
Get the track object set for this controller.
|
|
|
Get the storage object for velocity errors.
|
|
|
Set whether or not to check the target time.
|
|
|
Set the requested time step size.
|
|
|
Set the optimization target for this controller.
|
|
|
Set the target time step size. The target time step size is the step size used to compute a new target time, once the former target time has been reached by the integrator.
|
|
|
Set the target time. The target time is the time in the future for which the controls have been calculated. If an integrator is taking time steps prior to the target time, the controls should not have to be computed again.
|
|
|
Flag indicating when the last integration step size should be restored. Normally it is restored only following a change to the integration step size that was made to step exactly to the end of a target interval. |
|
|
The target time is the time in the future (in normalized units) for which the controls have been calculated. If an integrator is taking steps prior to the target time, the controls should not have to be computed again. |
1.3