57 #include <visp/vpConfig.h>
58 #include <visp/vpDebug.h>
59 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) // UNIX
65 #ifdef VISP_HAVE_PTU46
67 #include <visp/vpRobotPtu46.h>
82 vpCTRACE <<
"Set position in the articular frame: " << q.t();
87 vpCTRACE <<
"Set position in the articular frame: " << q.t();
92 vpCTRACE <<
"Position in the articular frame " << qm.t() ;
100 vpCTRACE <<
"Set camera frame velocity " << qdot.t() ;
109 vpCTRACE <<
"Set camera frame velocity " << qdot.t() ;
117 vpCTRACE <<
"Set articular frame velocity " << qdot.t() ;
125 vpCTRACE <<
"Set articular frame velocity " << qdot.t() ;
131 std::cout <<
"Sorry PtU46 not available ..." << std::endl;
141 vpERROR_TRACE(
"You do not have a ptu-46 robot connected to your computer...");
void setPosition(const vpRobot::vpControlFrameType frame, const vpColVector &q)
void setVelocity(const vpRobot::vpControlFrameType frame, const vpColVector &q_dot)
void getPosition(const vpRobot::vpControlFrameType frame, vpColVector &q)
Initialize the position controller.
vpRobot::vpRobotStateType setRobotState(vpRobot::vpRobotStateType newState)
Initialize the velocity controller.
Interface for the Directed Perception ptu-46 pan, tilt head .
static double rad(double deg)
Class that provides a data structure for the column vectors as well as a set of operations on these v...