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)) 185 bool first_time_getdis;
187 double positioningVelocity;
225 void move(
const char *filename);
227 static bool readPosFile(
const std::string &filename,
vpColVector &q);
228 static bool savePosFile(
const std::string &filename,
const vpColVector &q);
234 const double pos4,
const double pos5,
const double pos6);
254 #if defined(WINRT_8_1) 255 WaitForSingleObjectEx(mutex_fMi, INFINITE, FALSE);
257 WaitForSingleObject(mutex_fMi, INFINITE);
259 for (
int i = 0; i < 8; i++)
261 ReleaseMutex(mutex_fMi);
262 #elif defined(VISP_HAVE_PTHREAD) 263 pthread_mutex_lock(&mutex_fMi);
264 for (
int i = 0; i < 8; i++)
266 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
void setPositioningVelocity(const double vel)
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 get_fMi(vpHomogeneousMatrix *fMit)
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0
void get_fJe(const vpColVector &q, vpMatrix &fJe) const