39 #ifndef vpSimulatorAfma6_HH 40 #define vpSimulatorAfma6_HH 47 #include <visp3/robot/vpAfma6.h> 48 #include <visp3/robot/vpRobotWireFrameSimulator.h> 52 #if defined(VISP_HAVE_MODULE_GUI) && ((defined(_WIN32) && !defined(WINRT_8_0)) || defined(VISP_HAVE_PTHREAD)) 184 bool first_time_getdis;
186 double positioningVelocity;
224 void move(
const char *filename);
226 static bool readPosFile(
const std::string &filename,
vpColVector &q);
227 static bool savePosFile(
const std::string &filename,
const vpColVector &q);
233 double pos4,
double pos5,
double pos6);
253 #if defined(WINRT_8_1) 254 WaitForSingleObjectEx(mutex_fMi, INFINITE, FALSE);
256 WaitForSingleObject(mutex_fMi, INFINITE);
258 for (
int i = 0; i < 8; i++)
260 ReleaseMutex(mutex_fMi);
261 #elif defined(VISP_HAVE_PTHREAD) 262 pthread_mutex_lock(&mutex_fMi);
263 for (
int i = 0; i < 8; i++)
265 pthread_mutex_unlock(&mutex_fMi);
Modelisation of Irisa's gantry robot named Afma6.
Implementation of a matrix and operations on matrices.
void getCameraParameters(vpCameraParameters &cam, const unsigned int &image_width, const unsigned int &image_height) const
void get_cVe(vpVelocityTwistMatrix &cVe) const
virtual void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
Implementation of an homogeneous matrix and operations on such kind of matrices.
virtual void initArms()=0
void get_eJe(const vpColVector &q, vpMatrix &eJe) const
vpAfma6ToolType
List of possible tools that can be attached to the robot end-effector.
virtual void setPosition(const vpRobot::vpControlFrameType frame, const vpColVector &q)=0
Set a displacement (frame has to be specified) in position control.
static const double defaultPositioningVelocity
virtual int isInJointLimit()=0
virtual vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
virtual void updateArticularPosition()=0
vpCameraParametersProjType
void get_cMe(vpHomogeneousMatrix &cMe) const
virtual void getPosition(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
Get the robot position (frame has to be specified).
virtual void computeArticularVelocity()=0
Generic class defining intrinsic camera parameters.
Simulator of Irisa's gantry robot named Afma6.
void getExternalImage(vpImage< unsigned char > &I)
This class aims to be a basis used to create all the simulators of robots.
double getPositioningVelocity(void)
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
void setPositioningVelocity(double vel)
void get_fMi(vpHomogeneousMatrix *fMit)
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0
void get_fJe(const vpColVector &q, vpMatrix &fJe) const