Defines
genericArmCtrl.cpp File Reference
#include <cob_trajectory_controller/genericArmCtrl.h>
#include <fstream>
#include <cob_trajectory_controller/RefValJS_PTP_Trajectory.h>
#include <cob_trajectory_controller/RefValJS_PTP.h>
Include dependency graph for genericArmCtrl.cpp:

Go to the source code of this file.

Defines

#define START_CTRL_JOB(info)
#define STD_CHECK_PROCEDURE()

Define Documentation

#define START_CTRL_JOB (   info)
Value:
if ( m_cThread.startJob(m_pRefVals) == false ) {                                                \
        m_ErrorMsg.assign("Internal Error: Unable to start movement, other control Job still active."); \
        return false;                                                                                                           \
} else {                                                                                                                                \s                                                                                              \
        return true;                                                                                                            \
}

Definition at line 25 of file genericArmCtrl.cpp.

#define STD_CHECK_PROCEDURE ( )
Value:
if ( isMoving )                                                                                                         \
{                                                                                                                                               \
        ROS_WARN("Manipulator still in motion, call stop first!");              \
        return false;                                                                                                           \
}                                                                                                                                               \
if (m_pRefVals != NULL) {                                                                                               \
        delete m_pRefVals;                                                                                                      \
        m_pRefVals = NULL;                                                                                                      \
}

Definition at line 13 of file genericArmCtrl.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


cob_trajectory_controller
Author(s): Alexander Bubeck
autogenerated on Fri Mar 1 2013 17:49:16