Kuka160nAxesVelocityController Class Reference

This class implements a TaskContext to use with the Kuka160 robot in the RoboticLab, PMA, dept. More...

#include <Kuka160nAxesVelocityController.hpp>

List of all members.

Public Member Functions

 Kuka160nAxesVelocityController (std::string name)
 The contructor of the class.
virtual bool configureHook ()
virtual bool startHook ()
virtual void updateHook ()
virtual void stopHook ()
virtual void cleanupHook ()

Public Attributes

std::vector< OCL::AxisInterface * > axes
std::vector
< OCL::SimulationAxis * > 
axes_simulation

Protected Attributes

RTT::ReadDataPort< std::vector
< double > > 
driveValues_port
 vector of ReadDataPorts which contain the output velocities of the axes.
RTT::DataPort< std::vector
< bool > > 
referenceValues_port
 vector of WriteDataPorts which contain the values of the reference switch.
RTT::DataPort< std::vector
< double > > 
positionValues_port
 vector of DataPorts which contain the values of the position sensors.
Property< std::vector< double > > driveLimits_prop
 The absolute value of the velocity will be limited to this property.
Property< std::vector< double > > lowerPositionLimits_prop
 Lower limit for the positions.
Property< std::vector< double > > upperPositionLimits_prop
 upper limit for the positions.
Property< std::vector< double > > initialPosition_prop
 Start position in rad for simulation.
Property< std::vector< double > > driveOffset_prop
 Offset to the drive value volt = (setpoint + offset)/scale.
Property< bool > simulation_prop
 True if simulationAxes should be used in stead of hardware axes.
bool simulation
Property< std::vector
< std::string > > 
EmergencyEvents_prop
 List of Events that should result in an emergencystop.
RTT::Constant< unsigned int > num_axes_attr
 Constant: number of axes.
Attribute< KDL::Chain > chain_attr
 KDL-chain for the Kuka361.
KDL::Chain kinematics
RTT::Event< void(std::string) > driveOutOfRange_evt
 parameters to this event is the message that has to be shown.
RTT::Event< void(std::string) > positionOutOfRange_evt
 parameters to this event is the message that has to be shown.

Detailed Description

This class implements a TaskContext to use with the Kuka160 robot in the RoboticLab, PMA, dept.

Mechanical Engineering, KULEUVEN. Since the hardware part is very specific for our setup, other people can only use the simulation version. But it can be a good starting point to create your own Robot Software Interface.

Definition at line 45 of file Kuka160nAxesVelocityController.hpp.


Constructor & Destructor Documentation

Kuka160nAxesVelocityController ( std::string  name  ) 

Member Data Documentation

Property<std::vector<double> > driveLimits_prop [protected]

The absolute value of the velocity will be limited to this property.

Used to fire an event if necessary and to saturate the velocities. It is a good idea to set this property to a low value when using experimental code.

Definition at line 88 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

RTT::Event< void(std::string) > driveOutOfRange_evt [protected]

parameters to this event is the message that has to be shown.

Each axis that is out of range throws this event. The component will continue with the previous value.

Definition at line 140 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

Property<std::vector <double> > initialPosition_prop [protected]

Start position in rad for simulation.

If the encoders are relative ( like for this component ) also the starting value for the relative encoders.

Definition at line 104 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

Property<std::vector<double> > lowerPositionLimits_prop [protected]

Lower limit for the positions.

Used to fire an event if necessary.

Definition at line 93 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

RTT::Event< void(std::string) > positionOutOfRange_evt [protected]

parameters to this event is the message that has to be shown.

Each axis that is out of range throws this event. The component will continue. The hardware limit switches can be reached when this event is not handled.

Definition at line 148 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

RTT::DataPort<std::vector<double> > positionValues_port [protected]

vector of DataPorts which contain the values of the position sensors.

It is used by other components who need this value for control ;)

Definition at line 80 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

RTT::DataPort<std::vector<bool> > referenceValues_port [protected]

vector of WriteDataPorts which contain the values of the reference switch.

It can be used for the homing of the robot.

Definition at line 73 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().

Property<std::vector<double> > upperPositionLimits_prop [protected]

upper limit for the positions.

Used to fire an event if necessary.

Definition at line 98 of file Kuka160nAxesVelocityController.hpp.

Referenced by Kuka160nAxesVelocityController::Kuka160nAxesVelocityController().


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 15:05:28 2010 for OrocosComponentLibrary by  doxygen 1.6.3