34 #ifndef _vpRobotPololuPtu_h_
35 #define _vpRobotPololuPtu_h_
37 #include <visp3/core/vpConfig.h>
39 #if defined(VISP_HAVE_POLOLU) && defined(VISP_HAVE_THREADS)
41 #include <visp3/robot/vpRobot.h>
42 #include <visp3/robot/vpPololu.h>
73 vpRobotPololuPtu(
const std::string &device =
"/dev/ttyACM0",
int baudrate = 9600,
bool verbose =
false);
126 float getAngularVelocityResolution()
const;
151 return m_positioning_velocity_percentage;
180 m_positioning_velocity_percentage = positioning_velocity_percentage;
237 void init() VP_OVERRIDE { };
267 float m_positioning_velocity_percentage;
Implementation of column vector and the associated operations.
Implementation of a matrix and operations on matrices.
Interface for the Pololu Maestro USB Servo Controllers.
Interface for the Pololu Maestro pan-tilt unit using two servo motors.
float getPositioningVelocityPercentage() const
void setVerbose(bool verbose)
void setPositioningVelocityPercentage(float positioning_velocity_percentage)
Class that defines a generic virtual robot.
virtual void get_eJe(vpMatrix &_eJe)=0
Get the robot Jacobian expressed in the end-effector frame.
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 vpRobotStateType setRobotState(const vpRobot::vpRobotStateType newState)
virtual void get_fJe(vpMatrix &_fJe)=0
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.