44 #ifndef vpRobotKinova_h
45 #define vpRobotKinova_h
47 #include <visp3/core/vpConfig.h>
49 #ifdef VISP_HAVE_JACOSDK
51 #include <KinovaTypes.h>
54 #include <Kinova.API.CommLayerUbuntu.h>
55 #include <Kinova.API.UsbCommandLayerUbuntu.h>
61 #include <CommandLayer.h>
62 #include <CommunicationLayer.h>
69 #include <visp3/core/vpHomogeneousMatrix.h>
70 #include <visp3/robot/vpRobot.h>
100 void get_eJe(
vpMatrix &eJe) VP_OVERRIDE;
101 void get_fJe(
vpMatrix &fJe) VP_OVERRIDE;
122 void setActiveDevice(
int device);
128 void setDoF(
unsigned int dof);
136 void setPluginLocation(
const std::string &plugin_location) { m_plugin_location = plugin_location; }
164 void *m_command_layer_handle;
166 HINSTANCE m_command_layer_handle;
170 int (*KinovaCloseAPI)();
171 int (*KinovaGetAngularCommand)(AngularPosition &);
172 int (*KinovaGetCartesianCommand)(CartesianPosition &);
173 int (*KinovaGetDevices)(KinovaDevice devices[MAX_KINOVA_DEVICE],
int &result);
174 int (*KinovaInitFingers)();
175 int (*KinovaInitAPI)();
176 int (*KinovaMoveHome)();
177 int (*KinovaSendBasicTrajectory)(TrajectoryPoint command);
178 int (*KinovaSetActiveDevice)(KinovaDevice device);
179 int (*KinovaSetAngularControl)();
180 int (*KinovaSetCartesianControl)();
Implementation of column vector and the associated operations.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Implementation of a matrix and operations on matrices.
Implementation of a pose vector and operations on poses.
void set_eMc(vpHomogeneousMatrix &eMc)
void setCommandLayer(CommandLayer command_layer)
KinovaDevice * m_devices_list
int getNumDevices() const
std::string m_plugin_location
vpHomogeneousMatrix m_eMc
Constant transformation between end-effector and tool (or camera) frame.
CommandLayer m_command_layer
void setVerbose(bool verbose)
void setPluginLocation(const std::string &plugin_location)
int getActiveDevice() const
Class that defines a generic virtual robot.
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0
virtual void getPosition(const vpRobot::vpControlFrameType frame, vpColVector &position)=0
Get the robot position (frame has to be specified).
virtual void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
virtual void setPosition(const vpRobot::vpControlFrameType frame, const vpColVector &q)=0
Set a displacement (frame has to be specified) in position control.