orogen/ctrl_lib
|
#include <JointTorqueController.hpp>
Public Member Functions | |
JointTorqueController (std::string const &name="ctrl_lib::JointTorqueController") | |
JointTorqueController (std::string const &name, RTT::ExecutionEngine *engine) | |
~JointTorqueController () | |
bool | configureHook () |
bool | startHook () |
void | updateHook () |
void | errorHook () |
void | stopHook () |
void | cleanupHook () |
Protected Member Functions | |
virtual bool | readFeedback () |
virtual bool | readSetpoint () |
virtual void | updateController () |
virtual const base::VectorXd & | computeActivation (wbc::ActivationFunction &activation_function) |
Protected Attributes | |
base::commands::Joints | setpoint |
base::commands::Joints | control_output |
base::commands::Joints | feedback |
wbc::JointTorquePIDController * | controller |
Friends | |
class | JointTorqueControllerBase |
PID controller. Dimension of all fields has to be equal to field_names property
JointTorqueController::JointTorqueController | ( | std::string const & | name = "ctrl_lib::JointTorqueController" | ) |
JointTorqueController::JointTorqueController | ( | std::string const & | name, |
RTT::ExecutionEngine * | engine ) |
|
inline |
void JointTorqueController::cleanupHook | ( | ) |
|
protectedvirtual |
Compute Activation function
bool JointTorqueController::configureHook | ( | ) |
void JointTorqueController::errorHook | ( | ) |
|
protectedvirtual |
Read all feedback values of the controller. Return false if there is no feedback, true otherwise
|
protectedvirtual |
Read all setpoints of the controller. Return false if there is no setpoint, true otherwise
bool JointTorqueController::startHook | ( | ) |
void JointTorqueController::stopHook | ( | ) |
|
protectedvirtual |
Compute output of the controller
void JointTorqueController::updateHook | ( | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |