Visual Servoing Platform  version 3.6.1 under development (2024-12-06)

#include <visp3/robot/vpUnicycle.h>

+ Inheritance diagram for vpUnicycle:

Public Member Functions

 vpUnicycle ()
 

Inherited functionalities from vpUnicycle

vpHomogeneousMatrix cMe_
 
vpMatrix eJe_
 
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)
 

Detailed Description

Generic functions for unicycle mobile robots.

This class provides common features for unicycle mobile robots.

Examples
mbot-apriltag-2D-half-vs.cpp, mbot-apriltag-ibvs.cpp, and mbot-apriltag-pbvs.cpp.

Definition at line 51 of file vpUnicycle.h.

Constructor & Destructor Documentation

◆ vpUnicycle()

vpUnicycle::vpUnicycle ( )
inline

Default constructor that does nothing.

Definition at line 57 of file vpUnicycle.h.

Member Function Documentation

◆ get_cMe()

vpHomogeneousMatrix vpUnicycle::get_cMe ( ) const
inline

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

Examples
servoAfma6Points2DCamVelocityEyeToHand.cpp, testRobotViper650-frames.cpp, and testRobotViper850-frames.cpp.

Definition at line 65 of file vpUnicycle.h.

◆ get_cVe() [1/2]

◆ get_cVe() [2/2]

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 86 of file vpUnicycle.h.

References get_cVe().

Referenced by get_cVe().

◆ get_eJe()

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 dimension velocity skew.
Examples
servoPioneerPanSegment3D.cpp.

Definition at line 96 of file vpUnicycle.h.

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

◆ set_cMe()

void vpUnicycle::set_cMe ( const vpHomogeneousMatrix cMe)
inline

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

Definition at line 102 of file vpUnicycle.h.

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

◆ set_eJe()

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 dimension velocity skew.

Definition at line 112 of file vpUnicycle.h.

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

Member Data Documentation

◆ cMe_

vpHomogeneousMatrix vpUnicycle::cMe_
protected

◆ eJe_

vpMatrix vpUnicycle::eJe_
protected

Definition at line 117 of file vpUnicycle.h.