#include <control-pd.hh>
Public Member Functions | |
ControlPD (const std::string &name) | |
virtual void | display (std::ostream &os) const |
virtual const std::string & | getClassName (void) const |
void | init (const double &step) |
Public Member Functions inherited from dynamicgraph::Entity | |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
const std::string & | getCommandList () const |
virtual std::string | getDocString () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | getSignal (const std::string &signalName) const |
SignalMap | getSignalMap () const |
double | getStreamPrintPeriod () |
double | getStreamPrintPeriod () |
double | getTimeSample () |
double | getTimeSample () |
bool | hasSignal (const std::string &signame) const |
Logger & | logger () |
Logger const & | logger () const |
Logger & | logger () |
Logger const & | logger () const |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
bool | setStreamPrintPeriod (double t) |
bool | setStreamPrintPeriod (double t) |
bool | setTimeSample (double t) |
bool | setTimeSample (double t) |
virtual SignalBase< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
SignalTimeDependent< dynamicgraph::Vector, int > | controlSOUT |
SignalPtr< dynamicgraph::Vector, int > | desiredpositionSIN |
SignalPtr< dynamicgraph::Vector, int > | desiredvelocitySIN |
SignalPtr< dynamicgraph::Vector, int > | KdSIN |
SignalPtr< dynamicgraph::Vector, int > | KpSIN |
SignalTimeDependent< dynamicgraph::Vector, int > | positionErrorSOUT |
SignalPtr< dynamicgraph::Vector, int > | positionSIN |
SignalTimeDependent< dynamicgraph::Vector, int > | velocityErrorSOUT |
SignalPtr< dynamicgraph::Vector, int > | velocitySIN |
Static Public Attributes | |
static const std::string | CLASS_NAME |
static const double | TIME_STEP_DEFAULT = .001 |
Protected Member Functions | |
dynamicgraph::Vector & | computeControl (dynamicgraph::Vector &tau, int t) |
dynamicgraph::Vector & | getPositionError (dynamicgraph::Vector &position_error, int t) |
dynamicgraph::Vector & | getVelocityError (dynamicgraph::Vector &velocity_error, int t) |
Protected Member Functions inherited from dynamicgraph::Entity | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityDeregistration () |
void | entityRegistration () |
void | signalDeregistration (const std::string &name) |
void | signalRegistration (const SignalArray< int > &signals) |
Protected Attributes | |
dynamicgraph::Vector | position_error_ |
double | TimeStep |
dynamicgraph::Vector | velocity_error_ |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Additional Inherited Members | |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< const std::string, command::Command *> | CommandMap_t |
typedef std::map< std::string, SignalBase< int > *> | SignalMap |
Definition at line 46 of file control-pd.hh.
ControlPD::ControlPD | ( | const std::string & | name | ) |
Definition at line 33 of file control-pd.cpp.
|
protected |
Definition at line 84 of file control-pd.cpp.
|
virtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 71 of file control-pd.cpp.
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 60 of file control-pd.hh.
|
protected |
Definition at line 109 of file control-pd.cpp.
|
protected |
Definition at line 117 of file control-pd.cpp.
void ControlPD::init | ( | const double & | step | ) |
Definition at line 61 of file control-pd.cpp.
|
static |
Definition at line 58 of file control-pd.hh.
SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::controlSOUT |
Definition at line 74 of file control-pd.hh.
SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::desiredpositionSIN |
Definition at line 71 of file control-pd.hh.
SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::desiredvelocitySIN |
Definition at line 73 of file control-pd.hh.
SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::KdSIN |
Definition at line 69 of file control-pd.hh.
SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::KpSIN |
Definition at line 68 of file control-pd.hh.
|
protected |
Definition at line 80 of file control-pd.hh.
SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::positionErrorSOUT |
Definition at line 75 of file control-pd.hh.
SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::positionSIN |
Definition at line 70 of file control-pd.hh.
|
static |
Definition at line 55 of file control-pd.hh.
|
protected |
Definition at line 65 of file control-pd.hh.
|
protected |
Definition at line 81 of file control-pd.hh.
SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::velocityErrorSOUT |
Definition at line 76 of file control-pd.hh.
SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::ControlPD::velocitySIN |
Definition at line 72 of file control-pd.hh.