orogen/ctrl_lib
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ctrl_lib::JointPositionController Class Reference

#include <JointPositionController.hpp>

Inheritance diagram for ctrl_lib::JointPositionController:

Public Member Functions

 JointPositionController (std::string const &name="ctrl_lib::JointPositionController")
 
 JointPositionController (std::string const &name, RTT::ExecutionEngine *engine)
 
 ~JointPositionController ()
 
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::JointPosPDController * controller
 

Friends

class JointPositionControllerBase
 

Detailed Description

PositionControlFeedForward in joint space. See wbc/controllers/PositionControlFeedForward.hpp for details

Constructor & Destructor Documentation

◆ JointPositionController() [1/2]

JointPositionController::JointPositionController ( std::string const & name = "ctrl_lib::JointPositionController")

◆ JointPositionController() [2/2]

JointPositionController::JointPositionController ( std::string const & name,
RTT::ExecutionEngine * engine )

◆ ~JointPositionController()

ctrl_lib::JointPositionController::~JointPositionController ( )
inline

Member Function Documentation

◆ cleanupHook()

void JointPositionController::cleanupHook ( )

◆ computeActivation()

const base::VectorXd & JointPositionController::computeActivation ( wbc::ActivationFunction & activation_function)
protectedvirtual

Compute Activation function

◆ configureHook()

bool JointPositionController::configureHook ( )

◆ errorHook()

void JointPositionController::errorHook ( )

◆ readFeedback()

bool JointPositionController::readFeedback ( )
protectedvirtual

Read all feedback values of the controller. Return false if there is no feedback, true otherwise

◆ readSetpoint()

bool JointPositionController::readSetpoint ( )
protectedvirtual

Read all setpoints of the controller. Return false if there is no setpoint, true otherwise

◆ startHook()

bool JointPositionController::startHook ( )

◆ stopHook()

void JointPositionController::stopHook ( )

◆ updateController()

void JointPositionController::updateController ( )
protectedvirtual

Compute output of the controller

◆ updateHook()

void JointPositionController::updateHook ( )

Friends And Related Symbol Documentation

◆ JointPositionControllerBase

friend class JointPositionControllerBase
friend

Member Data Documentation

◆ control_output

base::commands::Joints ctrl_lib::JointPositionController::control_output
protected

◆ controller

wbc::JointPosPDController* ctrl_lib::JointPositionController::controller
protected

◆ feedback

base::commands::Joints ctrl_lib::JointPositionController::feedback
protected

◆ setpoint

base::commands::Joints ctrl_lib::JointPositionController::setpoint
protected

The documentation for this class was generated from the following files: