AUV-Coop-Assembly
Master Thesis for Robotics Engineering. Cooperative peg-in-hole assembly with two underwater vehicles guided by vision
manipulabilityTask.cpp
1 #include "header/manipulabilityTask.h"
2 
3 ManipulabilityTask::ManipulabilityTask(int dim, bool eqType, std::string robotName)
4  : Task(dim, eqType, robotName, "MANIPULABILITY"){
5  gain = 0.2;
6 
7  mu = 0.0;
8 }
9 
10 
11 int ManipulabilityTask::updateMatrices(struct Infos* const robInfo){
12 
13  setActivation();
14  setJacobian();
15  setReference();
16  return 0;
17 
18 }
19 
20 int ManipulabilityTask::setJacobian(){
21  //CASINO mi serve la derivata della jacobiana
22 }
23 
24 
28 void ManipulabilityTask::setReference(){
29  reference = gain * (0.12 - mu)
30 
31 }
32 
37 void ManipulabilityTask::setActivation(){
38  A = CMAT::DecreasingBellShapedFunction(0.02, 0.05, 0, 1, mu);
39 }
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