AUV-Coop-Assembly
Master Thesis for Robotics Engineering. Cooperative peg-in-hole assembly with two underwater vehicles guided by vision
Public Member Functions | List of all members
VehicleReachTask Class Reference

Task to make the vehicle reach a goal (both linear and angular position) More...

#include <vehicleReachTask.h>

Inheritance diagram for VehicleReachTask:
Task

Public Member Functions

 VehicleReachTask (int dimension, bool eqType, std::string robotName, LinAngType linAngType)
 VehicleReachTask::VehicleReachTask Constructor of specific task simply calls the parent constructor through inizializer list. More...
 
int updateMatrices (struct Infos *const robInfo)
 VehicleReachTask::updateMatrices overriden of the pure virtual method of Task parent class. More...
 
- Public Member Functions inherited from Task
std::string getName ()
 
CMAT::Matrix getJacobian ()
 
CMAT::Matrix getActivation ()
 
CMAT::Matrix getReference ()
 
CMAT::Matrix getError ()
 
int & getFlag_W ()
 Task::getFlag_W Various getter methods. More...
 
double & getMu_W ()
 Task::getMu_W Various getter methods. More...
 
int & getFlag_G ()
 Task::getFlag_G Various getter methods. More...
 
double & getMu_G ()
 Task::getMu_G Various getter methods. More...
 
void setFlag_W (int)
 
void setMu_W (double)
 
void setFlag_G (int)
 
void setMu_G (double)
 
int getThreshold ()
 
int getLambda ()
 
int getDof ()
 
int getDimension ()
 

Additional Inherited Members

- Public Attributes inherited from Task
bool updated
 
bool eqType
 
double gain
 
- Protected Member Functions inherited from Task
 Task (int dimension, bool eqType, std::string robotName, std::string taskName)
 Task::Task Constructor called by sons Constructor. without argument dof, default dof from define.h file is used. More...
 
- Protected Attributes inherited from Task
int dimension
 
int dof
 
std::string taskName
 
std::string robotName
 
CMAT::Matrix J
 
CMAT::Matrix A
 
CMAT::Matrix reference
 
CMAT::Matrix error
 
int flag_W
 
double mu_W
 
int flag_G
 
double mu_G
 
int threshold
 
int lambda
 

Detailed Description

Task to make the vehicle reach a goal (both linear and angular position)

Definition at line 11 of file vehicleReachTask.h.

Constructor & Destructor Documentation

VehicleReachTask::VehicleReachTask ( int  dim,
bool  eqType,
std::string  robotName,
LinAngType  linAngType 
)

VehicleReachTask::VehicleReachTask Constructor of specific task simply calls the parent constructor through inizializer list.

Parameters
dimensiondimension of the task (e.g. 1 for scalar task)
eqTypetrue or false for equality or inequality task
activeLogbool to set logger prints

Definition at line 10 of file vehicleReachTask.cpp.

Member Function Documentation

int VehicleReachTask::updateMatrices ( struct Infos *const  robInfo)
virtual

VehicleReachTask::updateMatrices overriden of the pure virtual method of Task parent class.

Parameters
robInfostruct filled with all infos needed by the task to compute the matrices
Returns
0 for correct execution

Implements Task.

Definition at line 21 of file vehicleReachTask.cpp.


The documentation for this class was generated from the following files: