dynamicgraph::tutorial::FeedbackController Class Reference

Feedback controller for an inverted pendulum. More...

#include <dynamic-graph/tutorial/feedback-controller.hh>

Inheritance diagram for dynamicgraph::tutorial::FeedbackController:
[legend]
Collaboration diagram for dynamicgraph::tutorial::FeedbackController:
[legend]

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::CommandgetNewStyleCommand (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
 

Detailed Description

Feedback controller for an inverted pendulum.

This class implements a feedback control for the inverted pendulum represented by class InvertedPendulum

Constructor & Destructor Documentation

dynamicgraph::tutorial::FeedbackController::FeedbackController ( const std::string &  inName)

Constructor by name.

dynamicgraph::tutorial::FeedbackController::~FeedbackController ( )

Member Function Documentation

virtual const std::string& dynamicgraph::tutorial::FeedbackController::getClassName ( void  ) const
inlinevirtual

Each entity should provide the name of the class it belongs to.

Implements dynamicgraph::Entity.

References CLASS_NAME.

virtual std::string dynamicgraph::tutorial::FeedbackController::getDocString ( ) const
inlinevirtual

Header documentation of the python class.

Reimplemented from dynamicgraph::Entity.

::dynamicgraph::Matrix dynamicgraph::tutorial::FeedbackController::getGain ( ) const
inline

Get feedback gain.

void dynamicgraph::tutorial::FeedbackController::setGain ( const ::dynamicgraph::Matrix inGain)
inline

Get feedback gain.

Member Data Documentation

const std::string dynamicgraph::tutorial::FeedbackController::CLASS_NAME
staticprotected

 

Referenced by getClassName().