wbc
|
#include <JointTorquePIDController.hpp>
Public Member Functions | |
JointTorquePIDController (const std::vector< std::string > &joint_names) | |
virtual | ~JointTorquePIDController () |
const base::commands::Joints & | update (const base::commands::Joints &setpoint, const base::samples::Joints &feedback, const double &dt) |
Public Member Functions inherited from wbc::PIDController | |
PIDController (uint dimension) | |
virtual | ~PIDController () |
void | update (const double delta_t) |
void | setPID (const PIDCtrlParams ¶ms) |
const PIDCtrlParams & | getPID () |
void | setMaxCtrlOutput (const base::VectorXd &max) |
const base::VectorXd & | maxCtrlOutput () |
void | setDeadZone (const base::VectorXd &dz) |
const base::VectorXd & | deadZone () |
void | applySaturation (const base::VectorXd &in, const base::VectorXd &max, base::VectorXd &out) |
void | applyDeadZone (const base::VectorXd &in, const base::VectorXd &min, base::VectorXd &out) |
uint | getDimension () |
base::VectorXd | getControlError () |
virtual const base::VectorXd & | computeDerivative (const double delta_t) |
Protected Member Functions | |
void | extractFeedback (const base::samples::Joints &feedback) |
void | extractSetpoint (const base::commands::Joints &setpoint) |
Protected Attributes | |
base::commands::Joints | control_output_joints |
std::vector< std::string > | joint_names |
Protected Attributes inherited from wbc::PIDController | |
PIDCtrlParams | pid_params |
uint | dimension |
base::VectorXd | control_error |
base::VectorXd | prev_control_error |
base::VectorXd | dead_zone |
base::VectorXd | max_ctrl_output |
base::VectorXd | integral |
base::VectorXd | derivative |
base::VectorXd | control_output |
base::VectorXd | setpoint |
base::VectorXd | feedback |
wbc::JointTorquePIDController::JointTorquePIDController | ( | const std::vector< std::string > & | joint_names | ) |
|
inlinevirtual |
|
protected |
|
protected |
const base::commands::Joints & wbc::JointTorquePIDController::update | ( | const base::commands::Joints & | setpoint, |
const base::samples::Joints & | feedback, | ||
const double & | dt ) |
Convert typed to raw input data and call PIDController::update()
|
protected |
|
protected |