This class implements a TaskContext that controlls the end-effector frame of a robot. More...
#include <CartesianControllerPos.hpp>
Public Member Functions | |
| CartesianControllerPos (std::string name) | |
| Constructor of the class. | |
| virtual bool | configureHook () |
| virtual bool | startHook () |
| virtual void | updateHook () |
| virtual void | stopHook () |
| virtual void | cleanupHook () |
Protected Attributes | |
| RTT::ReadDataPort< KDL::Frame > | _position_meas |
| DataPort containing the measured frame, shared with OCL::CartesianSensor. | |
| RTT::ReadDataPort< KDL::Frame > | _position_desi |
| DataPort containing the desired frame, shared with OCL::CartesianGeneratorPos. | |
| RTT::WriteDataPort< KDL::Twist > | _velocity_out |
| DataPort containing the output twist, represented in the base frame with end-effector reference point, shared with OCL::CartesianEffectorVel. | |
|
RTT::Property< std::vector < double > > | _controller_gain |
| Vector with the control gain value for each dof. | |
This class implements a TaskContext that controlls the end-effector frame of a robot.
It uses a simple position-feedback to calculate an output twist. twist_out = K_gain * ( frame_desired - frame_measured)
Definition at line 45 of file CartesianControllerPos.hpp.
| CartesianControllerPos | ( | std::string | name | ) |
Constructor of the class.
| name | name of the TaskContext |
Definition at line 37 of file CartesianControllerPos.cpp.
References CartesianControllerPos::_controller_gain, CartesianControllerPos::_position_desi, CartesianControllerPos::_position_meas, and CartesianControllerPos::_velocity_out.
1.6.3