10 #ifndef QTCTRL_PID_REACH_CTRL 11 #define QTCTRL_PID_REACH_CTRL 14 #include <iSeeML/rob/OrPtConfig.hpp> 46 const State& goal_aimed,
const double coef[6])
48 trans_prop_coef(coef[0]), trans_integ_coef(coef[1]),
49 trans_deriv_coef(coef[2]), rot_prop_coef(coef[3]),
50 rot_integ_coef(coef[4]), rot_deriv_coef(coef[5]),
51 integr_dist(0), integr_angle_diff(0) {}
62 #endif // QTCTRL_PID_REACH_CTRL double integr_dist
Integrated distance.
PIDreachCtrl(const MotionModel &model, const double &ts, const State &goal_aimed, const double coef[6])
The constructor needs a motion model, the time step of the controller, a goal state and the PID coeff...
double trans_deriv_coef
Translation derivative coefficient.
double rot_integ_coef
Rotation integration coefficient.
ReachingCtrl aims at reaching a given state with the robot.
double rot_prop_coef
Rotation proportional coefficient.
double trans_integ_coef
Translation integration coefficient.
This class defines a state, i.e. a configuration and its (translation and rotation) velocities...
double rot_deriv_coef
Rotation derivative coefficient.
Oriented point reaching controller abstract class.
This class defines a motion model, with the motion limits.
void chooseVelocities(double &trans_vel, double &rot_vel, std::ostream &)
Computes new velocities for ROS node.
PIDreachCtrl aims at reaching an oriented point with the robot, using a PID controller.
double trans_prop_coef
Translation proportional coefficient.
virtual ~PIDreachCtrl()
The destructor needs to be explicitely redefined.
double integr_angle_diff
Integrated angle difference.