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)) 183 bool first_time_getdis;
185 double positioningVelocity;
223 void move(
const char *filename);
225 static bool readPosFile(
const std::string &filename,
vpColVector &q);
226 static bool savePosFile(
const std::string &filename,
const vpColVector &q);
232 const double pos4,
const double pos5,
const double pos6);
252 #if defined(WINRT_8_1) 253 WaitForSingleObjectEx(mutex_fMi, INFINITE, FALSE);
255 WaitForSingleObject(mutex_fMi, INFINITE);
257 for (
int i = 0; i < 8; i++)
259 ReleaseMutex(mutex_fMi);
260 #elif defined(VISP_HAVE_PTHREAD) 261 pthread_mutex_lock(&mutex_fMi);
262 for (
int i = 0; i < 8; i++)
264 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 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_cVe(vpVelocityTwistMatrix &cVe) 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
virtual void getPosition(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
Get the robot position (frame has to be specified).
virtual void computeArticularVelocity()=0
void get_eJe(const vpColVector &q, vpMatrix &eJe) const
Generic class defining intrinsic camera parameters.
Simulator of Irisa's gantry robot named Afma6.
void getExternalImage(vpImage< unsigned char > &I)
void get_fJe(const vpColVector &q, vpMatrix &fJe) const
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_cMe(vpHomogeneousMatrix &cMe) const
void get_fMi(vpHomogeneousMatrix *fMit)
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0