39 #ifndef vpRobotFlirPtu_h 40 #define vpRobotFlirPtu_h 47 #include <visp3/core/vpConfig.h> 49 #ifdef VISP_HAVE_FLIR_PTU_SDK 51 #include <visp3/core/vpHomogeneousMatrix.h> 52 #include <visp3/robot/vpRobot.h> 53 #include <visp3/robot/vpRobotException.h> 102 void connect(
const std::string &portname,
int baudrate = 9600);
120 std::string getNetworkIP();
121 std::string getNetworkGateway();
122 std::string getNetworkHostName();
137 void setPanPosLimits(
const vpColVector &pan_limits);
138 void setTiltPosLimits(
const vpColVector &tilt_limits);
140 void setPositioningVelocity(
double velocity);
145 static void emergencyStop(
int signo);
155 double tics2deg(
int axis,
int tics);
156 double tics2rad(
int axis,
int tics);
157 int rad2tics(
int axis,
double rad);
Implementation of a matrix and operations on matrices.
virtual void getDisplacement(const vpRobot::vpControlFrameType frame, vpColVector &q)=0
vpHomogeneousMatrix m_eMc
Constant transformation between end-effector and tool (or camera) frame.
Implementation of an homogeneous matrix and operations on such kind of matrices.
std::vector< double > m_res
Pan/tilt tic resolution in deg.
std::vector< int > m_vel_max_tics
Pan/tilt max velocity in robot tics unit.
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.
virtual vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
void set_eMc(vpHomogeneousMatrix &eMc)
std::vector< int > m_pos_max_tics
Pan min/max position in robot tics unit.
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
double m_positioning_velocity
std::vector< int > m_pos_min_tics
Tilt min/max position in robot tics unit.
Implementation of column vector and the associated operations.
vpHomogeneousMatrix get_eMc() const
virtual void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &vel)=0