AUV-Coop-Assembly
Master Thesis for Robotics Engineering. Cooperative peg-in-hole assembly with two underwater vehicles guided by vision
pipeReachTask.h
1 #ifndef PIPEREACHTASK_H
2 #define PIPEREACHTASK_H
3 
4 #include "../../support/header/conversions.h"
5 #include "../../support/header/formulas.h"
6 #include "task.h"
7 
19 enum VehArmType {ONLYVEH, ONLYARM, BOTH};
20 enum AngLinType {LIN, ANG, LINANGBOTH};
21 
22 class PipeReachTask : public Task {
23 
24 public:
25  PipeReachTask(int dim, bool eqType, std::string robotName, VehArmType vehArmType, AngLinType angLinType = LINANGBOTH);
26  int updateMatrices(struct Infos* const robInfo);
27 
28 private:
29  int setActivation();
30  void setReference(Eigen::Matrix4d wTgoaltool_eigen, Eigen::Matrix4d wTtool_eigen);
31  void setJacobian(Eigen::Matrix<double, 6, TOT_DOF> w_J_robot);
32 
33  double gainLin;
34  double gainAng;
35 
36  VehArmType vehArmType;
37  AngLinType angLinType;
38 };
39 #endif // PIPEREACHTASK_H
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