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 42 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 30 of file genericArmCtrl.cpp.



cob_trajectory_controller
Author(s): Alexander Bubeck
autogenerated on Thu Jun 6 2019 21:19:22