Visual Servoing Platform  version 3.0.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
vpUnicycle Class Reference

#include <visp3/robot/vpUnicycle.h>

+ Inheritance diagram for vpUnicycle:

Public Member Functions

 vpUnicycle ()
 
virtual ~vpUnicycle ()
 
Inherited functionalities from vpUnicycle
vpHomogeneousMatrix get_cMe () const
 
vpVelocityTwistMatrix get_cVe () const
 
void get_cVe (vpVelocityTwistMatrix &cVe) const
 
vpMatrix get_eJe () const
 
void set_cMe (const vpHomogeneousMatrix &cMe)
 
void set_eJe (const vpMatrix &eJe)
 

Protected Attributes

vpHomogeneousMatrix cMe_
 
vpMatrix eJe_
 

Detailed Description

Generic functions for unicycle mobile robots.

This class provides common features for unicycle mobile robots.

Definition at line 56 of file vpUnicycle.h.

Constructor & Destructor Documentation

vpUnicycle::vpUnicycle ( )
inline

Default constructor that does nothing.

Definition at line 62 of file vpUnicycle.h.

virtual vpUnicycle::~vpUnicycle ( )
inlinevirtual

Destructor that does nothing.

Definition at line 68 of file vpUnicycle.h.

Member Function Documentation

vpHomogeneousMatrix vpUnicycle::get_cMe ( ) const
inline

Return the tranformation ${^c}{\bf M}_e$ between the camera frame and the mobile robot end effector frame.

Definition at line 76 of file vpUnicycle.h.

vpVelocityTwistMatrix vpUnicycle::get_cVe ( ) const
inline

Return the twist transformation from camera frame to the mobile robot end effector frame. This transformation allows to compute a velocity expressed in the end effector frame into the camera frame.

Examples:
servoPioneerPanSegment3D.cpp, servoPioneerPoint2DDepth.cpp, servoPioneerPoint2DDepthWithoutVpServo.cpp, tutorial-simu-pioneer-continuous-gain-adaptive.cpp, tutorial-simu-pioneer-continuous-gain-constant.cpp, tutorial-simu-pioneer-pan.cpp, and tutorial-simu-pioneer.cpp.

Definition at line 87 of file vpUnicycle.h.

References vpVelocityTwistMatrix::buildFrom().

Referenced by get_cVe().

void vpUnicycle::get_cVe ( vpVelocityTwistMatrix cVe) const
inline

Return the twist transformation from camera frame to the mobile robot end effector frame. This transformation allows to compute a velocity expressed in the end effector frame into the camera frame.

See Also
get_cVe()

Definition at line 102 of file vpUnicycle.h.

References get_cVe().

vpMatrix vpUnicycle::get_eJe ( ) const
inline

Return the robot jacobian ${^e}{\bf J}_e$ expressed in the end effector frame.

Returns
The robot jacobian such as ${\bf v} = {^e}{\bf J}_e \; \dot{\bf q}$ with $\dot{\bf q} = (v_x, w_z)$ the robot control velocities and $\bf v$ the six dimention velocity skew.
Examples:
servoPioneerPanSegment3D.cpp.

Definition at line 113 of file vpUnicycle.h.

Referenced by vpRobotPioneer::get_eJe(), vpSimulatorPioneer::get_eJe(), and vpSimulatorPioneerPan::get_eJe().

void vpUnicycle::set_cMe ( const vpHomogeneousMatrix cMe)
inline

Set the transformation between the camera frame and the end effector frame.

Definition at line 121 of file vpUnicycle.h.

Referenced by vpPioneer::vpPioneer(), and vpPioneerPan::vpPioneerPan().

void vpUnicycle::set_eJe ( const vpMatrix eJe)
inline

Set the robot jacobian ${^e}{\bf J}_e$ expressed in the end effector frame.

Parameters
eJe: The robot jacobian to set such as ${\bf v} = {^e}{\bf J}_e \; \dot{\bf q}$ with $\dot{\bf q} = (v_x, w_z)$ the robot control velocities and $\bf v$ the six dimention velocity skew.

Definition at line 132 of file vpUnicycle.h.

Referenced by vpPioneer::vpPioneer(), and vpPioneerPan::vpPioneerPan().

Member Data Documentation

vpHomogeneousMatrix vpUnicycle::cMe_
protected
vpMatrix vpUnicycle::eJe_
protected

Definition at line 140 of file vpUnicycle.h.