39 #ifndef vpRobotKinova_h 40 #define vpRobotKinova_h 50 #include <visp3/core/vpConfig.h> 52 #ifdef VISP_HAVE_JACOSDK 54 #include <KinovaTypes.h> 61 #include <Kinova.API.CommLayerUbuntu.h> 62 #include <Kinova.API.UsbCommandLayerUbuntu.h> 67 #include <CommunicationLayer.h> 68 #include <CommandLayer.h> 71 #include <visp3/core/vpHomogeneousMatrix.h> 72 #include <visp3/robot/vpRobot.h> 127 void setActiveDevice(
int device);
133 void setDoF(
unsigned int dof);
141 void setPluginLocation(
const std::string &plugin_location) { m_plugin_location = plugin_location; }
169 void * m_command_layer_handle;
171 HINSTANCE m_command_layer_handle;
175 int (*KinovaCloseAPI)();
176 int (*KinovaGetAngularCommand)(AngularPosition &);
177 int (*KinovaGetCartesianCommand)(CartesianPosition &);
178 int (*KinovaGetDevices)(KinovaDevice devices[MAX_KINOVA_DEVICE],
int &result);
179 int (*KinovaInitFingers)();
180 int (*KinovaInitAPI)();
181 int (*KinovaMoveHome)();
182 int (*KinovaSendBasicTrajectory)(TrajectoryPoint command);
183 int (*KinovaSetActiveDevice)(KinovaDevice device);
184 int (*KinovaSetAngularControl)();
185 int (*KinovaSetCartesianControl)();
Implementation of a matrix and operations on matrices.
virtual void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
KinovaDevice * m_devices_list
Implementation of an homogeneous matrix and operations on such kind of matrices.
virtual void get_eJe(vpMatrix &_eJe)=0
Get the robot Jacobian expressed in the end-effector frame.
virtual void setPosition(const vpRobot::vpControlFrameType frame, const vpColVector &q)=0
Set a displacement (frame has to be specified) in position control.
Class that defines a generic virtual robot.
void setVerbose(bool verbose)
vpHomogeneousMatrix get_eMc() const
void setCommandLayer(CommandLayer command_layer)
vpHomogeneousMatrix m_eMc
Constant transformation between end-effector and tool (or camera) frame.
std::string m_plugin_location
virtual void getPosition(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
Get the robot position (frame has to be specified).
virtual void get_fJe(vpMatrix &_fJe)=0
CommandLayer m_command_layer
Implementation of column vector and the associated operations.
Implementation of a pose vector and operations on poses.
void setPluginLocation(const std::string &plugin_location)
void set_eMc(vpHomogeneousMatrix &eMc)
int getNumDevices() const
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0
int getActiveDevice() const