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. | |
~FeedbackController () | |
virtual const std::string & | getClassName (void) const |
Each entity should provide the name of the class it belongs to. | |
virtual std::string | getDocString () const |
Header documentation of the python class. | |
Parameters | |
void | setGain (const ::dynamicgraph::Matrix &inGain) |
Get feedback gain. | |
::dynamicgraph::Matrix | getGain () const |
Get feedback gain. | |
Static Protected Attributes | |
static const std::string | CLASS_NAME |
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 | ( | ) |
virtual const std::string& dynamicgraph::tutorial::FeedbackController::getClassName | ( | void | ) | const [inline, virtual] |
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 [inline, virtual] |
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.
const std::string dynamicgraph::tutorial::FeedbackController::CLASS_NAME [static, protected] |
Referenced by getClassName().