39 #ifndef vpSimulatorViper850_HH 40 #define vpSimulatorViper850_HH 47 #include <visp3/robot/vpRobotWireFrameSimulator.h> 48 #if defined(VISP_HAVE_MODULE_GUI) && ((defined(_WIN32) && !defined(WINRT_8_0)) || defined(VISP_HAVE_PTHREAD)) 52 #include <visp3/robot/vpViper850.h> 211 bool first_time_getdis;
213 double positioningVelocity;
254 void move(
const char *filename);
256 static bool readPosFile(
const std::string &filename,
vpColVector &q);
257 static bool savePosFile(
const std::string &filename,
const vpColVector &q);
263 const double pos4,
const double pos5,
const double pos6);
283 #if defined(WINRT_8_1) 284 WaitForSingleObjectEx(mutex_fMi, INFINITE, FALSE);
286 WaitForSingleObject(mutex_fMi, INFINITE);
288 for (
int i = 0; i < 8; i++)
290 ReleaseMutex(mutex_fMi);
291 #elif defined(VISP_HAVE_PTHREAD) 292 pthread_mutex_lock(&mutex_fMi);
293 for (
int i = 0; i < 8; i++)
295 pthread_mutex_unlock(&mutex_fMi);
void get_cVe(vpVelocityTwistMatrix &cVe) const
Implementation of a matrix and operations on matrices.
virtual void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
void get_fMi(vpHomogeneousMatrix *fMit)
Implementation of an homogeneous matrix and operations on such kind of matrices.
void getCameraParameters(vpCameraParameters &cam, const unsigned int &image_width, const unsigned int &image_height) const
virtual void initArms()=0
virtual void get_eJe(vpMatrix &_eJe)=0
Get the robot Jacobian expressed in the end-effector frame.
virtual void setPosition(const vpRobot::vpControlFrameType frame, const vpColVector &q)=0
Set a displacement (frame has to be specified) in position control.
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).
vpToolType
List of possible tools that can be attached to the robot end-effector.
virtual void computeArticularVelocity()=0
Generic class defining intrinsic camera parameters.
virtual void get_fJe(vpMatrix &_fJe)=0
Modelisation of the ADEPT Viper 850 robot.
void getExternalImage(vpImage< unsigned char > &I)
void setPositioningVelocity(const double vel)
This class aims to be a basis used to create all the simulators of robots.
Simulator of Irisa's Viper S850 robot named Viper850.
void get_cMe(vpHomogeneousMatrix &cMe) const
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0
static const double defaultPositioningVelocity
double getPositioningVelocity(void)