AUV-Coop-Assembly
Master Thesis for Robotics Engineering. Cooperative peg-in-hole assembly with two underwater vehicles guided by vision
lastTask.cpp
1 #include "header/lastTask.h"
2 
3 LastTask::LastTask(int dim, bool eqType, std::string robotName)
4  : Task(dim, eqType, robotName, "LAST_TASK"){
5  gain = 1;
6 
7  J = CMAT::Matrix::Eye(dimension); //note jacobian is square
8  A = CMAT::Matrix::Eye(dimension);
9  reference = CMAT::Matrix::Zeros(dimension,1);
10 
11 }
12 
13 //to not use, implemented only to make this class non virtual (father is virtual)
14 int LastTask::updateMatrices(struct Infos* const robInfo){
15 
16  return 0;
17 }
Definition: infos.h:117
ABSTRACT class task. Each task is a derived class of this class. It contains all the variable that th...
Definition: task.h:17