AUV-Coop-Assembly
Master Thesis for Robotics Engineering. Cooperative peg-in-hole assembly with two underwater vehicles guided by vision
vehicleReachTask.h
1 #ifndef VEHICLEREACHTASK_H
2 #define VEHICLEREACHTASK_H
3 
4 #include "task.h" // task.h will include other header (like cmat and eigen)
5 #include "../../support/header/conversions.h"
6 
7 enum LinAngType {LINEAR, ANGULAR, LIN_ANG, YAXIS};
8 
11 class VehicleReachTask : public Task {
12 
13 public:
14  VehicleReachTask(int dimension, bool eqType, std::string robotName, LinAngType linAngType);
15 
16  int updateMatrices(struct Infos* const robInfo);
17 
18 private:
19  LinAngType linAngType;
20 
21  int setActivation();
22  int setJacobian(Eigen::Matrix4d wTv_eigen);
23  int setReference(
24  Eigen::Matrix4d wTv_eigen, Eigen::Matrix4d wTg_eigen);
25 
26 };
27 
28 #endif // VEHICLEREACHTASK_H
int updateMatrices(struct Infos *const robInfo)
VehicleReachTask::updateMatrices overriden of the pure virtual method of Task parent class...
VehicleReachTask(int dimension, bool eqType, std::string robotName, LinAngType linAngType)
VehicleReachTask::VehicleReachTask Constructor of specific task simply calls the parent constructor t...
Task to make the vehicle reach a goal (both linear and angular position)
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