![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpSimulatorViper850.h>
Public Types | |
| enum | vpDisplayRobotType { MODEL_3D , MODEL_DH } |
| enum | vpRobotStateType { STATE_STOP , STATE_VELOCITY_CONTROL , STATE_POSITION_CONTROL , STATE_ACCELERATION_CONTROL , STATE_FORCE_TORQUE_CONTROL } |
| enum | vpControlFrameType { REFERENCE_FRAME , ARTICULAR_FRAME , JOINT_STATE = ARTICULAR_FRAME , END_EFFECTOR_FRAME , CAMERA_FRAME , TOOL_FRAME = CAMERA_FRAME , MIXT_FRAME } |
| enum | vpToolType { TOOL_MARLIN_F033C_CAMERA , TOOL_PTGREY_FLEA2_CAMERA , TOOL_SCHUNK_GRIPPER_CAMERA , TOOL_GENERIC_CAMERA , TOOL_CUSTOM } |
Static Public Member Functions | |
| static bool | readPosFile (const std::string &filename, vpColVector &q) |
| static bool | savePosFile (const std::string &filename, const vpColVector &q) |
Static Public Member Functions inherited from vpRobot | |
| static vpColVector | saturateVelocities (const vpColVector &v_in, const vpColVector &v_max, bool verbose=false) |
Public Attributes | |
| vpImage< vpRGBa > | I |
Protected Types | |
| enum | vpSceneObject { THREE_PTS , CUBE , PLATE , SMALL_PLATE , RECTANGLE , SQUARE_10CM , DIAMOND , TRAPEZOID , THREE_LINES , ROAD , TIRE , PIPE , CIRCLE , SPHERE , CYLINDER , PLAN , POINT_CLOUD } |
| enum | vpSceneDesiredObject { D_STANDARD , D_CIRCLE , D_TOOL } |
| enum | vpCameraTrajectoryDisplayType { CT_LINE , CT_POINT } |
Static Protected Attributes | |
| static const double | maxTranslationVelocityDefault = 0.2 |
| static const double | maxRotationVelocityDefault = 0.7 |
Protected Member Functions Inherited from vpRobotWireFrameSimulator | |
| vpColVector | get_artCoord () |
| void | set_artCoord (const vpColVector &coord) |
| vpColVector | get_artVel () |
| void | set_artVel (const vpColVector &vel) |
| vpColVector | get_velocity () |
| void | set_velocity (const vpColVector &vel) |
| void | set_displayBusy (const bool &status) |
| bool | get_displayBusy () |
| static void | launcher (vpRobotWireFrameSimulator &simulator) |
Protected Member Functions Inherited from vpViper650 | |
| void | setToolType (vpViper850::vpToolType tool) |
| vpToolType | tool_current |
| vpCameraParameters::vpCameraParametersProjType | projModel |
Simulator of Irisa's Viper S850 robot named Viper850.
Implementation of the vpRobotWireFrameSimulator class in order to simulate Irisa's Viper850 robot. This robot is an ADEPT six degrees of freedom arm.
This class allows to control the Viper850 arm robot in position and velocity:
End-effector frame (vpRobot::END_EFFECTOR_FRAME) is not implemented.
All the translations are expressed in meters for positions and m/s for the velocities. Rotations are expressed in radians for the positions, and rad/s for the rotation velocities.
The direct and inverse kinematics models are implemented in the vpViper850 class.
To control the robot in position, you may set the controller to position control and then send the position to reach in a specific frame like here in the joint space:
The robot moves to the specified position with the default positioning velocity vpRobotViper850::defaultPositioningVelocity. The setPositioningVelocity() method allows to change the maximal velocity used to reach the desired position.
To control the robot in velocity, you may set the controller to velocity control and then send the velocities. To end the velocity control and stop the robot you have to set the controller to the stop state. Here is an example of a velocity control in the joint space:
It is also possible to measure the robot current position with getPosition() method and the robot current velocities with the getVelocity() method.
For convenience, there is also the ability to read/write joint positions from a position file with readPosFile() and savePosFile() methods.
To know how this class can be used to achieve a visual servoing simulation, you can follow the Tutorial: Image-based visual servo (IBVS).
Definition at line 209 of file vpSimulatorViper850.h.
|
inherited |
| Enumerator | |
|---|---|
| CT_LINE | |
| CT_POINT | |
Definition at line 228 of file vpWireFrameSimulator.h.
|
inherited |
Robot control frames.
| Enumerator | |
|---|---|
| REFERENCE_FRAME | Corresponds to a fixed reference frame attached to the robot structure. |
| ARTICULAR_FRAME | Corresponds to the joint state. This value is deprecated. You should rather use vpRobot::JOINT_STATE. |
| JOINT_STATE | Corresponds to the joint state. |
| END_EFFECTOR_FRAME | Corresponds to robot end-effector frame. |
| CAMERA_FRAME | Corresponds to a frame attached to the camera mounted on the robot end-effector. |
| TOOL_FRAME | Corresponds to a frame attached to the tool (camera, gripper...) mounted on the robot end-effector. This value is equal to vpRobot::CAMERA_FRAME. |
| MIXT_FRAME | Corresponds to a "virtual" frame where translations are expressed in the reference frame, and rotations in the camera frame. |
|
inherited |
| Enumerator | |
|---|---|
| MODEL_3D | |
| MODEL_DH | |
Definition at line 84 of file vpRobotWireFrameSimulator.h.
|
inherited |
Robot control states.
|
inherited |
Type of scene used to display the object at the desired pose (in the internal view).
| Enumerator | |
|---|---|
| D_STANDARD | The object displayed at the desired position is the same than the scene object defined in vpSceneObject. |
| D_CIRCLE | The object displayed at the desired position is a circle. |
| D_TOOL | A cylindrical tool is attached to the camera. |
Definition at line 220 of file vpWireFrameSimulator.h.
|
inherited |
Type of scene used to display the object at the current position.
Definition at line 168 of file vpWireFrameSimulator.h.
|
inherited |
List of possible tools that can be attached to the robot end-effector.
Definition at line 119 of file vpViper850.h.
| vpSimulatorViper850::vpSimulatorViper850 | ( | ) |
Basic constructor
Definition at line 59 of file vpSimulatorViper850.cpp.
References compute_fMi(), defaultPositioningVelocity, init(), initDisplay(), vpRobotWireFrameSimulator::launcher(), vpRobotWireFrameSimulator::m_thread, vpTime::measureTimeMs(), vpRobotWireFrameSimulator::tcur, vpRobotWireFrameSimulator::vpRobotWireFrameSimulator(), and vpViper850::vpViper850().
| vpSimulatorViper850::vpSimulatorViper850 | ( | bool | do_display | ) |
Constructor used to enable or disable the external view of the robot.
| do_display | : When true, enables the display of the external view. |
Definition at line 79 of file vpSimulatorViper850.cpp.
References compute_fMi(), defaultPositioningVelocity, init(), initDisplay(), vpRobotWireFrameSimulator::launcher(), vpRobotWireFrameSimulator::m_thread, vpTime::measureTimeMs(), vpRobotWireFrameSimulator::tcur, and vpRobotWireFrameSimulator::vpRobotWireFrameSimulator().
|
virtual |
Basic destructor
Definition at line 96 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::fMi, vpRobotWireFrameSimulator::m_mutex_robotStop, vpRobotWireFrameSimulator::m_thread, vpRobotWireFrameSimulator::robotArms, and vpRobotWireFrameSimulator::robotStop.
|
protected |
Compute the pose between the robot reference frame and the frames used to compute the Denavit-Hartenberg representation. The last element of the table corresponds to the pose between the reference frame and the camera frame.
To compute the different homogeneous matrices, this function needs the articular coordinates as input.
Finally the output is a table of 8 elements :
,
,
,
,
,
,
and
- where w is for wrist and e for effector-.
Definition at line 510 of file vpSimulatorViper850.cpp.
References vpViper::a1, vpViper::a2, vpViper::a3, vpViper::d1, vpViper::d4, vpViper::d6, vpRobotWireFrameSimulator::fMi, vpRobotWireFrameSimulator::get_artCoord(), vpViper::get_fMc(), vpRobotWireFrameSimulator::m_mutex_eMc, and vpRobotWireFrameSimulator::m_mutex_fMi.
Referenced by initialiseCameraRelativeToObject(), updateArticularPosition(), vpSimulatorViper850(), and vpSimulatorViper850().
|
protectedvirtual |
Compute the articular velocity relative to the velocity in another frame.
Implements vpRobotWireFrameSimulator.
Definition at line 870 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobot::CAMERA_FRAME, vpViper::eMc, vpRobot::END_EFFECTOR_FRAME, vpRobotWireFrameSimulator::get_artCoord(), vpViper::get_eJe(), vpViper::get_fJe(), vpRobotWireFrameSimulator::get_velocity(), vpRobot::getMaxRotationVelocity(), vpRobot::getRobotFrame(), vpRobotWireFrameSimulator::jointLimit, vpRobotWireFrameSimulator::m_mutex_frame, vpRobot::MIXT_FRAME, vpMatrix::pseudoInverse(), vpRobot::REFERENCE_FRAME, vpRobotWireFrameSimulator::set_artVel(), vpRobotWireFrameSimulator::singularityManagement, singularityTest(), and vpERROR_TRACE.
Referenced by updateArticularPosition().
|
inlineinherited |
Delete the history of the main camera position which are displayed in the external views.
Definition at line 303 of file vpWireFrameSimulator.h.
References cameraTrajectory, fMoList, and poseList.
|
protectedinherited |
Definition at line 119 of file vpWireFrameSimulator.cpp.
References vpDisplay::displayLine(), and thickness_.
|
protectedinherited |
Definition at line 75 of file vpWireFrameSimulator.cpp.
References vpDisplay::displayLine(), and thickness_.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), and vpRobotWireFrameSimulator::getInternalView().
|
inherited |
Display a trajectory thanks to a list of homogeneous matrices which give the position of the camera relative to the object and the position of the object relative to the world reference frame. The trajectory is projected into the view of an external camera whose position is given in parameter.
The two lists must have the same size of homogeneous matrices must have the same size.
| I | : The image where the trajectory is displayed. |
| list_cMo | : The homogeneous matrices list containing the position of the camera relative to the object. |
| list_fMo | : The homogeneous matrices list containing the position of the object relative to the world reference frame. |
| cMf | : A homogeneous matrix which gives the position of the external camera (used to project the trajectory) relative to the world reference frame. |
Definition at line 1278 of file vpWireFrameSimulator.cpp.
References camTrajColor, camTrajType, CT_LINE, CT_POINT, vpException::dimensionError, vpDisplay::displayLine(), vpDisplay::displayPoint(), projectCameraTrajectory(), rotz, and thickness_.
|
inherited |
Display a trajectory thanks to a list of homogeneous matrices which give the position of the camera relative to the object and the position of the object relative to the world reference frame. The trajectory is projected into the view of an external camera whose position is given in parameter.
The two lists must have the same size of homogeneous matrices must have the same size.
| I | : The image where the trajectory is displayed. |
| list_cMo | : The homogeneous matrices list containing the position of the camera relative to the object. |
| list_fMo | : The homogeneous matrices list containing the position of the object relative to the world reference frame. |
| cMf | : A homogeneous matrix which gives the position of the external camera (used to project the trajectory) relative to the world reference frame. |
Definition at line 1325 of file vpWireFrameSimulator.cpp.
References camTrajColor, camTrajType, CT_LINE, CT_POINT, vpException::dimensionError, vpDisplay::displayLine(), vpDisplay::displayPoint(), projectCameraTrajectory(), rotz, and thickness_.
|
protected |
Definition at line 1130 of file vpSimulatorViper850.cpp.
References vpRobot::getMaxRotationVelocity(), and getPositioningVelocity().
|
inlineprotectedinherited |
Definition at line 349 of file vpRobotWireFrameSimulator.h.
References artCoord, and m_mutex_artCoord.
Referenced by vpSimulatorAfma6::compute_fMi(), vpSimulatorViper850::compute_fMi(), vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpSimulatorAfma6::get_eJe(), vpSimulatorViper850::get_eJe(), vpSimulatorAfma6::get_fJe(), vpSimulatorViper850::get_fJe(), vpSimulatorAfma6::getDisplacement(), vpSimulatorViper850::getDisplacement(), vpSimulatorAfma6::getPosition(), vpSimulatorViper850::getPosition(), vpSimulatorAfma6::getVelocity(), vpSimulatorViper850::getVelocity(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpSimulatorAfma6::isInJointLimit(), vpSimulatorViper850::isInJointLimit(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
inlineprotectedinherited |
Definition at line 364 of file vpRobotWireFrameSimulator.h.
References artVel, and m_mutex_artVel.
Referenced by vpSimulatorAfma6::getVelocity(), vpSimulatorViper850::getVelocity(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
| void vpSimulatorViper850::get_cMe | ( | vpHomogeneousMatrix & | cMe | ) |
Get the geometric transformation
between the camera frame and the end-effector frame. This transformation is constant and correspond to the extrinsic camera parameters estimated by calibration.
| cMe | : Transformation between the camera frame and the end-effector frame. |
Definition at line 2073 of file vpSimulatorViper850.cpp.
References vpViper::get_cMe().
Referenced by getExternalImage().
|
inherited |
Get the geometric transformation between the camera frame and the end-effector frame. This transformation is constant and correspond to the extrinsic camera parameters estimated by calibration.
| cMe | : Transformation between the camera frame and the end-effector frame. |
Definition at line 942 of file vpViper.cpp.
References eMc.
Referenced by vpRobotViper650::get_cMe(), vpRobotViper850::get_cMe(), vpSimulatorViper850::get_cMe(), vpRobotViper650::get_cVe(), vpRobotViper850::get_cVe(), vpSimulatorViper850::get_cVe(), and get_cVe().
|
inherited |
Get the pose between the object and the robot's camera.
Definition at line 345 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::fMo, get_fMi(), vpHomogeneousMatrix::inverse(), and size_fMi.
Referenced by vpSimulatorAfma6::setPosition().
|
inlineinherited |
Get the pose between the object and the camera.
Definition at line 414 of file vpWireFrameSimulator.h.
|
inlineinherited |
Get the homogeneous matrices cMo stored to display the camera trajectory.
| cMo_history | : The list of the homogeneous matrices cMo. |
Definition at line 422 of file vpWireFrameSimulator.h.
| void vpSimulatorViper850::get_cVe | ( | vpVelocityTwistMatrix & | cVe | ) |
Get the twist transformation
from camera frame to end-effector frame. This transformation allows to compute a velocity expressed in the end-effector frame into the camera frame.
| cVe | : Twist transformation. |
Definition at line 2082 of file vpSimulatorViper850.cpp.
References vpVelocityTwistMatrix::buildFrom(), and vpViper::get_cMe().
|
inherited |
Get the twist transformation
from camera frame to end-effector frame. This transformation allows to compute a velocity expressed in the end-effector frame into the camera frame.
| cVe | : Twist transformation |
Definition at line 958 of file vpViper.cpp.
References vpVelocityTwistMatrix::buildFrom(), and get_cMe().
|
inlineprotectedinherited |
Definition at line 398 of file vpRobotWireFrameSimulator.h.
References displayBusy, and m_mutex_display.
Referenced by getInternalView(), getInternalView(), vpSimulatorAfma6::init(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
virtual |
Get the robot jacobian expressed in the end-effector frame.
To compute
, we communicate with the low level controller to get the joint position of the robot.
| eJe_ | : Robot jacobian |
Implements vpRobot.
Definition at line 2099 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::get_artCoord(), vpViper::get_eJe(), and vpERROR_TRACE.
|
inherited |
Get the robot jacobian
which gives the velocity of the origin of the end-effector frame expressed in end-effector frame.
| q | : A six-dimension vector that contains the joint positions of the robot expressed in radians. |
| eJe | : Robot jacobian |
Definition at line 990 of file vpViper.cpp.
References vpHomogeneousMatrix::extract(), get_fJw(), get_fMw(), get_wMe(), vpHomogeneousMatrix::inverse(), vpRotationMatrix::inverse(), and vpTranslationVector::skew().
Referenced by vpSimulatorViper850::computeArticularVelocity(), vpRobotViper650::get_eJe(), vpRobotViper850::get_eJe(), vpSimulatorViper850::get_eJe(), and vpSimulatorViper850::getVelocity().
|
inherited |
Get the geometric transformation between the end-effector frame and the camera frame. This transformation is constant and correspond to the extrinsic camera parameters estimated by calibration.
| eMc_ | : Transformation between the the end-effector frame and the camera frame. |
Definition at line 914 of file vpViper.cpp.
References eMc.
Referenced by getInverseKinematics().
|
inherited |
Get the geometric transformation between the end-effector frame and the force/torque sensor frame. This transformation is constant.
| eMs | : Transformation between the the end-effector frame and the force/torque sensor frame. |
Definition at line 925 of file vpViper.cpp.
References d7, and vpHomogeneousMatrix::eye().
|
virtual |
Get the robot jacobian expressed in the robot reference frame also called fix frame.
To compute
, we communicate with the low level controller to get the joint position of the robot.
| fJe_ | : Robot jacobian |
Implements vpRobot.
Definition at line 2120 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::get_artCoord(), vpViper::get_fJe(), and vpERROR_TRACE.
|
inherited |
Get the robot jacobian
which gives the velocity of the origin of the end-effector frame expressed in the robot reference frame also called fix frame.
| q | : A six-dimension vector that contains the joint positions of the robot expressed in radians. |
| fJe | : Robot jacobian |
Definition at line 1179 of file vpViper.cpp.
References vpHomogeneousMatrix::extract(), get_fJw(), get_fMw(), get_wMe(), and vpHomogeneousMatrix::inverse().
Referenced by vpSimulatorViper850::computeArticularVelocity(), vpRobotViper650::get_fJe(), vpRobotViper850::get_fJe(), vpSimulatorViper850::get_fJe(), and vpSimulatorViper850::getVelocity().
|
inherited |
Get the robot jacobian
which express the velocity of the origin of the wrist frame in the robot reference frame also called fix frame.
with
| q | : A six-dimension vector that contains the joint positions of the robot expressed in radians. |
| fJw | : Robot jacobian |
Definition at line 1074 of file vpViper.cpp.
References a1, a2, a3, d4, and vpArray2D< Type >::resize().
|
inherited |
Compute the forward kinematics (direct geometric model) as an homogeneous matrix.
By forward kinematics we mean here the position and the orientation of the camera relative to the base frame given the joint positions of all the six joints.
This method is the same than getForwardKinematics(const vpColVector & q).
| q | : Vector of six joint positions expressed in radians. |
Definition at line 626 of file vpViper.cpp.
References get_fMc().
Referenced by vpSimulatorViper850::compute_fMi(), get_fMc(), getForwardKinematics(), vpRobotViper650::getPosition(), vpRobotViper850::getPosition(), vpSimulatorViper850::getPosition(), vpRobotViper650::getVelocity(), vpRobotViper850::getVelocity(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), and vpSimulatorViper850::setPosition().
|
inherited |
Compute the forward kinematics (direct geometric model) as an homogeneous matrix.
By forward kinematics we mean here the position and the orientation of the camera relative to the base frame given the six joint positions.
| q | : Vector of six joint positions expressed in radians. |
| fMc | The homogeneous matrix |
Definition at line 655 of file vpViper.cpp.
|
inherited |
Compute the forward kinematics (direct geometric model) as an homogeneous matrix
.
By forward kinematics we mean here the position and the orientation of the end effector with respect to the base frame given the motor positions of all the six joints.
with
| q | : A 6-dimension vector that contains the 6 joint positions expressed in radians. |
| fMe | The homogeneous matrix |
Note that this transformation can also be computed by considering the wrist frame
.
Definition at line 745 of file vpViper.cpp.
References a1, a2, a3, d1, d4, and d6.
Referenced by get_fMc(), vpRobotViper650::getVelocity(), and vpRobotViper850::getVelocity().
|
inlineprotectedvirtual |
Get a table of poses between the reference frame and the frames you used to compute the Denavit-Hartenberg representation
Implements vpRobotWireFrameSimulator.
Definition at line 285 of file vpSimulatorViper850.h.
References vpRobotWireFrameSimulator::fMi, get_fMi(), and vpRobotWireFrameSimulator::m_mutex_fMi.
Referenced by get_fMi(), getExternalImage(), initialiseObjectRelativeToCamera(), and updateArticularPosition().
|
inlineinherited |
Get the pose between the object and the fixed world frame.
Definition at line 208 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::fMo.
|
inlineinherited |
Get the homogeneous matrices fMo stored to display the camera trajectory.
| fMo_history | : The list of the homogeneous matrices fMo. |
Definition at line 443 of file vpWireFrameSimulator.h.
References fMoList.
|
inherited |
Compute the transformation between the fix frame and the wrist frame. The wrist frame is located on the intersection of the 3 last rotations.
| q | : A 6-dimension vector that contains the 6 joint positions expressed in radians. |
| fMw | The homogeneous matrix corresponding to the transformation between the fix frame and the wrist frame (fMw). |
with
Definition at line 835 of file vpViper.cpp.
|
inlineprotectedinherited |
Definition at line 378 of file vpRobotWireFrameSimulator.h.
References m_mutex_velocity, and velocity.
Referenced by vpSimulatorAfma6::computeArticularVelocity(), and vpSimulatorViper850::computeArticularVelocity().
|
inherited |
Return the transformation between the wrist frame and the end-effector. The wrist frame is located on the intersection of the 3 last rotations.
| wMe | The homogeneous matrix corresponding to the transformation between the wrist frame and the end-effector frame (wMe). |
Definition at line 894 of file vpViper.cpp.
References d6, and vpHomogeneousMatrix::eye().
Referenced by get_eJe(), get_fJe(), and getInverseKinematics().
| void vpSimulatorViper850::getCameraParameters | ( | vpCameraParameters & | cam, |
| const unsigned int & | image_width, | ||
| const unsigned int & | image_height ) |
Get the current intrinsic camera parameters obtained by calibration.
| cam | : In output, camera parameters to fill. |
| image_width | : Image width used to compute camera calibration. |
| image_height | : Image height used to compute camera calibration. |
Definition at line 281 of file vpSimulatorViper850.cpp.
References vpViper850::CONST_MARLIN_F033C_CAMERA_NAME, vpViper850::CONST_PTGREY_FLEA2_CAMERA_NAME, vpViper850::getToolType(), vpWireFrameSimulator::px_int, vpWireFrameSimulator::py_int, vpViper850::TOOL_CUSTOM, vpViper850::TOOL_GENERIC_CAMERA, vpViper850::TOOL_MARLIN_F033C_CAMERA, vpViper850::TOOL_PTGREY_FLEA2_CAMERA, vpViper850::TOOL_SCHUNK_GRIPPER_CAMERA, and vpTRACE.
Referenced by getCameraParameters(), getCameraParameters(), and initDisplay().
| void vpSimulatorViper850::getCameraParameters | ( | vpCameraParameters & | cam, |
| const vpImage< unsigned char > & | I_ ) |
Get the current intrinsic camera parameters obtained by calibration.
| cam | : In output, camera parameters to fill. |
| I_ | : A B&W image send by the current camera in use. |
Definition at line 333 of file vpSimulatorViper850.cpp.
References getCameraParameters(), vpImage< Type >::getHeight(), and vpImage< Type >::getWidth().
| void vpSimulatorViper850::getCameraParameters | ( | vpCameraParameters & | cam, |
| const vpImage< vpRGBa > & | I_ ) |
Get the current intrinsic camera parameters obtained by calibration.
| cam | : In output, camera parameters to fill. |
| I_ | : A B&W image send by the current camera in use. |
Definition at line 346 of file vpSimulatorViper850.cpp.
References getCameraParameters(), vpImage< Type >::getHeight(), and vpImage< Type >::getWidth().
|
inherited |
Get the current intrinsic camera parameters obtained by calibration.
| cam | : In output, camera parameters to fill. |
| image_width | : Image width used to compute camera calibration. |
| image_height | : Image height used to compute camera calibration. |
The code below shows how to get the camera parameters of the camera attached to the robot.
| vpRobotException::readingParametersError | : If the camera parameters are not found. |
Definition at line 553 of file vpViper850.cpp.
References vpException::badValue, CONST_CAMERA_FILENAME, CONST_GENERIC_CAMERA_NAME, CONST_MARLIN_F033C_CAMERA_NAME, CONST_PTGREY_FLEA2_CAMERA_NAME, CONST_SCHUNK_GRIPPER_CAMERA_NAME, getToolType(), vpException::notImplementedError, vpCameraParameters::perspectiveProjWithDistortion, vpCameraParameters::perspectiveProjWithoutDistortion, projModel, vpCameraParameters::ProjWithKannalaBrandtDistortion, vpRobotException::readingParametersError, vpXmlParserCamera::SEQUENCE_OK, TOOL_CUSTOM, TOOL_GENERIC_CAMERA, TOOL_MARLIN_F033C_CAMERA, TOOL_PTGREY_FLEA2_CAMERA, TOOL_SCHUNK_GRIPPER_CAMERA, vpERROR_TRACE, and vpTRACE.
Referenced by getCameraParameters(), and getCameraParameters().
|
inherited |
Get the current intrinsic camera parameters obtained by calibration.
| cam | : In output, camera parameters to fill. |
| I | : A B&W image send by the current camera in use. |
| vpRobotException::readingParametersError | : If the camera parameters are not found. |
Definition at line 764 of file vpViper850.cpp.
References getCameraParameters().
|
inherited |
Get the current intrinsic camera parameters obtained by calibration.
| cam | : In output, camera parameters to fill. |
| I | : A color image send by the current camera in use. |
| vpRobotException::readingParametersError | : If the camera parameters are not found. |
Definition at line 833 of file vpViper850.cpp.
References getCameraParameters().
|
inlineinherited |
Get the current camera model projection type.
Definition at line 144 of file vpViper850.h.
References projModel.
|
inherited |
Return the coupling factor between join 5 and joint 6.
This factor should be only useful when motor positions are considered. Since the positions returned by the robot are joint positions which takes into account the coupling factor, it has not to be considered in the modelization of the robot.
Definition at line 1240 of file vpViper.cpp.
References c56.
|
virtual |
Get the robot displacement since the last call of this method.
| frame | : The frame in which the measured displacement is expressed. |
| displacement | : The measured displacement since the last call of this method. The dimension of displacement is always
|
In camera or reference frame, rotations are expressed with the Euler Rxyz representation.
Implements vpRobot.
Definition at line 1832 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobot::CAMERA_FRAME, vpRobot::END_EFFECTOR_FRAME, vpRobotWireFrameSimulator::get_artCoord(), vpRobot::MIXT_FRAME, vpRobot::REFERENCE_FRAME, and vpColVector::resize().
|
inlineinherited |
Get the parameters of the virtual external camera.
Definition at line 175 of file vpRobotWireFrameSimulator.h.
References I, vpMath::maximum(), vpMath::minimum(), vpWireFrameSimulator::px_ext, and vpWireFrameSimulator::py_ext.
|
inlineinherited |
Get the parameters of the virtual external camera.
| I | : The image used to display the view of the camera. |
Definition at line 322 of file vpWireFrameSimulator.h.
References vpMath::maximum(), vpMath::minimum(), px_ext, and py_ext.
Referenced by projectCameraTrajectory(), projectCameraTrajectory(), projectCameraTrajectory(), and projectCameraTrajectory().
|
inlineinherited |
Get the parameters of the virtual external camera.
| I | : The image used to display the view of the camera. |
Definition at line 341 of file vpWireFrameSimulator.h.
References vpMath::maximum(), vpMath::minimum(), px_ext, and py_ext.
|
inlineinherited |
Get the external camera's position relative to the the world reference frame.
Definition at line 194 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::getExternalCameraPosition().
Referenced by vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
Definition at line 2238 of file vpSimulatorViper850.cpp.
References vpWireFrameSimulator::camColor, vpWireFrameSimulator::camera, vpWireFrameSimulator::camMf, vpWireFrameSimulator::camMf2, vpWireFrameSimulator::curColor, vpWireFrameSimulator::display_scene(), vpWireFrameSimulator::displayCamera, vpWireFrameSimulator::displayObject, vpWireFrameSimulator::f2Mf, vpWireFrameSimulator::fMo, get_cMe(), get_fMi(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpHomogeneousMatrix::inverse(), vpRobotWireFrameSimulator::m_mutex_scene, vpMath::maximum(), vpMath::minimum(), vpWireFrameSimulator::navigation(), vpWireFrameSimulator::px_ext, vpWireFrameSimulator::py_ext, vpRobotWireFrameSimulator::robotArms, and vpWireFrameSimulator::scene.
Referenced by updateArticularPosition().
|
inherited |
Get the external view. It corresponds to the view of the scene from a reference frame you have to set.
| I | : The image where the external view is displayed. |
Definition at line 1078 of file vpWireFrameSimulator.cpp.
References camColor, camera, cameraTrajectory, camMf, camMf2, camTrajColor, camTrajType, cMo, CT_LINE, CT_POINT, CUBE, curColor, vpDisplay::display(), display_scene(), displayCamera, displayCameraTrajectory, displayImageSimulator, vpDisplay::displayLine(), displayObject, vpDisplay::displayPoint(), extCamChanged, f2Mf, fMc, fMo, fMoList, vpImageSimulator::getImage(), getInternalCameraParameters(), vpMath::maximum(), vpMath::minimum(), navigation(), nbrPtLimit, objectImage, poseList, projectCameraTrajectory(), px_ext, py_ext, rotz, scene, vpImageSimulator::setCameraPosition(), SPHERE, and thickness_.
|
inherited |
Get an external view. The point of view is set thanks to the pose between the camera camMf and the fixed world frame.
| I | : The image where the external view is displayed. |
| cam_Mf | : The pose between the point of view and the fixed world frame. |
Definition at line 1211 of file vpWireFrameSimulator.cpp.
References camColor, camera, cMo, curColor, vpDisplay::display(), display_scene(), displayCamera, displayImageSimulator, displayObject, fMo, vpImageSimulator::getImage(), getInternalCameraParameters(), vpHomogeneousMatrix::inverse(), vpMath::maximum(), vpMath::minimum(), objectImage, px_ext, py_ext, rotz, scene, and vpImageSimulator::setCameraPosition().
|
inherited |
Get an external view. The point of view is set thanks to the pose between the camera camMf and the fixed world frame.
| I | : The image where the external view is displayed. |
| cam_Mf | : The pose between the point of view and the fixed world frame. |
Definition at line 943 of file vpWireFrameSimulator.cpp.
References camColor, camera, cMo, curColor, vpDisplay::display(), display_scene(), displayCamera, displayImageSimulator, displayObject, fMo, vpImageSimulator::getImage(), getInternalCameraParameters(), vpHomogeneousMatrix::inverse(), vpMath::maximum(), vpMath::minimum(), objectImage, px_ext, py_ext, rotz, scene, and vpImageSimulator::setCameraPosition().
|
inherited |
Compute the forward kinematics (direct geometric model) as an homogeneous matrix.
By forward kinematics we mean here the position and the orientation of the camera relative to the base frame given the six joint positions.
This method is the same than get_fMc(const vpColVector & q).
| q | : A six dimension vector corresponding to the robot joint positions expressed in radians. |
Definition at line 140 of file vpViper.cpp.
References get_fMc().
|
inlineinherited |
Get the parameters of the virtual internal camera.
| I | : The image used to display the view of the camera. |
Definition at line 374 of file vpWireFrameSimulator.h.
References vpMath::maximum(), vpMath::minimum(), px_int, and py_int.
Referenced by getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), and getInternalImage().
|
inlineinherited |
Get the parameters of the virtual internal camera.
| I | : The image used to display the view of the camera. |
Definition at line 393 of file vpWireFrameSimulator.h.
References vpMath::maximum(), vpMath::minimum(), px_int, and py_int.
|
inherited |
Get the internal view ie the view of the camera.
| I | : The image where the internal view is displayed. |
Definition at line 1003 of file vpWireFrameSimulator.cpp.
References camMf, cdMo, cMo, curColor, D_TOOL, desColor, desiredObject, desiredScene, vpDisplay::display(), display_scene(), displayDesiredObject, displayImageSimulator, displayObject, fMo, vpImageSimulator::getImage(), getInternalCameraParameters(), vpMath::maximum(), vpMath::minimum(), vpException::notInitialized, objectImage, px_int, py_int, vpColor::red, rotz, scene, sceneInitialized, and vpImageSimulator::setCameraPosition().
Get the internal view ie the view of the camera.
| I | : The image where the internal view is displayed. |
Definition at line 734 of file vpWireFrameSimulator.cpp.
References cdMo, cMo, curColor, D_TOOL, desColor, desiredObject, desiredScene, vpDisplay::display(), display_scene(), displayDesiredObject, displayImageSimulator, displayObject, vpImageSimulator::getImage(), getInternalCameraParameters(), vpMath::maximum(), vpMath::minimum(), vpException::notInitialized, objectImage, px_int, py_int, vpColor::red, rotz, scene, sceneInitialized, and vpImageSimulator::setCameraPosition().
|
inherited |
Get the view of the camera's robot.
According to the initialisation method you used, the current position and maybee the desired position of the object are displayed.
| I_ | : The image where the internal view is displayed. |
Definition at line 276 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::cdMo, vpWireFrameSimulator::cMo, vpWireFrameSimulator::curColor, vpWireFrameSimulator::D_TOOL, vpWireFrameSimulator::desColor, vpWireFrameSimulator::desiredObject, vpWireFrameSimulator::desiredScene, vpWireFrameSimulator::display_scene(), vpWireFrameSimulator::displayDesiredObject, vpWireFrameSimulator::displayObject, vpWireFrameSimulator::fMo, get_displayBusy(), get_fMi(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), I, vpHomogeneousMatrix::inverse(), vpMath::maximum(), vpMath::minimum(), vpWireFrameSimulator::px_int, vpWireFrameSimulator::py_int, vpColor::red, vpWireFrameSimulator::rotz, vpWireFrameSimulator::scene, vpWireFrameSimulator::sceneInitialized, set_displayBusy(), size_fMi, and vpTime::wait().
Get the view of the camera's robot.
According to the initialisation method you used, the current position and maybee the desired position of the object are displayed.
| I_ | : The image where the internal view is displayed. |
Definition at line 202 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::cdMo, vpWireFrameSimulator::cMo, vpWireFrameSimulator::curColor, vpWireFrameSimulator::D_TOOL, vpWireFrameSimulator::desColor, vpWireFrameSimulator::desiredObject, vpWireFrameSimulator::desiredScene, vpWireFrameSimulator::display_scene(), vpWireFrameSimulator::displayDesiredObject, vpWireFrameSimulator::displayObject, vpWireFrameSimulator::fMo, get_displayBusy(), get_fMi(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpHomogeneousMatrix::inverse(), vpMath::maximum(), vpMath::minimum(), vpWireFrameSimulator::px_int, vpWireFrameSimulator::py_int, vpColor::red, vpWireFrameSimulator::rotz, vpWireFrameSimulator::scene, vpWireFrameSimulator::sceneInitialized, set_displayBusy(), size_fMi, and vpTime::wait().
Referenced by vpSimulatorAfma6::setPosition().
|
inherited |
Compute the inverse kinematics (inverse geometric model).
By inverse kinematics we mean here the six joint values given the position and the orientation of the camera frame relative to the base frame.
| fMc | : Homogeneous matrix |
| q | : In input, a six dimension vector corresponding to the current joint positions expressed in radians. In output, the solution of the inverse kinematics, ie. the joint positions corresponding to |
| verbose | : Add extra printings. |
The code below shows how to compute the inverse geometric model:
Definition at line 589 of file vpViper.cpp.
References get_eMc(), get_wMe(), getInverseKinematicsWrist(), and vpHomogeneousMatrix::inverse().
Referenced by vpSimulatorViper850::initialiseCameraRelativeToObject(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), and vpSimulatorViper850::setPosition().
|
inherited |
Compute the inverse kinematics (inverse geometric model).
By inverse kinematics we mean here the six joint values given the position and the orientation of the camera frame relative to the base frame.
| fMw | : Homogeneous matrix |
| q | : In input, a six dimension vector corresponding to the current joint positions expressed in radians. In output, the solution of the inverse kinematics, ie. the joint positions corresponding to |
| verbose | : Add extra printings. |
The code below shows how to compute the inverse geometric model:
Definition at line 241 of file vpViper.cpp.
References a1, a2, a3, d1, d4, vpArray2D< Type >::getRows(), njoint, vpMath::rad(), vpColVector::resize(), and vpMath::sqr().
Referenced by getInverseKinematics().
|
inherited |
Get maximal joint values.
Definition at line 1228 of file vpViper.cpp.
References joint_max.
|
inherited |
Get minimal joint values.
Definition at line 1219 of file vpViper.cpp.
References joint_min.
|
inherited |
Get the maximal rotation velocity that can be sent to the robot during a velocity control.
Definition at line 272 of file vpRobot.cpp.
References maxRotationVelocity.
Referenced by vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpSimulatorAfma6::findHighestPositioningSpeed(), vpSimulatorViper850::findHighestPositioningSpeed(), getDisplacement(), vpRobotPololuPtu::setPosition(), vpSimulatorAfma6::setPosition(), vpRobotAfma6::setVelocity(), vpRobotCamera::setVelocity(), vpRobotFlirPtu::setVelocity(), vpRobotFranka::setVelocity(), vpRobotKinova::setVelocity(), vpRobotPioneer::setVelocity(), vpRobotPololuPtu::setVelocity(), vpRobotTemplate::setVelocity(), vpRobotUniversalRobots::setVelocity(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), vpSimulatorAfma6::setVelocity(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), and vpSimulatorViper850::setVelocity().
|
inherited |
Get the maximal translation velocity that can be sent to the robot during a velocity control.
Definition at line 250 of file vpRobot.cpp.
References maxTranslationVelocity.
Referenced by getDisplacement(), vpSimulatorAfma6::setPosition(), vpRobotAfma6::setVelocity(), vpRobotCamera::setVelocity(), vpRobotFlirPtu::setVelocity(), vpRobotFranka::setVelocity(), vpRobotKinova::setVelocity(), vpRobotPioneer::setVelocity(), vpRobotTemplate::setVelocity(), vpRobotUniversalRobots::setVelocity(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), vpSimulatorAfma6::setVelocity(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), and vpSimulatorViper850::setVelocity().
|
inlineinherited |
|
inherited |
Return the current robot position in the specified frame.
Definition at line 215 of file vpRobot.cpp.
References getPosition().
|
virtual |
Get the current position of the robot.
| frame | : Control frame type in which to get the position, either :
|
| q | : Measured position of the robot:
|
Implements vpRobot.
Definition at line 1553 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobot::CAMERA_FRAME, vpRobot::END_EFFECTOR_FRAME, vpHomogeneousMatrix::extract(), vpRobotWireFrameSimulator::get_artCoord(), vpViper::get_fMc(), vpRobotException::lowLevelError, vpRobot::MIXT_FRAME, vpRobot::REFERENCE_FRAME, vpColVector::resize(), and vpERROR_TRACE.
Referenced by getPosition(), getPosition(), and getPosition().
| void vpSimulatorViper850::getPosition | ( | const vpRobot::vpControlFrameType | frame, |
| vpColVector & | q, | ||
| double & | timestamp ) |
Get the current time stamped position of the robot.
| frame | : Control frame type in which to get the position, either :
|
| q | : Measured position of the robot:
|
| timestamp | : Unix time in second since January 1st 1970. |
Definition at line 1625 of file vpSimulatorViper850.cpp.
References getPosition(), and vpTime::measureTimeSecond().
| void vpSimulatorViper850::getPosition | ( | const vpRobot::vpControlFrameType | frame, |
| vpPoseVector & | position ) |
Get the current position of the robot.
Similar as getPosition(const vpRobot::vpControlFrameType frame, vpColVector &)
The difference is here that the position is returned using a ThetaU representation.
Definition at line 1642 of file vpSimulatorViper850.cpp.
References getPosition().
| void vpSimulatorViper850::getPosition | ( | const vpRobot::vpControlFrameType | frame, |
| vpPoseVector & | position, | ||
| double & | timestamp ) |
Get the current time stamped position of the robot.
Similar as getPosition(const vpRobot::vpControlFrameType frame, vpColVector &, double &)
The difference is here that the position is returned using a ThetaU representation.
Definition at line 1669 of file vpSimulatorViper850.cpp.
References getPosition(), and vpTime::measureTimeSecond().
|
inline |
Definition at line 241 of file vpSimulatorViper850.h.
References getPositioningVelocity().
Referenced by findHighestPositioningSpeed(), and getPositioningVelocity().
|
inlineprotectedinherited |
Definition at line 180 of file vpRobot.h.
Referenced by vpSimulatorAfma6::computeArticularVelocity(), and vpSimulatorViper850::computeArticularVelocity().
|
inlinevirtualinherited |
Definition at line 152 of file vpRobot.h.
Referenced by vpRobotBiclops::getPosition(), vpRobotBiclops::getVelocity(), vpRobotAfma6::setPosition(), vpRobotBiclops::setPosition(), vpRobotCamera::setPosition(), vpRobotFranka::setPosition(), vpRobotPololuPtu::setPosition(), vpRobotPtu46::setPosition(), vpRobotUniversalRobots::setPosition(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), vpSimulatorAfma6::setPosition(), vpSimulatorCamera::setPosition(), vpSimulatorViper850::setPosition(), vpRobotAfma6::setRobotState(), vpRobotBiclops::setRobotState(), vpRobotFlirPtu::setRobotState(), vpRobotFranka::setRobotState(), vpRobotPololuPtu::setRobotState(), vpRobotPtu46::setRobotState(), vpRobotUniversalRobots::setRobotState(), vpRobotViper650::setRobotState(), vpRobotViper850::setRobotState(), vpSimulatorAfma6::setRobotState(), vpSimulatorViper850::setRobotState(), vpRobotAfma6::setVelocity(), vpRobotBiclops::setVelocity(), vpRobotCamera::setVelocity(), vpRobotFlirPtu::setVelocity(), vpRobotFranka::setVelocity(), vpRobotKinova::setVelocity(), vpRobotPololuPtu::setVelocity(), vpRobotPtu46::setVelocity(), vpRobotTemplate::setVelocity(), vpRobotUniversalRobots::setVelocity(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), vpSimulatorAfma6::setVelocity(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), vpSimulatorViper850::setVelocity(), vpRobotFlirPtu::stopMotion(), vpRobotFranka::stopMotion(), vpRobotViper650::stopMotion(), vpRobotViper850::stopMotion(), vpSimulatorAfma6::stopMotion(), and vpSimulatorViper850::stopMotion().
|
inlineinherited |
Return the sampling time.
Definition at line 73 of file vpRobotSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
inlineinherited |
Get the current tool type.
Definition at line 152 of file vpViper850.h.
References tool_current.
Referenced by vpSimulatorViper850::getCameraParameters(), and getCameraParameters().
| vpColVector vpSimulatorViper850::getVelocity | ( | const vpRobot::vpControlFrameType | frame | ) |
Get the robot velocities.
| frame | : Frame in which velocities are measured. |
Definition at line 1101 of file vpSimulatorViper850.cpp.
References getVelocity().
| vpColVector vpSimulatorViper850::getVelocity | ( | const vpRobot::vpControlFrameType | frame, |
| double & | timestamp ) |
Get the time stamped robot velocities.
| frame | : Frame in which velocities are measured. |
| timestamp | : Unix time in second since January 1st 1970. |
Definition at line 1121 of file vpSimulatorViper850.cpp.
References getVelocity(), and vpTime::measureTimeSecond().
| void vpSimulatorViper850::getVelocity | ( | const vpRobot::vpControlFrameType | frame, |
| vpColVector & | vel ) |
Get the robot velocities.
| frame | : Frame in which velocities are measured. |
| vel | : Measured velocities. Translations are expressed in m/s and rotations in rad/s. |
Definition at line 997 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobot::CAMERA_FRAME, vpViper::eMc, vpRobot::END_EFFECTOR_FRAME, vpRobotWireFrameSimulator::get_artCoord(), vpRobotWireFrameSimulator::get_artVel(), vpViper::get_eJe(), vpViper::get_fJe(), vpRobot::MIXT_FRAME, vpRobot::REFERENCE_FRAME, vpColVector::resize(), and vpERROR_TRACE.
Referenced by getVelocity(), getVelocity(), and getVelocity().
| void vpSimulatorViper850::getVelocity | ( | const vpRobot::vpControlFrameType | frame, |
| vpColVector & | vel, | ||
| double & | timestamp ) |
Get the robot time stamped velocities.
| frame | : Frame in which velocities are measured. |
| vel | : Measured velocities. Translations are expressed in m/s and rotations in rad/s. |
| timestamp | : Unix time in second since January 1st 1970. |
Definition at line 1050 of file vpSimulatorViper850.cpp.
References getVelocity(), and vpTime::measureTimeSecond().
|
protectedvirtual |
Method which initialises the parameters linked to the robot characteristics.
Set the path to the arm files (*.bnd and *.sln) used by the simulator. If the path set in vpConfig.h in VISP_ROBOT_ARMS_DIR macro is not valid, the path is set from the VISP_ROBOT_ARMS_DIR environment variable that the user has to set.
Implements vpRobot.
Definition at line 123 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::artCoord, vpRobot::ARTICULAR_FRAME, vpRobotWireFrameSimulator::artVel, vpIoTools::checkDirectory(), defaultPositioningVelocity, vpViper850::defaultTool, vpRobotWireFrameSimulator::fMi, vpIoTools::getenv(), init(), vpViper::joint_max, vpViper::joint_min, vpViper::njoint, vpMath::rad(), vpRobot::setRobotFrame(), setRobotState(), vpRobotWireFrameSimulator::size_fMi, vpIoTools::splitChain(), and vpRobot::STATE_STOP.
Referenced by init(), vpSimulatorViper850(), and vpSimulatorViper850().
| void vpSimulatorViper850::init | ( | vpViper850::vpToolType | tool, |
| vpCameraParameters::vpCameraParametersProjType | proj_model = vpCameraParameters::perspectiveProjWithoutDistortion ) |
Initialize the robot kinematics with the extrinsic calibration parameters associated to a specific camera.
The eMc parameters depend on the camera.
| tool | : Tool to use. |
| proj_model | : Projection model associated to the camera. |
Definition at line 225 of file vpSimulatorViper850.cpp.
References vpViper::eMc, vpViper::erc, vpViper::etc, vpRobotWireFrameSimulator::m_mutex_eMc, vpViper850::projModel, vpMath::rad(), setCameraParameters(), vpViper850::setToolType(), vpViper850::TOOL_CUSTOM, vpViper850::TOOL_GENERIC_CAMERA, vpViper850::TOOL_MARLIN_F033C_CAMERA, vpViper850::TOOL_PTGREY_FLEA2_CAMERA, and vpViper850::TOOL_SCHUNK_GRIPPER_CAMERA.
|
inherited |
Read files containing the constant parameters related to the robot tools in order to set the end-effector to tool transformation.
| camera_extrinsic_parameters | : Filename containing the camera extrinsic parameters. |
Definition at line 147 of file vpViper850.cpp.
References parseConfigFile().
|
inherited |
Set the type of tool attached to the robot and transformation between the end-effector and the tool (
). This last parameter is loaded from a file.
| tool | : Type of tool in use. |
| filename | : Path of the configuration file containing the transformation between the end-effector frame and the tool frame. |
The configuration file should have the form below:
Definition at line 373 of file vpViper850.cpp.
References parseConfigFile(), and setToolType().
|
inherited |
Set the type of tool attached to the robot and the transformation between the end-effector and the tool (
).
| tool | : Type of tool in use. |
| eMc_ | : Homogeneous matrix representation of the transformation between the end-effector frame and the tool frame. |
Definition at line 394 of file vpViper850.cpp.
References vpViper::set_eMc(), and setToolType().
|
protectedvirtual |
Initialise the display of the robot's arms.
Set the path to the scene files (*.bnd and *.sln) used by the simulator. If the path set in vpConfig.h in VISP_SCENES_DIR macro is not valid, the path is set from the VISP_SCENES_DIR environment variable that the user has to set.
Implements vpRobotWireFrameSimulator.
Definition at line 2155 of file vpSimulatorViper850.cpp.
References vpWireFrameSimulator::camera, vpWireFrameSimulator::cameraFactor, vpIoTools::checkDirectory(), vpException::dimensionError, vpWireFrameSimulator::displayCamera, vpIoTools::getenv(), vpRobotWireFrameSimulator::robotArms, and vpIoTools::splitChain().
Referenced by initDisplay().
|
protected |
Method which initialises the parameters linked to the display part.
Definition at line 195 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::cameraParam, vpCameraParameters::get_px(), vpCameraParameters::get_py(), getCameraParameters(), initArms(), vpWireFrameSimulator::px_int, vpWireFrameSimulator::py_int, vpMath::rad(), vpRobotWireFrameSimulator::robotArms, vpWireFrameSimulator::sceneInitialized, vpWireFrameSimulator::setExternalCameraParameters(), and vpRobotWireFrameSimulator::setExternalCameraPosition().
Referenced by vpSimulatorViper850(), and vpSimulatorViper850().
| bool vpSimulatorViper850::initialiseCameraRelativeToObject | ( | const vpHomogeneousMatrix & | cMo_ | ) |
This method enables to initialise the joint coordinates of the robot in order to position the camera relative to the object.
Before using this method it is advised to set the position of the object thanks to the set_fMo() method.
In other terms, set the world to camera transformation
, and from the inverse kinematics set the joint positions
that corresponds to the
transformation.
| cMo_ | : the desired pose of the camera. |
Definition at line 2332 of file vpSimulatorViper850.cpp.
References compute_fMi(), vpWireFrameSimulator::fMo, vpRobotWireFrameSimulator::get_artCoord(), vpViper::getInverseKinematics(), vpHomogeneousMatrix::inverse(), vpRobotWireFrameSimulator::set_artCoord(), vpRobotWireFrameSimulator::set_artVel(), vpRobotWireFrameSimulator::set_velocity(), vpColVector::t(), vpRobot::verbose_, and vpERROR_TRACE.
| void vpSimulatorViper850::initialiseObjectRelativeToCamera | ( | const vpHomogeneousMatrix & | cMo_ | ) |
This method enables to initialise the pose between the object and the reference frame, in order to position the object relative to the camera.
Before using this method it is advised to set the articular coordinates of the robot.
In other terms, set the world to object transformation
where
with
the robot joint position
| cMo_ | : the desired pose of the camera. |
Definition at line 2373 of file vpSimulatorViper850.cpp.
References vpWireFrameSimulator::fMo, get_fMi(), vpRobotWireFrameSimulator::m_mutex_scene, vpRobotWireFrameSimulator::set_artVel(), and vpRobotWireFrameSimulator::set_velocity().
|
inherited |
Initialize the display. It enables to choose the type of scene which will be used to display the object at the current position. The object at the desired position is not displayed.
Here you can use the scene you want. You have to set the path to the .bnd file which is a scene file, or the vrml file.
| obj | : Path to the scene file you want to use. |
Definition at line 179 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::camera, vpWireFrameSimulator::displayCamera, and vpWireFrameSimulator::initScene().
|
inherited |
Initialize the display. It enables to choose the type of scene which will be used to display the object at the current position and at the desired position.
Here you can use the scene you want. You have to set the path to the .bnd file which is a scene file. It is also possible to use a vrml (.wrl) file.
| obj | : Path to the scene file you want to use. |
| desired_object | : Path to the scene file you want to use. |
Definition at line 133 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::camera, vpWireFrameSimulator::displayCamera, and vpWireFrameSimulator::initScene().
|
inherited |
Initialize the display. It enables to choose the type of object which will be used to display the object at the current position. The object at the desired position is not displayed.
It exists several default scenes you can use. Use the vpSceneObject attributes to use them in this method. The corresponding files are stored in the "data" folder which is in the ViSP build directory.
| obj | : Type of scene used to display the object at the current position. |
Definition at line 157 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::camera, vpWireFrameSimulator::displayCamera, and vpWireFrameSimulator::initScene().
|
inherited |
Initialize the display. It enables to choose the type of scene which will be used to display the object at the current position and at the desired position.
It exists several default scenes you can use. Use the vpSceneObject and the vpSceneDesiredObject attributes to use them in this method. The corresponding files are stored in the "data" folder which is in the ViSP build directory.
| obj | : Type of scene used to display the object at the current position. |
| desired_object | : Type of scene used to display the object at the desired pose (in the internal view). |
Definition at line 108 of file vpRobotWireFrameSimulator.cpp.
References vpWireFrameSimulator::camera, vpWireFrameSimulator::displayCamera, vpWireFrameSimulator::initScene(), and m_mutex_scene.
|
inherited |
Initialize the simulator. It enables to choose the type of scene which will be used to display the object at the current position and at the desired position.
Here you can use the scene you want. You have to set the path to a .bnd or a .wrl file which is a 3D model file.
It is also possible to add a list of vpImageSimulator instances. They will be automatically projected into the image. The position of the four corners have to be given in the object frame.
| obj | : Path to the scene file you want to use. |
| desired_object | : Path to the scene file you want to use. |
| imObj | : A list of vpImageSimulator instances. |
Definition at line 503 of file vpWireFrameSimulator.cpp.
References displayImageSimulator, initScene(), and objectImage.
|
inherited |
Initialize the simulator. It enables to choose the type of scene which will be used to display the object at the current position. The object at the desired position is not displayed.
Here you can use the scene you want. You have to set the path to a .bnd or a .wrl file which is a 3D model file.
It is also possible to add a list of vpImageSimulator instances. They will be automatically projected into the image. The position of the four corners have to be given in the object frame.
| obj | : Path to the scene file you want to use. |
| imObj | : A list of vpImageSimulator instances. |
Definition at line 719 of file vpWireFrameSimulator.cpp.
References displayImageSimulator, initScene(), and objectImage.
|
inherited |
Initialize the simulator. It enables to choose the type of object which will be used to display the object at the current position. The object at the desired position is not displayed.
It exists several default scenes you can use. Use the vpSceneObject attributes to use them in this method. The corresponding files are stored in the "data" folder which is in the ViSP build directory.
It is also possible to add a list of vpImageSimulator instances. They will be automatically projected into the image. The position of the four corners have to be given in the object frame.
| obj | : Type of scene used to display the object at the current position. |
| imObj | : A list of vpImageSimulator instances. |
Definition at line 645 of file vpWireFrameSimulator.cpp.
References displayImageSimulator, initScene(), and objectImage.
|
inherited |
Initialize the simulator. It enables to choose the type of scene which will be used to display the object at the current position and at the desired position.
It exists several default scenes you can use. Use the vpSceneObject and the vpSceneDesiredObject attributes to use them in this method. The corresponding files are stored in the "data" folder which is in the ViSP build directory.
It is also possible to add a list of vpImageSimulator instances. They will be automatically projected into the image. The position of the four corners have to be given in the object frame.
| obj | : Type of scene used to display the object at the current position. |
| desired_object | : Type of scene used to display the object at the desired pose (in the internal view). |
| imObj | : A list of vpImageSimulator instances. |
Definition at line 410 of file vpWireFrameSimulator.cpp.
References displayImageSimulator, initScene(), and objectImage.
|
protectedvirtual |
Method used to check if the robot reached a joint limit.
Implements vpRobotWireFrameSimulator.
Definition at line 1780 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::get_artCoord(), vpViper::joint_max, and vpViper::joint_min.
Referenced by updateArticularPosition().
|
inlinestaticprotectedinherited |
Function used to launch the thread which moves the robot.
Definition at line 329 of file vpRobotWireFrameSimulator.h.
References vpRobotWireFrameSimulator().
Referenced by vpSimulatorAfma6::vpSimulatorAfma6(), vpSimulatorAfma6::vpSimulatorAfma6(), vpSimulatorViper850::vpSimulatorViper850(), and vpSimulatorViper850::vpSimulatorViper850().
| void vpSimulatorViper850::move | ( | const char * | filename | ) |
Moves the robot to the joint position specified in the filename.
| filename | : File containing a joint position. |
Definition at line 2050 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, readPosFile(), setPosition(), setRobotState(), and vpRobot::STATE_POSITION_CONTROL.
|
protectedinherited |
Enables to change the external camera position.
Definition at line 1445 of file vpWireFrameSimulator.cpp.
References blocked, blockedr, blockedt, blockedz, vpHomogeneousMatrix::buildFrom(), vpMouseButton::button1, vpMouseButton::button2, vpMouseButton::button3, vpImagePoint::get_i(), vpImagePoint::get_j(), vpDisplay::getClick(), vpDisplay::getClickUp(), vpDisplay::getPointerPosition(), vpMath::minimum(), old_iPr, old_iPt, old_iPz, and vpMath::rad().
|
protectedinherited |
Enables to change the external camera position.
Definition at line 1357 of file vpWireFrameSimulator.cpp.
References blocked, blockedr, blockedt, blockedz, vpHomogeneousMatrix::buildFrom(), vpMouseButton::button1, vpMouseButton::button2, vpMouseButton::button3, vpImagePoint::get_i(), vpImagePoint::get_j(), vpDisplay::getClick(), vpDisplay::getClickUp(), vpDisplay::getPointerPosition(), vpMath::minimum(), old_iPr, old_iPt, old_iPz, and vpMath::rad().
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), and getExternalImage().
|
inherited |
This function gets the robot constant parameters from a file.
| filename | : File name containing the robot constant parameters, like the hand-to-eye transformation. |
Definition at line 408 of file vpViper850.cpp.
References vpRobotException::readingParametersError, and vpViper::set_eMc().
|
protectedinherited |
Project the center of the internal camera into the external camera view.
Definition at line 1553 of file vpWireFrameSimulator.cpp.
References camMf, vpMeterPixelConversion::convertPoint(), vpPoint::get_x(), vpPoint::get_y(), getExternalCameraParameters(), vpHomogeneousMatrix::inverse(), rotz, vpPoint::setWorldCoordinates(), and vpForwardProjection::track().
|
protectedinherited |
Project the center of the internal camera into the external camera view.
Definition at line 1591 of file vpWireFrameSimulator.cpp.
References vpMeterPixelConversion::convertPoint(), vpPoint::get_x(), vpPoint::get_y(), getExternalCameraParameters(), vpHomogeneousMatrix::inverse(), rotz, vpPoint::setWorldCoordinates(), and vpForwardProjection::track().
|
protectedinherited |
Project the center of the internal camera into the external camera view.
Definition at line 1535 of file vpWireFrameSimulator.cpp.
References camMf, vpMeterPixelConversion::convertPoint(), vpPoint::get_x(), vpPoint::get_y(), getExternalCameraParameters(), vpHomogeneousMatrix::inverse(), rotz, vpPoint::setWorldCoordinates(), and vpForwardProjection::track().
Referenced by displayTrajectory(), displayTrajectory(), getExternalImage(), and getExternalImage().
|
protectedinherited |
Project the center of the internal camera into the external camera view.
Definition at line 1572 of file vpWireFrameSimulator.cpp.
References vpMeterPixelConversion::convertPoint(), vpPoint::get_x(), vpPoint::get_y(), getExternalCameraParameters(), vpHomogeneousMatrix::inverse(), rotz, vpPoint::setWorldCoordinates(), and vpForwardProjection::track().
|
static |
Read joint positions in a specific Viper850 position file.
This position file has to start with a header. The six joint positions are given after the "R:" keyword. The first 3 values correspond to the joint translations X,Y,Z expressed in meters. The 3 last values correspond to the joint rotations A,B,C expressed in degres to be more representative for the user. Theses values are then converted in radians in q. The character "#" starting a line indicates a comment.
A typical content of such a file is given below:
| filename | : Name of the position file to read. |
| q | : The six joint positions. Values are expressed in radians. |
The code below shows how to read a position from a file and move the robot to this position.
Definition at line 1940 of file vpSimulatorViper850.cpp.
References vpColVector::deg2rad(), vpViper::njoint, vpColVector::resize(), and vpIoTools::splitChain().
Referenced by move(), and setPosition().
|
staticinherited |
Saturate velocities.
| v_in | : Vector of input velocities to saturate. Translation velocities should be expressed in m/s while rotation velocities in rad/s. |
| v_max | : Vector of maximal allowed velocities. Maximal translation velocities should be expressed in m/s while maximal rotation velocities in rad/s. |
| verbose | : Print a message indicating which axis causes the saturation. |
| vpRobotException::dimensionError | : If the input vectors have different dimensions. |
The code below shows how to use this static method in order to saturate a velocity skew vector.
Definition at line 162 of file vpRobot.cpp.
References vpException::dimensionError, and vpArray2D< Type >::size().
Referenced by vpRobotAfma6::setVelocity(), vpRobotCamera::setVelocity(), vpRobotFlirPtu::setVelocity(), vpRobotFranka::setVelocity(), vpRobotKinova::setVelocity(), vpRobotPioneer::setVelocity(), vpRobotTemplate::setVelocity(), vpRobotUniversalRobots::setVelocity(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), and vpSimulatorPioneerPan::setVelocity().
|
static |
Save joint (articular) positions in a specific Viper850 position file.
This position file starts with a header on the first line. After convertion of the rotations in degrees, the joint position q is written on a line starting with the keyword "R: ". See readPosFile() documentation for an example of such a file.
| filename | : Name of the position file to create. |
| q | : The six joint positions to save in the filename. Values are expressed in radians. |
Definition at line 2019 of file vpSimulatorViper850.cpp.
References vpMath::deg().
|
inlineprotectedinherited |
Definition at line 357 of file vpRobotWireFrameSimulator.h.
References artCoord, and m_mutex_artCoord.
Referenced by vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
inlineprotectedinherited |
Definition at line 371 of file vpRobotWireFrameSimulator.h.
References artVel, and m_mutex_artVel.
Referenced by vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpSimulatorAfma6::initialiseObjectRelativeToCamera(), vpSimulatorViper850::initialiseObjectRelativeToCamera(), vpSimulatorAfma6::setPosition(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpSimulatorAfma6::stopMotion(), vpSimulatorViper850::stopMotion(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
inlineprotectedinherited |
Definition at line 392 of file vpRobotWireFrameSimulator.h.
References displayBusy, and m_mutex_display.
Referenced by getInternalView(), getInternalView(), vpSimulatorAfma6::init(), vpSimulatorAfma6::updateArticularPosition(), and vpSimulatorViper850::updateArticularPosition().
|
virtualinherited |
Set the geometric transformation between the end-effector frame and the tool frame (commonly a camera).
| eMc_ | : Transformation between the end-effector frame and the tool frame. |
Reimplemented in vpRobotViper650, and vpRobotViper850.
Definition at line 1250 of file vpViper.cpp.
Referenced by vpViper650::init(), vpViper850::init(), vpViper650::parseConfigFile(), vpViper850::parseConfigFile(), vpRobotViper650::set_eMc(), vpRobotViper650::set_eMc(), vpRobotViper850::set_eMc(), and vpRobotViper850::set_eMc().
|
virtualinherited |
Set the geometric transformation between the end-effector frame and the tool frame (commonly a camera frame).
| etc_ | : Translation between the end-effector frame and the tool frame. |
| erc_ | : Rotation between the end-effector frame and the tool frame using the Euler angles in radians with the XYZ convention. |
Reimplemented in vpRobotViper650, and vpRobotViper850.
Definition at line 1268 of file vpViper.cpp.
|
inlineinherited |
Set the pose between the object and the fixed world frame.
| fMo_ | : The pose between the object and the fixed world frame. |
Definition at line 319 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::fMo.
|
inlineprotectedinherited |
Definition at line 385 of file vpRobotWireFrameSimulator.h.
References m_mutex_velocity, and velocity.
Referenced by vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpSimulatorAfma6::initialiseObjectRelativeToCamera(), vpSimulatorViper850::initialiseObjectRelativeToCamera(), vpSimulatorAfma6::setPosition(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpSimulatorAfma6::setVelocity(), vpSimulatorViper850::setVelocity(), vpSimulatorAfma6::stopMotion(), and vpSimulatorViper850::stopMotion().
|
inlineinherited |
Set the color used to display the camera in the external view.
| col | : The desired color. |
Definition at line 221 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::camColor.
| void vpSimulatorViper850::setCameraParameters | ( | const vpCameraParameters & | cam | ) |
Set the intrinsic camera parameters.
| cam | : The desired camera parameters. |
Definition at line 356 of file vpSimulatorViper850.cpp.
References vpWireFrameSimulator::px_int, and vpWireFrameSimulator::py_int.
Referenced by init().
|
inlineinherited |
Set the transformation between the camera frame and the object frame.
| cMo_ | : The pose of the object in the camera frame. |
Definition at line 467 of file vpWireFrameSimulator.h.
References fMc, fMo, vpHomogeneousMatrix::inverse(), and rotz.
|
inlineinherited |
Set the position of the the world reference frame relative to the camera.
| fMc_ | : The pose of the camera. |
Definition at line 479 of file vpWireFrameSimulator.h.
References cMo, fMo, vpHomogeneousMatrix::inverse(), and rotz.
|
inlineinherited |
Set the parameter which enables to choose the size of the main camera in the external camera views. By default this parameter is set to 1.
| factor | : The ration for the camera size. |
Definition at line 491 of file vpWireFrameSimulator.h.
References cameraFactor.
|
inlineinherited |
Set the color used to display the camera trajectory in the external view.
| col | : The desired color. |
Definition at line 499 of file vpWireFrameSimulator.h.
References camTrajColor.
|
inlineinherited |
Set the way to display the history of the main camera trajectory in the main external view. The choice is given between displaying lines and points.
| camTraj_type | : The chosen way to display the camera trajectory. |
Definition at line 508 of file vpWireFrameSimulator.h.
|
inlineinherited |
Set the flag used to force the sampling time in the thread computing the robot's displacement to a constant value; see setSamplingTime(). It may be useful if the main thread (computing the features) is very time consuming. False by default.
| _constantSamplingTimeMode | : The new value of the constantSamplingTimeMode flag. |
Definition at line 232 of file vpRobotWireFrameSimulator.h.
References constantSamplingTimeMode.
|
inlineinherited |
Set the color used to display the object at the current position in the robot's camera view.
| col | : The desired color. |
Definition at line 243 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::curColor.
|
inlineinherited |
Set the desired position of the robot's camera relative to the object.
| cdMo_ | : The desired pose of the camera. |
Definition at line 258 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::setDesiredCameraPosition().
|
inlineinherited |
Set the color used to display the object at the desired position in the robot's camera view.
| col | : The desired color. |
Definition at line 251 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::desColor.
|
inlineinherited |
Enable or disable the displaying of the camera trajectory in the main external camera view.
By default the trajectory is displayed.
| do_display | : Set to true to display the camera trajectory. |
Definition at line 539 of file vpWireFrameSimulator.h.
|
inlineinherited |
Set the way to draw the robot. Depending on what you choose you can display a 3D wireframe model or a set of lines linking the frames used to compute the geometrical model.
| dispType | : Type of display. Can be MODEL_3D or MODEL_DH. |
Definition at line 270 of file vpRobotWireFrameSimulator.h.
References displayType.
|
inlineinherited |
Set the internal camera parameters.
| cam | : The desired camera parameters. |
Definition at line 546 of file vpWireFrameSimulator.h.
References px_ext, and py_ext.
Referenced by vpSimulatorAfma6::initDisplay(), and vpSimulatorViper850::initDisplay().
|
inlineinherited |
Set the external camera point of view.
| camMf_ | : The pose of the external camera relative to the world reference frame. |
Definition at line 277 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::setExternalCameraPosition().
Referenced by vpSimulatorAfma6::initDisplay(), and vpSimulatorViper850::initDisplay().
|
inlineinherited |
Specify the thickness of the graphics drawings.
Definition at line 284 of file vpRobotWireFrameSimulator.h.
References vpWireFrameSimulator::thickness_.
|
inlineinherited |
Set the internal camera parameters.
| cam | : The desired camera parameters. |
Definition at line 577 of file vpWireFrameSimulator.h.
| void vpSimulatorViper850::setJointLimit | ( | const vpColVector & | limitMin, |
| const vpColVector & | limitMax ) |
This method enables to set the minimum and maximum joint limits for all the six axis of the robot. All the values have to be given in radian.
| limitMin | : The minimum joint limits are given in a vector of size 6. All the value must be in radian. |
| limitMax | : The maximum joint limits are given in a vector of size 6. All the value must be in radian. |
Definition at line 1684 of file vpSimulatorViper850.cpp.
References vpArray2D< Type >::getRows(), vpViper::joint_max, vpViper::joint_min, and vpTRACE.
|
inherited |
Set the maximal rotation velocity that can be sent to the robot during a velocity control.
| w_max | : Maximum rotational velocity expressed in rad/s. |
Definition at line 259 of file vpRobot.cpp.
References maxRotationVelocity.
Referenced by init(), vpRobotViper650::setMaxRotationVelocity(), vpRobotViper850::setMaxRotationVelocity(), and vpSimulatorAfma6::setPosition().
|
inherited |
Set the maximal translation velocity that can be sent to the robot during a velocity control.
| v_max | : Maximum translation velocity expressed in m/s. |
Definition at line 238 of file vpRobot.cpp.
References maxTranslationVelocity.
Referenced by init(), and vpSimulatorAfma6::setPosition().
|
inlineinherited |
Set the maximum number of main camera's positions which are stored. Those position can be displayed in the external camera field of view. By default this parameter is set to 1000.
| nbPt | : The desired number of position which are saved. |
Definition at line 590 of file vpWireFrameSimulator.h.
References nbrPtLimit.
| void vpSimulatorViper850::setPosition | ( | const char * | filename | ) |
Move to an absolute joint position with a given percent of max velocity. The robot state is set to position control. The percent of max velocity is to set with setPositioningVelocity(). The position to reach is defined in the position file.
| filename | : Name of the position file to read. The readPosFile() documentation shows a typical content of such a position file. |
This method has the same behavior than the sample code given below;
| vpRobotException::lowLevelError | : vpRobot::MIXT_FRAME not implemented. |
| vpRobotException::positionOutOfRangeError | : The requested position is out of range. |
Definition at line 1476 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobotException::lowLevelError, readPosFile(), setPosition(), setRobotState(), vpRobot::STATE_POSITION_CONTROL, and vpERROR_TRACE.
|
virtual |
Move to an absolute position with a given percent of max velocity. The percent of max velocity is to set with setPositioningVelocity(). The position to reach can be specified in joint coordinates, in the camera frame or in the reference frame.
| q | : A six dimension vector corresponding to the position to reach. All the positions are expressed in meters for the translations and radians for the rotations. If the position is out of range, an exception is provided. |
| frame | : Frame in which the position is expressed. |
| vpRobotException::lowLevelError | : vpRobot::MIXT_FRAME not implemented. |
| vpRobotException::positionOutOfRangeError | : The requested position is out of range. |
To catch the exception if the position is out of range, modify the code like:
Implements vpRobot.
Definition at line 1221 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobot::CAMERA_FRAME, vpRobot::END_EFFECTOR_FRAME, vpRobotWireFrameSimulator::get_artCoord(), vpViper::get_fMc(), vpViper::getInverseKinematics(), vpRobot::getRobotState(), vpRobotException::lowLevelError, vpRobotWireFrameSimulator::m_mutex_setVelocityCalled, vpRobot::MIXT_FRAME, vpRobotException::positionOutOfRangeError, vpRobot::REFERENCE_FRAME, vpRobotWireFrameSimulator::set_artCoord(), vpRobotWireFrameSimulator::set_artVel(), vpRobotWireFrameSimulator::set_velocity(), vpRobotWireFrameSimulator::setVelocityCalled, vpRobot::STATE_POSITION_CONTROL, vpRobot::verbose_, and vpERROR_TRACE.
Referenced by move(), setPosition(), and setPosition().
| void vpSimulatorViper850::setPosition | ( | const vpRobot::vpControlFrameType | frame, |
| double | pos1, | ||
| double | pos2, | ||
| double | pos3, | ||
| double | pos4, | ||
| double | pos5, | ||
| double | pos6 ) |
Move to an absolute position with a given percent of max velocity. The percent of max velocity is to set with setPositioningVelocity(). The position to reach can be specified in joint coordinates, in the camera frame or in the reference frame.
This method overloads setPosition(const vpRobot::vpControlFrameType, const vpColVector &).
All the positions are expressed in meters for the translations and radians for the rotations.
| pos1 | : First coordinate of the position to reach. |
| pos2 | : Second coordinate of the position to reach. |
| pos3 | : Third coordinate of the position to reach. |
| pos4 | : Fourth coordinate of the position to reach. |
| pos5 | : Fifth coordinate of the position to reach. |
| pos6 | : Sixth coordinate of the position to reach. |
| frame | : Frame in which the position is expressed. |
| vpRobotException::lowLevelError | : vpRobot::MIXT_FRAME not implemented. |
| vpRobotException::positionOutOfRangeError | : The requested position is out of range. |
Definition at line 1418 of file vpSimulatorViper850.cpp.
References setPosition(), and vpERROR_TRACE.
|
inline |
Definition at line 270 of file vpSimulatorViper850.h.
|
protectedinherited |
Definition at line 206 of file vpRobot.cpp.
Referenced by vpSimulatorAfma6::init(), vpSimulatorViper850::init(), vpSimulatorAfma6::setVelocity(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), and vpSimulatorViper850::setVelocity().
|
virtual |
Change the robot state.
| newState | : New requested robot state. |
Reimplemented from vpRobot.
Definition at line 654 of file vpSimulatorViper850.cpp.
References vpRobot::getRobotState(), vpRobot::setRobotState(), vpRobot::STATE_ACCELERATION_CONTROL, vpRobot::STATE_POSITION_CONTROL, vpRobot::STATE_STOP, vpRobot::STATE_VELOCITY_CONTROL, and stopMotion().
Referenced by init(), move(), and setPosition().
|
inlinevirtualinherited |
Set the sampling time.
| delta_t | : Sampling time in second used to compute the robot displacement from the velocity applied to the robot during this time. |
Since the wireframe simulator is threaded, the sampling time is set to vpTime::getMinTimeForUsleepCall() / 1000 seconds.
Reimplemented from vpRobotSimulator.
Definition at line 295 of file vpRobotWireFrameSimulator.h.
References vpRobotSimulator::delta_t_, and vpTime::getMinTimeForUsleepCall().
Referenced by vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
inlineinherited |
Set the parameter which enable or disable the singularity management.
Definition at line 307 of file vpRobotWireFrameSimulator.h.
References singularityManagement.
|
inlineprotectedinherited |
Set the current tool type.
Definition at line 161 of file vpViper850.h.
References tool_current.
Referenced by vpSimulatorViper850::init(), init(), init(), and init().
|
virtual |
Apply a velocity to the robot.
| frame | : Control frame in which the velocity is expressed. Velocities could be expressed in articular, camera frame, reference frame or mixt frame. |
| vel | : Velocity vector. The size of this vector is always 6. |
| vpRobotException::wrongStateError | : If a the robot is not configured to handle a velocity. The robot can handle a velocity only if the velocity control mode is set. For that, call setRobotState( vpRobot::STATE_VELOCITY_CONTROL) before setVelocity(). |
Implements vpRobot.
Definition at line 765 of file vpSimulatorViper850.cpp.
References vpRobot::ARTICULAR_FRAME, vpRobot::CAMERA_FRAME, vpRobot::END_EFFECTOR_FRAME, vpRobot::getMaxRotationVelocity(), vpRobot::getMaxTranslationVelocity(), vpRobot::getRobotState(), vpArray2D< Type >::getRows(), vpRobotWireFrameSimulator::jointLimit, vpRobotWireFrameSimulator::m_mutex_frame, vpRobotWireFrameSimulator::m_mutex_setVelocityCalled, vpRobot::MIXT_FRAME, vpRobot::REFERENCE_FRAME, vpRobotWireFrameSimulator::set_velocity(), vpRobot::setRobotFrame(), vpRobotWireFrameSimulator::setVelocityCalled, vpRobot::STATE_VELOCITY_CONTROL, vpERROR_TRACE, and vpRobotException::wrongStateError.
|
inlineinherited |
Activates extra printings when the robot reaches joint limits...
Definition at line 312 of file vpRobotWireFrameSimulator.h.
References vpRobot::verbose_.
|
protected |
Test to detect if the robot is near one of its singularities.
The goal is to avoid the problems du to such configurations.
Definition at line 1711 of file vpSimulatorViper850.cpp.
References vpViper::a1, vpViper::a2, vpViper::a3, and vpViper::d4.
Referenced by computeArticularVelocity().
| void vpSimulatorViper850::stopMotion | ( | ) |
Stop the robot.
Definition at line 2135 of file vpSimulatorViper850.cpp.
References vpRobot::getRobotState(), vpRobotWireFrameSimulator::set_artVel(), vpRobotWireFrameSimulator::set_velocity(), vpRobot::setRobotState(), vpRobot::STATE_STOP, and vpRobot::STATE_VELOCITY_CONTROL.
Referenced by setRobotState().
|
protectedvirtual |
Method lauched by the thread to compute the position of the robot in the articular frame.
Implements vpRobotWireFrameSimulator.
Definition at line 367 of file vpSimulatorViper850.cpp.
References vpRobotWireFrameSimulator::cameraParam, compute_fMi(), computeArticularVelocity(), vpRobotWireFrameSimulator::constantSamplingTimeMode, vpMeterPixelConversion::convertPoint(), vpMath::deg(), vpDisplay::display(), vpRobotWireFrameSimulator::displayAllowed, vpDisplay::displayCamera(), vpDisplay::displayFrame(), vpDisplay::displayLine(), vpRobotWireFrameSimulator::displayType, vpDisplay::flush(), vpRobotWireFrameSimulator::fMi, vpRobotWireFrameSimulator::get_artCoord(), vpRobotWireFrameSimulator::get_artVel(), vpRobotWireFrameSimulator::get_displayBusy(), get_fMi(), vpPoint::get_x(), vpPoint::get_y(), vpRobotWireFrameSimulator::getExternalCameraPosition(), getExternalImage(), vpTime::getMinTimeForUsleepCall(), vpRobotSimulator::getSamplingTime(), vpColor::green, vpRobotWireFrameSimulator::I, isInJointLimit(), vpViper::joint_max, vpViper::joint_min, vpRobotWireFrameSimulator::jointLimit, vpRobotWireFrameSimulator::jointLimitArt, vpRobotWireFrameSimulator::m_mutex_robotStop, vpRobotWireFrameSimulator::m_mutex_setVelocityCalled, vpTime::measureTimeMs(), vpRobotWireFrameSimulator::MODEL_3D, vpRobotWireFrameSimulator::MODEL_DH, vpColor::none, vpRobotWireFrameSimulator::robotStop, vpRobotWireFrameSimulator::set_artCoord(), vpRobotWireFrameSimulator::set_artVel(), vpRobotWireFrameSimulator::set_displayBusy(), vpRobotWireFrameSimulator::setVelocityCalled, vpRobotWireFrameSimulator::tcur, vpWireFrameSimulator::thickness_, vpRobotWireFrameSimulator::tprev, vpForwardProjection::track(), vpRobot::verbose_, and vpTime::wait().
|
protectedinherited |
Definition at line 162 of file vpViper.h.
Referenced by vpSimulatorViper850::compute_fMi(), get_fJw(), get_fMe(), get_fMw(), getInverseKinematicsWrist(), operator=(), vpSimulatorViper850::singularityTest(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
for joint 2
Definition at line 163 of file vpViper.h.
Referenced by vpSimulatorViper850::compute_fMi(), get_fJw(), get_fMe(), get_fMw(), getInverseKinematicsWrist(), operator=(), vpSimulatorViper850::singularityTest(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
for joint 3
Definition at line 164 of file vpViper.h.
Referenced by vpSimulatorViper850::compute_fMi(), get_fJw(), get_fMe(), get_fMw(), getInverseKinematicsWrist(), operator=(), vpSimulatorViper850::singularityTest(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
Definition at line 111 of file vpRobot.h.
Referenced by operator=(), vpRobot(), and vpRobot().
|
protectedinherited |
The articular coordinates
Definition at line 106 of file vpRobotWireFrameSimulator.h.
Referenced by get_artCoord(), vpSimulatorAfma6::init(), vpSimulatorViper850::init(), set_artCoord(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
The articular velocity
Definition at line 108 of file vpRobotWireFrameSimulator.h.
Referenced by get_artVel(), vpSimulatorAfma6::init(), vpSimulatorViper850::init(), set_artVel(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 265 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 262 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 264 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 263 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Mechanical coupling between joint 5 and joint 6.
Definition at line 168 of file vpViper.h.
Referenced by getCoupl56(), operator<<, operator=(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
Definition at line 246 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), vpRobotWireFrameSimulator::setCameraColor(), setCameraColor(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 233 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), vpSimulatorAfma6::initArms(), vpSimulatorViper850::initArms(), vpRobotWireFrameSimulator::initScene(), vpRobotWireFrameSimulator::initScene(), vpRobotWireFrameSimulator::initScene(), vpRobotWireFrameSimulator::initScene(), initScene(), initScene(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 280 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::initArms(), vpSimulatorViper850::initArms(), initScene(), initScene(), initScene(), initScene(), setCameraSizeFactor(), and vpWireFrameSimulator().
|
protectedinherited |
External camera parameters
Definition at line 137 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::initDisplay(), vpSimulatorViper850::initDisplay(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 254 of file vpWireFrameSimulator.h.
Referenced by deleteCameraPositionHistory(), getExternalImage(), getExternalImage(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 238 of file vpWireFrameSimulator.h.
Referenced by getExternalCameraPosition(), vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), projectCameraTrajectory(), projectCameraTrajectory(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 267 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), setExternalCameraPosition(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 247 of file vpWireFrameSimulator.h.
Referenced by displayTrajectory(), displayTrajectory(), getExternalImage(), getExternalImage(), setCameraTrajectoryColor(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 282 of file vpWireFrameSimulator.h.
Referenced by displayTrajectory(), displayTrajectory(), getExternalImage(), getExternalImage(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 241 of file vpWireFrameSimulator.h.
Referenced by getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 240 of file vpWireFrameSimulator.h.
Referenced by get_cMo(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), setCameraPositionRelWorld(), and vpWireFrameSimulator().
|
staticinherited |
Definition at line 108 of file vpViper850.h.
Referenced by getCameraParameters().
|
staticinherited |
Definition at line 107 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 106 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 101 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Files where constant transformation between end-effector and camera frame are stored.
Definition at line 100 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 103 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 102 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 105 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 104 of file vpViper850.h.
Referenced by init().
|
staticinherited |
Definition at line 116 of file vpViper850.h.
Referenced by getCameraParameters().
|
staticinherited |
Name of the camera attached to the end-effector.
Definition at line 113 of file vpViper850.h.
Referenced by vpSimulatorViper850::getCameraParameters(), and getCameraParameters().
|
staticinherited |
Definition at line 114 of file vpViper850.h.
Referenced by vpSimulatorViper850::getCameraParameters(), and getCameraParameters().
|
staticinherited |
Definition at line 115 of file vpViper850.h.
Referenced by getCameraParameters().
|
protectedinherited |
Flag used to force the sampling time in the thread computing the robot's displacement to a constant value (samplingTime). It may be useful if the main thread (computing the features) is very time consuming. False by default.
Definition at line 158 of file vpRobotWireFrameSimulator.h.
Referenced by setConstantSamplingTimeMode(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 248 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::setCurrentViewColor(), setCurrentViewColor(), and vpWireFrameSimulator().
|
protectedinherited |
for joint 1
Definition at line 162 of file vpViper.h.
Referenced by vpSimulatorViper850::compute_fMi(), get_fMe(), get_fMw(), getInverseKinematicsWrist(), operator=(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
for joint 4
Definition at line 165 of file vpViper.h.
Referenced by vpSimulatorViper850::compute_fMi(), get_fJw(), get_fMe(), get_fMw(), getInverseKinematicsWrist(), operator=(), vpSimulatorViper850::singularityTest(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
for joint 6
Definition at line 166 of file vpViper.h.
Referenced by vpSimulatorViper850::compute_fMi(), get_fMe(), get_wMe(), operator=(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
for force/torque location
Definition at line 167 of file vpViper.h.
Referenced by get_eMs(), operator=(), and vpViper().
|
static |
Definition at line 212 of file vpSimulatorViper850.h.
Referenced by init(), vpSimulatorViper850(), and vpSimulatorViper850().
|
staticinherited |
Default tool attached to the robot end effector.
Definition at line 129 of file vpViper850.h.
Referenced by vpRobotViper850::init(), vpSimulatorViper850::init(), init(), and vpViper850().
|
protectedinherited |
Definition at line 60 of file vpRobotSimulator.h.
Referenced by vpRobotWireFrameSimulator::setSamplingTime(), vpRobotCamera::setVelocity(), vpSimulatorCamera::setVelocity(), vpSimulatorPioneer::setVelocity(), vpSimulatorPioneerPan::setVelocity(), and vpRobotSimulator().
|
protectedinherited |
Definition at line 249 of file vpWireFrameSimulator.h.
Referenced by getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::setDesiredViewColor(), setDesiredViewColor(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 244 of file vpWireFrameSimulator.h.
Referenced by getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), initScene(), initScene(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 232 of file vpWireFrameSimulator.h.
Referenced by getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 140 of file vpRobotWireFrameSimulator.h.
Referenced by vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 153 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 125 of file vpRobotWireFrameSimulator.h.
Referenced by get_displayBusy(), set_displayBusy(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 277 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), vpSimulatorAfma6::initArms(), vpSimulatorViper850::initArms(), vpRobotWireFrameSimulator::initScene(), vpRobotWireFrameSimulator::initScene(), vpRobotWireFrameSimulator::initScene(), vpRobotWireFrameSimulator::initScene(), initScene(), initScene(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 253 of file vpWireFrameSimulator.h.
Referenced by getExternalImage(), getExternalImage(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 276 of file vpWireFrameSimulator.h.
Referenced by getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), initScene(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 278 of file vpWireFrameSimulator.h.
Referenced by getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), initScene(), initScene(), initScene(), initScene(), initScene(), initScene(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 275 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), initScene(), initScene(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 151 of file vpRobotWireFrameSimulator.h.
Referenced by setDisplayRobotType(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
robot Jacobian expressed in the end-effector frame
Definition at line 103 of file vpRobot.h.
Referenced by vpRobotAfma6::get_eJe(), vpRobotBiclops::get_eJe(), vpRobotCamera::get_eJe(), vpRobotFlirPtu::get_eJe(), vpRobotFlirPtu::get_eJe(), vpRobotKinova::get_eJe(), vpRobotPioneer::get_eJe(), vpRobotPololuPtu::get_eJe(), vpRobotPololuPtu::get_eJe(), vpRobotPtu46::get_eJe(), vpRobotViper650::get_eJe(), vpRobotViper850::get_eJe(), vpSimulatorCamera::get_eJe(), operator=(), vpRobot(), and vpRobot().
|
protectedinherited |
is the robot Jacobian expressed in the end-effector frame available
Definition at line 105 of file vpRobot.h.
Referenced by operator=(), vpRobot(), and vpRobot().
|
protectedinherited |
End effector to camera transformation.
Definition at line 156 of file vpViper.h.
Referenced by vpSimulatorViper850::computeArticularVelocity(), get_cMe(), get_eMc(), get_fMc(), vpSimulatorViper850::getVelocity(), vpSimulatorViper850::init(), vpViper650::init(), vpViper850::init(), operator<<, operator=(), set_eMc(), set_eMc(), and vpViper().
|
protectedinherited |
Definition at line 159 of file vpViper.h.
Referenced by vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpSimulatorViper850::init(), vpViper650::init(), vpViper850::init(), operator=(), vpRobotViper650::set_eMc(), vpRobotViper650::set_eMc(), vpRobotViper850::set_eMc(), vpRobotViper850::set_eMc(), set_eMc(), set_eMc(), and vpViper().
|
protectedinherited |
Definition at line 158 of file vpViper.h.
Referenced by vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpSimulatorViper850::init(), vpViper650::init(), vpViper850::init(), operator=(), vpRobotViper650::set_eMc(), vpRobotViper650::set_eMc(), vpRobotViper850::set_eMc(), vpRobotViper850::set_eMc(), set_eMc(), set_eMc(), and vpViper().
|
protectedinherited |
Definition at line 284 of file vpWireFrameSimulator.h.
Referenced by getExternalImage(), getExternalImage(), setExternalCameraPosition(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 268 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), setExternalCameraPosition(), and vpWireFrameSimulator().
|
protectedinherited |
robot Jacobian expressed in the robot reference frame available
Definition at line 107 of file vpRobot.h.
Referenced by vpRobotAfma6::get_fJe(), vpRobotBiclops::get_fJe(), vpRobotFlirPtu::get_fJe(), vpRobotFlirPtu::get_fJe(), vpRobotKinova::get_fJe(), vpRobotPololuPtu::get_fJe(), vpRobotPololuPtu::get_fJe(), vpRobotPtu46::get_fJe(), vpRobotViper650::get_fJe(), vpRobotViper850::get_fJe(), operator=(), vpRobot(), and vpRobot().
|
protectedinherited |
is the robot Jacobian expressed in the robot reference frame available
Definition at line 109 of file vpRobot.h.
Referenced by operator=(), vpRobot(), and vpRobot().
|
protectedinherited |
Definition at line 237 of file vpWireFrameSimulator.h.
Referenced by getExternalImage(), getExternalImage(), setCameraPositionRelObj(), and vpWireFrameSimulator().
|
protectedinherited |
Table containing all the homogeneous matrices between the reference frame of the robot and the frames you used to compute the Denavit-Hartenberg representation
If you use a camera at the end of the effector, the last homogeneous matrix has to be the one between the reference frame and the camera frame (fMc)
Definition at line 103 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::compute_fMi(), vpSimulatorViper850::compute_fMi(), vpSimulatorAfma6::get_fMi(), vpSimulatorViper850::get_fMi(), vpSimulatorAfma6::init(), vpSimulatorViper850::init(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), vpRobotWireFrameSimulator(), vpSimulatorAfma6::~vpSimulatorAfma6(), and vpSimulatorViper850::~vpSimulatorViper850().
|
protectedinherited |
Definition at line 236 of file vpWireFrameSimulator.h.
Referenced by vpRobotWireFrameSimulator::get_cMo(), vpRobotWireFrameSimulator::get_fMo(), get_fMo(), vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), vpSimulatorAfma6::initialiseObjectRelativeToCamera(), vpSimulatorViper850::initialiseObjectRelativeToCamera(), vpRobotWireFrameSimulator::set_fMo(), setCameraPositionRelObj(), setCameraPositionRelWorld(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 256 of file vpWireFrameSimulator.h.
Referenced by deleteCameraPositionHistory(), get_fMo_History(), getExternalImage(), getExternalImage(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
Definition at line 82 of file vpRobotWireFrameSimulator.h.
Referenced by getExternalCameraParameters(), getInternalView(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 171 of file vpViper.h.
Referenced by getJointMax(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpSimulatorViper850::init(), vpSimulatorViper850::isInJointLimit(), operator<<, operator=(), vpSimulatorViper850::setJointLimit(), vpSimulatorViper850::updateArticularPosition(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
Definition at line 172 of file vpViper.h.
Referenced by getJointMin(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper650::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpRobotViper850::init(), vpSimulatorViper850::init(), vpSimulatorViper850::isInJointLimit(), operator<<, operator=(), vpSimulatorViper850::setJointLimit(), vpSimulatorViper850::updateArticularPosition(), vpViper(), vpViper650::vpViper650(), and vpViper850::vpViper850().
|
protectedinherited |
True if one of the joint reach the limit
Definition at line 130 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), vpSimulatorAfma6::setVelocity(), vpSimulatorViper850::setVelocity(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Index of the joint which is in limit
Definition at line 132 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 117 of file vpRobotWireFrameSimulator.h.
Referenced by get_artCoord(), set_artCoord(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 116 of file vpRobotWireFrameSimulator.h.
Referenced by get_artVel(), set_artVel(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 119 of file vpRobotWireFrameSimulator.h.
Referenced by get_displayBusy(), set_displayBusy(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 115 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::compute_fMi(), vpSimulatorViper850::compute_fMi(), vpSimulatorAfma6::init(), vpSimulatorViper850::init(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 114 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::compute_fMi(), vpSimulatorViper850::compute_fMi(), vpSimulatorAfma6::get_fMi(), vpSimulatorViper850::get_fMi(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
|
protectedinherited |
Definition at line 120 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), vpRobotWireFrameSimulator(), vpSimulatorAfma6::~vpSimulatorAfma6(), and vpSimulatorViper850::~vpSimulatorViper850().
|
protectedinherited |
Definition at line 123 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorAfma6::initialiseObjectRelativeToCamera(), vpSimulatorViper850::initialiseObjectRelativeToCamera(), initScene(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 122 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpSimulatorAfma6::setVelocity(), vpSimulatorViper850::setVelocity(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 118 of file vpRobotWireFrameSimulator.h.
Referenced by get_velocity(), set_velocity(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 112 of file vpRobotWireFrameSimulator.h.
Referenced by vpRobotWireFrameSimulator(), vpRobotWireFrameSimulator(), vpSimulatorAfma6::vpSimulatorAfma6(), vpSimulatorAfma6::vpSimulatorAfma6(), vpSimulatorViper850::vpSimulatorViper850(), vpSimulatorViper850::vpSimulatorViper850(), vpSimulatorAfma6::~vpSimulatorAfma6(), and vpSimulatorViper850::~vpSimulatorViper850().
|
protectedinherited |
Definition at line 97 of file vpRobot.h.
Referenced by getMaxRotationVelocity(), vpRobotFlirPtu::init(), vpRobotKinova::init(), vpRobotTemplate::init(), operator=(), setMaxRotationVelocity(), vpRobotPtu46::setVelocity(), vpRobot(), vpRobot(), vpRobotViper650::vpRobotViper650(), and vpRobotViper850::vpRobotViper850().
|
staticprotectedinherited |
Definition at line 98 of file vpRobot.h.
Referenced by vpRobotFlirPtu::init(), vpRobotKinova::init(), vpRobotTemplate::init(), vpRobot(), and vpRobot().
|
protectedinherited |
Definition at line 95 of file vpRobot.h.
Referenced by getMaxTranslationVelocity(), vpRobotFlirPtu::init(), vpRobotKinova::init(), vpRobotTemplate::init(), operator=(), setMaxTranslationVelocity(), vpRobot(), and vpRobot().
|
staticprotectedinherited |
Definition at line 96 of file vpRobot.h.
Referenced by vpRobotFlirPtu::init(), vpRobotKinova::init(), vpRobotTemplate::init(), vpRobot(), and vpRobot().
|
protectedinherited |
Definition at line 257 of file vpWireFrameSimulator.h.
Referenced by getExternalImage(), getExternalImage(), setNbPtTrajectory(), and vpWireFrameSimulator().
|
protectedinherited |
number of degrees of freedom
Definition at line 101 of file vpRobot.h.
Referenced by vpRobotPololuPtu::get_eJe(), vpRobotPololuPtu::get_eJe(), vpRobotPololuPtu::get_fJe(), vpRobotPololuPtu::get_fJe(), vpRobotKinova::getJointPosition(), getNDof(), vpRobotPololuPtu::getPosition(), vpRobotFlirPtu::init(), vpRobotKinova::init(), vpRobotTemplate::init(), vpRobotUniversalRobots::init(), operator=(), vpRobotUniversalRobots::readPosFile(), vpRobotKinova::setDoF(), vpRobotKinova::setJointVelocity(), vpRobotKinova::setPosition(), vpRobotPololuPtu::setPosition(), vpRobotFlirPtu::setVelocity(), vpRobotKinova::setVelocity(), vpRobotPololuPtu::setVelocity(), vpRobotTemplate::setVelocity(), vpRobot(), vpRobot(), and vpRobotPololuPtu::vpRobotPololuPtu().
|
staticinherited |
Number of joint.
Definition at line 153 of file vpViper.h.
Referenced by vpRobotViper650::get_eJe(), vpRobotViper850::get_eJe(), vpRobotViper650::get_fJe(), vpRobotViper850::get_fJe(), vpRobotViper650::getDisplacement(), vpRobotViper850::getDisplacement(), getInverseKinematicsWrist(), vpRobotViper650::getPosition(), vpRobotViper850::getPosition(), vpSimulatorViper850::init(), vpRobotViper650::readPosFile(), vpRobotViper850::readPosFile(), vpSimulatorViper850::readPosFile(), vpRobotViper650::setPosition(), vpRobotViper850::setPosition(), vpRobotViper650::setVelocity(), vpRobotViper850::setVelocity(), and vpViper().
|
protectedinherited |
Definition at line 243 of file vpWireFrameSimulator.h.
Referenced by vpWireFrameSimulator().
|
protectedinherited |
Definition at line 234 of file vpWireFrameSimulator.h.
Referenced by getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), initScene(), initScene(), initScene(), initScene(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 259 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 261 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 260 of file vpWireFrameSimulator.h.
Referenced by navigation(), navigation(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 255 of file vpWireFrameSimulator.h.
Referenced by deleteCameraPositionHistory(), get_cMo_History(), getExternalImage(), getExternalImage(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 168 of file vpViper850.h.
Referenced by getCameraParameters(), getCameraParametersProjType(), vpRobotViper850::init(), vpSimulatorViper850::init(), init(), and vpViper850().
|
protectedinherited |
Definition at line 272 of file vpWireFrameSimulator.h.
Referenced by vpRobotWireFrameSimulator::getExternalCameraParameters(), getExternalCameraParameters(), getExternalCameraParameters(), vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), setExternalCameraParameters(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 270 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getCameraParameters(), vpSimulatorViper850::getCameraParameters(), getInternalCameraParameters(), getInternalCameraParameters(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), vpSimulatorAfma6::initDisplay(), vpSimulatorViper850::initDisplay(), vpSimulatorAfma6::setCameraParameters(), vpSimulatorViper850::setCameraParameters(), setInternalCameraParameters(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 273 of file vpWireFrameSimulator.h.
Referenced by vpRobotWireFrameSimulator::getExternalCameraParameters(), getExternalCameraParameters(), getExternalCameraParameters(), vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), setExternalCameraParameters(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 271 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getCameraParameters(), vpSimulatorViper850::getCameraParameters(), getInternalCameraParameters(), getInternalCameraParameters(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), vpSimulatorAfma6::initDisplay(), vpSimulatorViper850::initDisplay(), vpSimulatorAfma6::setCameraParameters(), vpSimulatorViper850::setCameraParameters(), setInternalCameraParameters(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 113 of file vpRobot.h.
Referenced by operator=(), vpRobot(), vpRobot(), and ~vpRobot().
|
protectedinherited |
Definition at line 112 of file vpRobot.h.
Referenced by operator=(), vpRobot(), vpRobot(), and ~vpRobot().
|
protectedinherited |
Definition at line 239 of file vpWireFrameSimulator.h.
Referenced by vpWireFrameSimulator().
|
protectedinherited |
Contains the 3D model of the robot's arms
Definition at line 93 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), vpSimulatorAfma6::init(), vpSimulatorAfma6::initArms(), vpSimulatorViper850::initArms(), vpSimulatorAfma6::initDisplay(), vpSimulatorViper850::initDisplay(), vpRobotWireFrameSimulator(), vpRobotWireFrameSimulator(), vpSimulatorAfma6::~vpSimulatorAfma6(), and vpSimulatorViper850::~vpSimulatorViper850().
|
protectedinherited |
True if the robot has to be stopped
Definition at line 128 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), vpRobotWireFrameSimulator(), vpSimulatorAfma6::~vpSimulatorAfma6(), and vpSimulatorViper850::~vpSimulatorViper850().
|
protectedinherited |
Definition at line 286 of file vpWireFrameSimulator.h.
Referenced by displayTrajectory(), displayTrajectory(), get_cMo(), get_cMo_History(), getExternalCameraPosition(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), projectCameraTrajectory(), projectCameraTrajectory(), projectCameraTrajectory(), projectCameraTrajectory(), setCameraPositionRelObj(), setCameraPositionRelWorld(), setDesiredCameraPosition(), setExternalCameraPosition(), and vpWireFrameSimulator().
|
protectedinherited |
Definition at line 231 of file vpWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::getExternalImage(), vpSimulatorViper850::getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getExternalImage(), getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), initScene(), initScene(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Definition at line 251 of file vpWireFrameSimulator.h.
Referenced by getInternalImage(), getInternalImage(), vpRobotWireFrameSimulator::getInternalView(), vpRobotWireFrameSimulator::getInternalView(), vpSimulatorAfma6::initDisplay(), vpSimulatorViper850::initDisplay(), initScene(), initScene(), initScene(), initScene(), vpWireFrameSimulator(), and ~vpWireFrameSimulator().
|
protectedinherited |
Flag used to specify to the thread managing the robot displacements that the setVelocity() method has been called.
Definition at line 162 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), vpSimulatorAfma6::setVelocity(), vpSimulatorViper850::setVelocity(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
True if the singularity are automatically managed
Definition at line 134 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::computeArticularVelocity(), vpSimulatorViper850::computeArticularVelocity(), setSingularityManagement(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Size of the fMi table
Definition at line 96 of file vpRobotWireFrameSimulator.h.
Referenced by get_cMo(), getInternalView(), getInternalView(), vpSimulatorAfma6::init(), vpSimulatorViper850::init(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
cpu time at the begining of the robot's movement
Definition at line 88 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), vpRobotWireFrameSimulator(), vpSimulatorAfma6::vpSimulatorAfma6(), vpSimulatorAfma6::vpSimulatorAfma6(), vpSimulatorViper850::vpSimulatorViper850(), and vpSimulatorViper850::vpSimulatorViper850().
|
protectedinherited |
Definition at line 288 of file vpWireFrameSimulator.h.
Referenced by display_scene(), display_scene(), displayTrajectory(), displayTrajectory(), getExternalImage(), getExternalImage(), vpRobotWireFrameSimulator::setGraphicsThickness(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), and vpWireFrameSimulator().
|
protectedinherited |
Current tool in use.
Definition at line 166 of file vpViper850.h.
Referenced by getToolType(), setToolType(), and vpViper850().
|
protectedinherited |
cpu time at the end of the last robot's movement
Definition at line 90 of file vpRobotWireFrameSimulator.h.
Referenced by vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
The velocity in the current frame (articular, camera or reference)
Definition at line 110 of file vpRobotWireFrameSimulator.h.
Referenced by get_velocity(), set_velocity(), vpRobotWireFrameSimulator(), and vpRobotWireFrameSimulator().
|
protectedinherited |
Definition at line 115 of file vpRobot.h.
Referenced by vpRobotAfma6::init(), vpRobotViper650::init(), vpRobotViper850::init(), vpSimulatorAfma6::initialiseCameraRelativeToObject(), vpSimulatorViper850::initialiseCameraRelativeToObject(), operator=(), vpSimulatorAfma6::setPosition(), vpSimulatorViper850::setPosition(), setVerbose(), vpRobotWireFrameSimulator::setVerbose(), vpSimulatorAfma6::updateArticularPosition(), vpSimulatorViper850::updateArticularPosition(), vpRobot(), vpRobot(), vpRobotAfma6::vpRobotAfma6(), vpRobotViper650::vpRobotViper650(), and vpRobotViper850::vpRobotViper850().