Namespaces | Typedefs | Functions | Variables
motoman::ros_conversion Namespace Reference

Namespaces

namespace  MotomanJointIndexes
 

Enumeration of motoman joint indicies (as returned by the getPos library calls.


namespace  MotomanRobotModels
 

Enumeration of Motoman robot types (models). Initially these are being used to initialize joint rads->count conversion factors.


namespace  RosJointIndexes
 

Enumeration of ROS joint indicies. In reality these are not fixed. The ROS message structure maps joints by name and theoretically would allow for any order. Generally the order from base to tip is maintained (This is what the enumeration assumes).


Typedefs

typedef
MotomanJointIndexes::MotomanJointIndex 
MotomanJointIndex
typedef
MotomanRobotModels::MotomanRobotModel 
MotomanRobotModel
typedef
RosJointIndexes::RosJointIndex 
RosJointIndex

Functions

void initJointConversion (MotomanRobotModel model_number)
 Initializes joint rads->enocder count conversion factors This function must be manually called from within mpUsrRoot. Failure to call this function results in conversion factors of zero.
void toMotomanJointOrder (industrial::joint_data::JointData &joints)
void toMpJoint (industrial::joint_data::JointData &ros_joints, industrial::joint_data::JointData &mp_joints)
 Converts a ros joint (in ros order and radians) to a motoplus joint (in motoplus order and pulses) WARNING: This function should only be used at the lowest levels. The assumption is that any JointData type is assumed to be a ROS Joint.
float toPulses (float radians, MotomanJointIndex joint)
float toRadians (float pulses, MotomanJointIndex joint)
void toRosJoint (industrial::joint_data::JointData &mp_joints, industrial::joint_data::JointData &ros_joints)
 Converts a motoplus joint (in motoplus order and pulses) to a ros joint (in ros order and radians)
void toRosJointOrder (industrial::joint_data::JointData &joints)

Variables

float B_PULSE_TO_RAD = 0
float E_PULSE_TO_RAD = 0
float L_PULSE_TO_RAD = 0
float R_PULSE_TO_RAD = 0
float S_PULSE_TO_RAD = 0
float T_PULSE_TO_RAD = 0
float U_PULSE_TO_RAD = 0

Typedef Documentation

Definition at line 66 of file include/dx100/ros_conversion.h.

Definition at line 103 of file include/dx100/ros_conversion.h.

Definition at line 88 of file include/dx100/ros_conversion.h.


Function Documentation

void motoman::ros_conversion::initJointConversion ( MotomanRobotModel  model_number)

Initializes joint rads->enocder count conversion factors This function must be manually called from within mpUsrRoot. Failure to call this function results in conversion factors of zero.

Parameters:
robotmodel (
See also:
MotomanRobotModels)

Definition at line 63 of file ros_conversion.cpp.

Definition at line 220 of file ros_conversion.cpp.

Converts a ros joint (in ros order and radians) to a motoplus joint (in motoplus order and pulses) WARNING: This function should only be used at the lowest levels. The assumption is that any JointData type is assumed to be a ROS Joint.

Parameters:
rosjoint (returned)
motoplusjoints to convert

Definition at line 191 of file ros_conversion.cpp.

float motoman::ros_conversion::toPulses ( float  radians,
MotomanJointIndex  joint 
)

Definition at line 99 of file ros_conversion.cpp.

float motoman::ros_conversion::toRadians ( float  pulses,
MotomanJointIndex  joint 
)

Definition at line 138 of file ros_conversion.cpp.

Converts a motoplus joint (in motoplus order and pulses) to a ros joint (in ros order and radians)

Parameters:
motoplusjoints to convert
rosjoint (returned)

Definition at line 177 of file ros_conversion.cpp.

Definition at line 206 of file ros_conversion.cpp.


Variable Documentation

Definition at line 56 of file ros_conversion.cpp.

Definition at line 58 of file ros_conversion.cpp.

Definition at line 53 of file ros_conversion.cpp.

Definition at line 55 of file ros_conversion.cpp.

Definition at line 52 of file ros_conversion.cpp.

Definition at line 57 of file ros_conversion.cpp.

Definition at line 54 of file ros_conversion.cpp.



dx100
Author(s): Shaun Edwards (Southwest Research Institute)
autogenerated on Thu Jan 2 2014 11:29:36