Feedback controller for an inverted pendulum. More...
#include <dynamic-graph/tutorial/feedback-controller.hh>
Public Member Functions | |
FeedbackController (const std::string &inName) | |
Constructor by name. More... | |
~FeedbackController () | |
virtual const std::string & | getClassName (void) const |
Each entity should provide the name of the class it belongs to. More... | |
virtual std::string | getDocString () const |
Header documentation of the python class. More... | |
Parameters | |
void | setGain (const ::dynamicgraph::Matrix &inGain) |
Get feedback gain. More... | |
::dynamicgraph::Matrix | getGain () const |
Get feedback gain. More... | |
Public Member Functions inherited from dynamicgraph::Entity | |
Entity (const std::string &name) | |
virtual | ~Entity () |
const std::string & | getName () const |
bool | hasSignal (const std::string &signame) const |
SignalBase< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | getSignal (const std::string &signalName) const |
std::ostream & | displaySignalList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual void | display (std::ostream &os) const |
virtual void | commandLine (const std::string &cmdLine, std::istringstream &cmdArgs, std::ostream &os) |
virtual SignalBase< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
const std::string & | getCommandList () const |
CommandMap_t | getNewStyleCommandMap () |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
SignalMap | getSignalMap () const |
Static Protected Attributes | |
static const std::string | CLASS_NAME |
More... | |
Additional Inherited Members | |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< std::string, SignalBase< int > * > | SignalMap |
typedef std::map< const std::string, command::Command * > | CommandMap_t |
Protected Member Functions inherited from dynamicgraph::Entity | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityRegistration () |
void | entityDeregistration () |
void | signalRegistration (const SignalArray< int > &signals) |
void | signalDeregistration (const std::string &name) |
Protected Attributes inherited from dynamicgraph::Entity | |
std::string | name |
SignalMap | signalMap |
CommandMap_t | commandMap |
Feedback controller for an inverted pendulum.
This class implements a feedback control for the inverted pendulum represented by class InvertedPendulum
dynamicgraph::tutorial::FeedbackController::FeedbackController | ( | const std::string & | inName | ) |
Constructor by name.
dynamicgraph::tutorial::FeedbackController::~FeedbackController | ( | ) |
|
inlinevirtual |
Each entity should provide the name of the class it belongs to.
Implements dynamicgraph::Entity.
References CLASS_NAME.
|
inlinevirtual |
Header documentation of the python class.
Reimplemented from dynamicgraph::Entity.
|
inline |
Get feedback gain.
|
inline |
Get feedback gain.
|
staticprotected |
Referenced by getClassName().