40 #include <visp3/core/vpConfig.h>
41 #if defined(VISP_HAVE_MODULE_GUI) && (defined(_WIN32) || defined(VISP_HAVE_PTHREAD))
42 #include <visp3/robot/vpSimulatorAfma6.h>
43 #include <visp3/core/vpTime.h>
44 #include <visp3/core/vpImagePoint.h>
45 #include <visp3/core/vpPoint.h>
46 #include <visp3/core/vpMeterPixelConversion.h>
47 #include <visp3/robot/vpRobotException.h>
48 #include <visp3/core/vpIoTools.h>
60 q_prev_getdis(), first_time_getdis(true), positioningVelocity(defaultPositioningVelocity),
61 zeroPos(), reposPos(), toolCustom(false), arm_dir()
76 DWORD dwThreadIdArray;
77 hThread = CreateThread(
84 #elif defined (VISP_HAVE_PTHREAD)
91 pthread_attr_init(&
attr);
92 pthread_attr_setdetachstate(&
attr, PTHREAD_CREATE_JOINABLE);
108 q_prev_getdis(), first_time_getdis(true), positioningVelocity(defaultPositioningVelocity),
109 zeroPos(), reposPos(), toolCustom(false), arm_dir()
117 mutex_fMi = CreateMutex(NULL,FALSE,NULL);
124 DWORD dwThreadIdArray;
125 hThread = CreateThread(
132 #elif defined(VISP_HAVE_PTHREAD)
139 pthread_attr_init(&
attr);
140 pthread_attr_setdetachstate(&
attr, PTHREAD_CREATE_JOINABLE);
156 WaitForSingleObject(hThread,INFINITE);
157 CloseHandle(hThread);
163 #elif defined(VISP_HAVE_PTHREAD)
164 pthread_attr_destroy(&
attr);
165 pthread_join(
thread, NULL);
175 for(
int i = 0; i < 6; i++)
196 std::vector<std::string> arm_dirs =
vpIoTools::splitChain(std::string(VISP_ROBOT_ARMS_DIR), std::string(
";"));
197 bool armDirExists =
false;
198 for(
size_t i=0; i < arm_dirs.size(); i++)
200 arm_dir = arm_dirs[i];
204 if (! armDirExists) {
207 std::cout <<
"The simulator uses data from VISP_ROBOT_ARMS_DIR=" << arm_dir << std::endl;
210 std::cout <<
"Cannot get VISP_ROBOT_ARMS_DIR environment variable" << std::endl;
226 reposPos[1] = -M_PI/2; reposPos[2] = M_PI; reposPos[4] = M_PI/2;
233 first_time_getdis =
true;
266 setExternalCameraPosition(
vpHomogeneousMatrix(0,0,0,0,0,
vpMath::rad(180))*
vpHomogeneousMatrix(-0.1,0,4,
vpMath::rad(90),0,0));
297 unsigned int name_length = 30;
298 if (arm_dir.size() > FILENAME_MAX)
300 unsigned int full_length = (
unsigned int)arm_dir.size() + name_length;
301 if (full_length > FILENAME_MAX)
320 char *name_arm =
new char [full_length];
321 strcpy(name_arm, arm_dir.c_str());
322 strcat(name_arm,
"/afma6_tool_ccmop.bnd");
343 char *name_arm =
new char [full_length];
344 strcpy(name_arm, arm_dir.c_str());
345 strcat(name_arm,
"/afma6_tool_gripper.bnd");
367 char *name_arm =
new char [full_length];
369 strcpy(name_arm, arm_dir.c_str());
370 strcat(name_arm,
"/afma6_tool_vacuum.bnd");
378 std::cout <<
"The generic camera is not handled in vpSimulatorAfma6.cpp" << std::endl;
401 const unsigned int &image_width,
402 const unsigned int &image_height)
412 if (image_width == 640 && image_height == 480)
414 std::cout <<
"Get default camera parameters for camera \""
419 vpTRACE(
"Cannot get default intrinsic camera parameters for this image resolution");
425 if (image_width == 640 && image_height == 480) {
426 std::cout <<
"Get default camera parameters for camera \""
431 vpTRACE(
"Cannot get default intrinsic camera parameters for this image resolution");
437 std::cout <<
"The generic camera is not handled in vpSimulatorAfma6.cpp" << std::endl;
498 double tcur_1 =
tcur;
511 double ellapsedTime = (
tcur -
tprev) * 1e-3;
530 articularVelocities = 0.0;
536 articularCoordinates[0] = articularCoordinates[0] + ellapsedTime*articularVelocities[0];
537 articularCoordinates[1] = articularCoordinates[1] + ellapsedTime*articularVelocities[1];
538 articularCoordinates[2] = articularCoordinates[2] + ellapsedTime*articularVelocities[2];
539 articularCoordinates[3] = articularCoordinates[3] + ellapsedTime*articularVelocities[3];
540 articularCoordinates[4] = articularCoordinates[4] + ellapsedTime*articularVelocities[4];
541 articularCoordinates[5] = articularCoordinates[5] + ellapsedTime*articularVelocities[5];
548 ellapsedTime = (
_joint_min[(
unsigned int)(-jl-1)] - articularCoordinates[(
unsigned int)(-jl-1)])/(articularVelocities[(
unsigned int)(-jl-1)]);
550 ellapsedTime = (
_joint_max[(
unsigned int)(jl-1)] - articularCoordinates[(
unsigned int)(jl-1)])/(articularVelocities[(
unsigned int)(jl-1)]);
552 for (
unsigned int i = 0; i < 6; i++)
553 articularCoordinates[i] = articularCoordinates[i] + ellapsedTime*articularVelocities[i];
594 for (
unsigned int k = 1; k < 7; k++)
700 fMit[4][0][0] = s4*s5;
701 fMit[4][1][0] = -c4*s5;
703 fMit[4][0][1] = s4*c5;
704 fMit[4][1][1] = -c4*c5;
709 fMit[4][0][3] = c4*this->
_long_56+q1;
710 fMit[4][1][3] = s4*this->
_long_56+q2;
713 fMit[5][0][0] = s4*s5*c6+c4*s6;
714 fMit[5][1][0] = -c4*s5*c6+s4*s6;
715 fMit[5][2][0] = c5*c6;
716 fMit[5][0][1] = -s4*s5*s6+c4*c6;
717 fMit[5][1][1] = c4*s5*s6+s4*c6;
718 fMit[5][2][1] = -c5*s6;
719 fMit[5][0][2] = -s4*c5;
720 fMit[5][1][2] = c4*c5;
722 fMit[5][0][3] = c4*this->
_long_56+q1;
723 fMit[5][1][3] = s4*this->
_long_56+q2;
726 fMit[6][0][0] = fMit[5][0][0];
727 fMit[6][1][0] = fMit[5][1][0];
728 fMit[6][2][0] = fMit[5][2][0];
729 fMit[6][0][1] = fMit[5][0][1];
730 fMit[6][1][1] = fMit[5][1][1];
731 fMit[6][2][1] = fMit[5][2][1];
732 fMit[6][0][2] = fMit[5][0][2];
733 fMit[6][1][2] = fMit[5][1][2];
734 fMit[6][2][2] = fMit[5][2][2];
735 fMit[6][0][3] = fMit[5][0][3];
736 fMit[6][1][3] = fMit[5][1][3];
737 fMit[6][2][3] = fMit[5][2][3];
747 for (
int i = 0; i < 8; i++)
750 #elif defined(VISP_HAVE_PTHREAD)
752 for (
int i = 0; i < 8; i++)
777 std::cout <<
"Change the control mode from velocity to position control.\n";
787 std::cout <<
"Change the control mode from stop to velocity control.\n";
873 "use setRobotState(vpRobot::STATE_VELOCITY_CONTROL) first) ");
875 "Cannot send a velocity to the robot "
876 "use setRobotState(vpRobot::STATE_VELOCITY_CONTROL) first) ");
881 double scale_trans_sat = 1;
882 double scale_rot_sat = 1;
883 double scale_sat = 1;
898 vpERROR_TRACE (
"The velocity vector must have a size of 6 !!!!");
902 for (
unsigned int i = 0 ; i < 3; ++ i)
904 vel_abs = fabs (vel[i]);
907 vel_trans_max = vel_abs;
909 "(axis nr. %d).", vel[i], i+1);
912 vel_abs = fabs (vel[i+3]);
914 vel_rot_max = vel_abs;
916 "(axis nr. %d).", vel[i+3], i+4);
926 if ( (scale_trans_sat < 1) || (scale_rot_sat < 1) )
928 if (scale_trans_sat < scale_rot_sat)
929 scale_sat = scale_trans_sat;
931 scale_sat = scale_rot_sat;
941 vpERROR_TRACE (
"The velocity vector must have a size of 6 !!!!");
944 for (
unsigned int i = 0 ; i < 6; ++ i)
946 vel_abs = fabs (vel[i]);
949 vel_rot_max = vel_abs;
951 "(axis nr. %d).", vel[i], i+1);
956 if ( scale_rot_sat < 1 )
957 scale_sat = scale_rot_sat;
980 double scale_rot_sat = 1;
981 double scale_sat = 1;
999 articularVelocity = eJe_*eVc*velocityframe;
1010 articularVelocity = fJe_*velocityframe;
1016 articularVelocity = velocityframe;
1033 for (
unsigned int i = 0 ; i < 6; ++ i)
1035 vel_abs = fabs (articularVelocity[i]);
1038 vel_rot_max = vel_abs;
1040 "(axis nr. %d).", articularVelocity[i], i+1);
1045 if ( scale_rot_sat < 1 )
1046 scale_sat = scale_rot_sat;
1121 vel = cVe*eJe_*articularVelocity;
1126 vel = articularVelocity;
1133 vel = fJe_*articularVelocity;
1143 "Case not taken in account.");
1249 double velmax = fabs(q[0]);
1250 for (
unsigned int i = 1; i < 6; i++)
1252 if (velmax < fabs(q[i]))
1253 velmax = fabs(q[i]);
1340 "Modification of the robot state");
1357 for (
unsigned int i=0; i < 3; i++)
1374 qdes = articularCoordinates;
1379 error = qdes - articularCoordinates;
1396 "Position out of range.");
1398 }
while (errsqr > 1e-8 && nbSol > 0);
1408 error = q - articularCoordinates;
1421 }
while (errsqr > 1e-8);
1432 for (
unsigned int i=0; i < 3; i++)
1444 qdes = articularCoordinates;
1449 error = qdes - articularCoordinates;
1464 }
while (errsqr > 1e-8 && nbSol > 0);
1469 vpERROR_TRACE (
"Positionning error. Mixt frame not implemented");
1471 "Positionning error: "
1472 "Mixt frame not implemented.");
1551 position[0] = pos1 ;
1552 position[1] = pos2 ;
1553 position[2] = pos3 ;
1554 position[3] = pos4 ;
1555 position[4] = pos5 ;
1556 position[5] = pos6 ;
1612 "Bad position in filename.");
1708 for (
unsigned int i=0; i <3; i++)
1718 vpERROR_TRACE (
"Positionning error. Mixt frame not implemented");
1720 "Positionning error: "
1721 "Mixt frame not implemented.");
1782 for(
unsigned int j=0;j<3;j++)
1784 position[j]=posRxyz[j];
1785 position[j+3]=RtuVect[j];
1818 vpTRACE(
"Joint limit vector has not a size of 6 !");
1848 bool cond = fabs(q5-M_PI/2) < 1e-1;
1878 for (
unsigned int i = 0; i < 6; i++)
1880 if (articularCoordinates[i] <=
_joint_min[i])
1882 difft =
_joint_min[i] - articularCoordinates[i];
1886 artNumb = -(int)i-1;
1891 for (
unsigned int i = 0; i < 6; i++)
1893 if (articularCoordinates[i] >=
_joint_max[i])
1895 difft = articularCoordinates[i] -
_joint_max[i];
1899 artNumb = (int)(i+1);
1905 std::cout <<
"\nWarning: Velocity control stopped: axis " << fabs((
float)artNumb) <<
" on joint limit!" <<std::endl;
1922 vpSimulatorAfma6::getCameraDisplacement(
vpColVector &displacement)
1937 vpSimulatorAfma6::getArticularDisplacement(
vpColVector &displacement)
1970 if ( ! first_time_getdis )
1976 std::cout <<
"getDisplacement() CAMERA_FRAME not implemented\n";
1983 displacement = q_cur - q_prev_getdis;
1989 std::cout <<
"getDisplacement() REFERENCE_FRAME not implemented\n";
1996 std::cout <<
"getDisplacement() MIXT_FRAME not implemented\n";
2004 first_time_getdis =
false;
2008 q_prev_getdis = q_cur;
2061 fd = fopen(filename,
"r") ;
2065 char line[FILENAME_MAX];
2066 char dummy[FILENAME_MAX];
2068 bool sortie =
false;
2072 if (fgets (line, FILENAME_MAX, fd) != NULL) {
2073 if ( strncmp (line,
"#", 1) != 0) {
2075 if ( strncmp (line, head,
sizeof(head)-1) == 0) {
2088 while ( sortie !=
true );
2092 int ret = sscanf(line,
"%s %lf %lf %lf %lf %lf %lf",
2094 &q[0], &q[1], &q[2], &q[3], &q[4], &q[5]);
2139 fd = fopen(filename,
"w") ;
2144 #AFMA6 - Position - Version 2.01\n\
2147 # Joint position: X, Y, Z: translations in meters\n\
2148 # A, B, C: rotations in degrees\n\
2153 fprintf(fd,
"R: %lf %lf %lf %lf %lf %lf\n",
2304 std::string scene_dir_;
2305 std::vector<std::string> scene_dirs =
vpIoTools::splitChain(std::string(VISP_SCENES_DIR), std::string(
";"));
2306 bool sceneDirExists =
false;
2307 for(
size_t i=0; i < scene_dirs.size(); i++)
2309 scene_dir_ = scene_dirs[i];
2310 sceneDirExists =
true;
2313 if (! sceneDirExists) {
2316 std::cout <<
"The simulator uses data from VISP_SCENES_DIR=" << scene_dir_ << std::endl;
2319 std::cout <<
"Cannot get VISP_SCENES_DIR environment variable" << std::endl;
2324 unsigned int name_length = 30;
2325 if (scene_dir_.size() > FILENAME_MAX)
2327 unsigned int full_length = (
unsigned int)scene_dir_.size() + name_length;
2328 if (full_length > FILENAME_MAX)
2331 char *name_cam =
new char [full_length];
2333 strcpy(name_cam, scene_dir_.c_str());
2334 strcat(name_cam,
"/camera.bnd");
2337 if (arm_dir.size() > FILENAME_MAX)
2339 full_length = (
unsigned int)arm_dir.size() + name_length;
2340 if (full_length > FILENAME_MAX)
2343 char *name_arm =
new char [full_length];
2344 strcpy(name_arm, arm_dir.c_str());
2345 strcat(name_arm,
"/afma6_gate.bnd");
2346 std::cout <<
"name arm: " << name_arm << std::endl;
2348 strcpy(name_arm, arm_dir.c_str());
2349 strcat(name_arm,
"/afma6_arm1.bnd");
2351 strcpy(name_arm, arm_dir.c_str());
2352 strcat(name_arm,
"/afma6_arm2.bnd");
2354 strcpy(name_arm, arm_dir.c_str());
2355 strcat(name_arm,
"/afma6_arm3.bnd");
2357 strcpy(name_arm, arm_dir.c_str());
2358 strcat(name_arm,
"/afma6_arm4.bnd");
2363 strcpy(name_arm, arm_dir.c_str());
2366 strcat(name_arm,
"/afma6_tool_ccmop.bnd");
2370 strcat(name_arm,
"/afma6_tool_gripper.bnd");
2374 strcat(name_arm,
"/afma6_tool_vacuum.bnd");
2378 std::cout <<
"The generic camera is not handled in vpSimulatorAfma6.cpp" << std::endl;
2384 add_rfstack(IS_BACK);
2386 add_vwstack (
"start",
"depth", 0.0, 100.0);
2387 add_vwstack (
"start",
"window", -0.1,0.1,-0.1,0.1);
2388 add_vwstack (
"start",
"type", PERSPECTIVE);
2402 bool changed =
false;
2406 if (std::fabs(displacement[2][3]) > std::numeric_limits<double>::epsilon())
2429 float w44o[4][4],w44cext[4][4],x,y,z;
2433 add_vwstack (
"start",
"cop", w44cext[3][0],w44cext[3][1],w44cext[3][2]);
2434 x = w44cext[2][0] + w44cext[3][0];
2435 y = w44cext[2][1] + w44cext[3][1];
2436 z = w44cext[2][2] + w44cext[3][2];
2437 add_vwstack (
"start",
"vrp", x,y,z);
2438 add_vwstack (
"start",
"vpn", w44cext[2][0],w44cext[2][1],w44cext[2][2]);
2439 add_vwstack (
"start",
"vup", w44cext[1][0],w44cext[1][1],w44cext[1][2]);
2440 add_vwstack (
"start",
"window", -u, u, -v, v);
2448 vp2jlc_matrix(fMit[0],w44o);
2451 vp2jlc_matrix(fMit[2],w44o);
2454 vp2jlc_matrix(fMit[3],w44o);
2457 vp2jlc_matrix(fMit[4],w44o);
2460 vp2jlc_matrix(fMit[5],w44o);
2468 cMe = fMit[6] * cMe;
2469 vp2jlc_matrix(cMe,w44o);
2475 vp2jlc_matrix(
fMo,w44o);
2516 std::cout <<
"Used joint coordinates (rad): " << articularCoordinates.
t() << std::endl;
2546 fMo = fMit[7] * cMo_;
2572 const double lambda = 5.;
2577 unsigned int i,iter=0;
2597 v = -lambda*cdRc.
t()*cdTc;
2604 err[i+3] = cdTUc[i];
2623 #elif !defined(VISP_BUILD_SHARED_LIBS)
2625 void dummy_vpSimulatorAfma6() {};
static void displayCamera(const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, const vpColor &color, unsigned int thickness)
Modelisation of Irisa's gantry robot named Afma6.
Implementation of a matrix and operations on matrices.
VISP_EXPORT int wait(double t0, double t)
static const unsigned int njoint
Number of joint.
Error that can be emited by the vpRobot class and its derivates.
vpColVector get_artCoord()
unsigned int getWidth() const
void setMaxTranslationVelocity(const double maxVt)
void get_eJe(vpMatrix &eJe)
int getInverseKinematics(const vpHomogeneousMatrix &fMc, vpColVector &q, const bool &nearest=true, const bool &verbose=false) const
double getSamplingTime() const
vpAfma6ToolType getToolType() const
Get the current tool type.
Implementation of an homogeneous matrix and operations on such kind of matrices.
virtual ~vpSimulatorAfma6()
unsigned int jointLimitArt
void get_cVe(vpVelocityTwistMatrix &cVe)
double euclideanNorm() const
vpHomogeneousMatrix get_fMc(const vpColVector &q) const
void move(const char *filename)
static void * launcher(void *arg)
static void convertPoint(const vpCameraParameters &cam, const double &x, const double &y, double &u, double &v)
Point coordinates conversion from normalized coordinates in meter to pixel coordinates ...
VISP_EXPORT double measureTimeSecond()
bool constantSamplingTimeMode
Flag used to force the sampling time in the thread computing the robot's displacement to a constant v...
bool singularityManagement
double getMaxTranslationVelocity(void) const
static const vpColor none
Initialize the position controller.
void get_eJe(const vpColVector &q, vpMatrix &eJe) const
error that can be emited by ViSP classes.
vpAfma6ToolType
List of possible tools that can be attached to the robot end-effector.
void setJointLimit(const vpColVector &limitMin, const vpColVector &limitMax)
void updateArticularPosition()
void track(const vpHomogeneousMatrix &cMo)
static const double defaultPositioningVelocity
vpRotationMatrix t() const
vpColVector get_velocity()
void getExternalImage(vpImage< vpRGBa > &I)
vpCameraParameters::vpCameraParametersProjType projModel
double get_y() const
Get the point y coordinate in the image plane.
static const vpColor green
static void flush(const vpImage< unsigned char > &I)
double getMaxRotationVelocity(void) const
vpThetaUVector buildFrom(const vpHomogeneousMatrix &M)
void setPosition(const vpRobot::vpControlFrameType frame, const vpColVector &q)
vpRobot::vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
static bool readPosFile(const char *filename, vpColVector &q)
virtual vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
Class that defines what is a point.
void setToolType(vpAfma6::vpAfma6ToolType tool)
Set the current tool type.
bool initialiseCameraRelativeToObject(const vpHomogeneousMatrix &cMo)
static const char *const CONST_GRIPPER_CAMERA_NAME
static Type maximum(const Type &a, const Type &b)
Implementation of a rotation matrix and operations on such kind of matrices.
void initPersProjWithoutDistortion(const double px, const double py, const double u0, const double v0)
void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &displacement)
pthread_mutex_t mutex_artCoord
pthread_mutex_t mutex_display
bool singularityTest(const vpColVector q, vpMatrix &J)
vpDisplayRobotType displayType
Initialize the velocity controller.
vpCameraParameters cameraParam
void initialiseObjectRelativeToCamera(const vpHomogeneousMatrix &cMo)
void setExternalCameraPosition(const vpHomogeneousMatrix camMf_)
Initialize the acceleration controller.
vpVelocityTwistMatrix buildFrom(const vpTranslationVector &t, const vpRotationMatrix &R)
void set_displayBusy(const bool &status)
vpCameraParametersProjType
static void display(const vpImage< unsigned char > &I)
void get_cMe(vpHomogeneousMatrix &cMe) const
void getInternalView(vpImage< vpRGBa > &I)
void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &velocity)
Generic class defining intrinsic camera parameters.
vpHomogeneousMatrix get_cMo()
vpHomogeneousMatrix getExternalCameraPosition() const
void getPosition(const vpRobot::vpControlFrameType frame, vpColVector &q)
void extract(vpRotationMatrix &R) const
double get_x() const
Get the point x coordinate in the image plane.
static Type minimum(const Type &a, const Type &b)
void setCameraParameters(const vpCameraParameters &cam)
Implementation of a velocity twist matrix and operations on such kind of matrices.
unsigned int getRows() const
Return the number of rows of the 2D array.
void set_velocity(const vpColVector &vel)
void getVelocity(const vpRobot::vpControlFrameType frame, vpColVector &q)
void buildFrom(const vpTranslationVector &t, const vpRotationMatrix &R)
static double rad(double deg)
void setExternalCameraParameters(const vpCameraParameters &cam)
vpControlFrameType getRobotFrame(void) const
This class aims to be a basis used to create all the simulators of robots.
vpHomogeneousMatrix * fMi
VISP_EXPORT double measureTimeMs()
void setMaxRotationVelocity(const double maxVr)
pthread_mutex_t mutex_fMi
static void displayFrame(const vpImage< unsigned char > &I, const vpHomogeneousMatrix &cMo, const vpCameraParameters &cam, double size, const vpColor &color=vpColor::none, unsigned int thickness=1, vpImagePoint offset=vpImagePoint(0, 0))
bool setVelocityCalled
Flag used to specify to the thread managing the robot displacements that the setVelocity() method has...
void display_scene(Matrix mat, Bound_scene &sc, const vpImage< vpRGBa > &I, const vpColor &color)
double getPositioningVelocity(void)
vpHomogeneousMatrix camMf
vpHomogeneousMatrix navigation(const vpImage< vpRGBa > &I, bool &changed)
static double deg(double rad)
Implementation of column vector and the associated operations.
void get_fJe(vpMatrix &fJe)
Implementation of a pose vector and operations on poses.
void computeArticularVelocity()
vpHomogeneousMatrix inverse() const
virtual vpRobotStateType getRobotState(void) const
unsigned int getHeight() const
Implementation of a rotation vector as Euler angle minimal representation.
void getCameraParameters(vpCameraParameters &cam, const unsigned int &image_width, const unsigned int &image_height)
vpControlFrameType setRobotFrame(vpRobot::vpControlFrameType newFrame)
void get_cMe(vpHomogeneousMatrix &cMe)
vpMatrix pseudoInverse(double svThreshold=1e-6) const
Compute the pseudo inverse of the matrix using the SVD.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
void set_artCoord(const vpColVector &coord)
virtual void displayLine(const vpImagePoint &ip1, const vpImagePoint &ip2, const vpColor &color, unsigned int thickness=1)=0
VISP_EXPORT double getMinTimeForUsleepCall()
void set_artVel(const vpColVector &vel)
void get_fMi(vpHomogeneousMatrix *fMit)
static const char *const CONST_CCMOP_CAMERA_NAME
pthread_mutex_t mutex_velocity
void get_fJe(const vpColVector &q, vpMatrix &fJe) const
Class that consider the case of a translation vector.
Implementation of a rotation vector as axis-angle minimal representation.
pthread_mutex_t mutex_artVel
vpHomogeneousMatrix camMf2
static bool savePosFile(const char *filename, const vpColVector &q)
void findHighestPositioningSpeed(vpColVector &q)
void resize(const unsigned int i, const bool flagNullify=true)