GCOP
1.0
|
#include <controller.h>
Public Member Functions | |
virtual bool | Set (Tu &u, double t, const Tx &x)=0 |
virtual bool | SetParams (const Ts &s) |
virtual bool | SetContext (const Tc &c) |
Public Attributes | |
Ts | s |
controller parameters | |
Tc | c |
controller context |
Base controller. Its simple purpose is to take a state x and time t and produces the control u.
Author: Marin Kobilarov -- Copyright (C) 2006-2013
virtual bool gcop::Controller< Tx, Tu, Ts, Tc >::Set | ( | Tu & | u, |
double | t, | ||
const Tx & | x | ||
) | [pure virtual] |
Feedback controller of the form u = k(t, x)
u | controls |
t | time |
x | state |
Implemented in gcop::Body3dDemController< nu >, gcop::Body3dAvoidController< nu >, gcop::GavoidController, gcop::Body3dController< c >, gcop::Body3dController< nu >, gcop::Point3dController, and gcop::MbsController.
virtual bool gcop::Controller< Tx, Tu, Ts, Tc >::SetContext | ( | const Tc & | c | ) | [inline, virtual] |
Set context
Reimplemented in gcop::Body3dDemController< nu >, and gcop::Body3dAvoidController< nu >.
virtual bool gcop::Controller< Tx, Tu, Ts, Tc >::SetParams | ( | const Ts & | s | ) | [inline, virtual] |
Set controller parameters
Reimplemented in gcop::Body3dDemController< nu >, and gcop::Body3dAvoidController< nu >.
Tc gcop::Controller< Tx, Tu, Ts, Tc >::c |
controller context
Ts gcop::Controller< Tx, Tu, Ts, Tc >::s |
controller parameters