42 #ifndef vpSimulatorAfma6_HH
43 #define vpSimulatorAfma6_HH
50 #include <visp/vpRobotWireFrameSimulator.h>
51 #include <visp/vpAfma6.h>
55 #if defined(_WIN32) || defined(VISP_HAVE_PTHREAD)
188 bool first_time_getdis;
190 double positioningVelocity;
204 const unsigned int &image_width,
205 const unsigned int &image_height);
230 void move(
const char *filename) ;
232 static bool readPosFile(
const char *filename,
vpColVector &q);
233 static bool savePosFile(
const char *filename,
const vpColVector &q);
262 WaitForSingleObject(mutex_fMi,INFINITE);
263 for (
int i = 0; i < 8; i++)
265 ReleaseMutex(mutex_fMi);
266 #elif defined(VISP_HAVE_PTHREAD)
267 pthread_mutex_lock (&mutex_fMi);
268 for (
int i = 0; i < 8; i++)
270 pthread_mutex_unlock (&mutex_fMi);
281 void getCameraDisplacement(
vpColVector &displacement);
282 void getArticularDisplacement(
vpColVector &displacement);
Modelisation of Irisa's gantry robot named Afma6.
Definition of the vpMatrix class.
void getCameraParameters(vpCameraParameters &cam, const unsigned int &image_width, const unsigned int &image_height) const
void get_cVe(vpVelocityTwistMatrix &cVe) const
void setPositioningVelocity(const double vel)
virtual void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
Get a displacement (frame as to ve specified) between two successive position control.
Perspective projection without distortion model.
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
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.
Class that consider the particular case of twist transformation matrix that allows to transform a vel...
void getExternalImage(vpImage< unsigned char > &I)
This class aims to be a basis used to create all the simulators of robots.
double getPositioningVelocity(void)
Class that provides a data structure for the column vectors as well as a set of operations on these v...
The pose is a complete representation of every rigid motion in the euclidian space.
void get_fMi(vpHomogeneousMatrix *fMit)
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0
Set the velocity (frame has to be specified) that will be applied to the velocity controller...
void get_fJe(const vpColVector &q, vpMatrix &fJe) const