imitate.hpp
Go to the documentation of this file.
1 
10 #ifndef QTCTRL_IMITATE_CTRL
11 #define QTCTRL_IMITATE_CTRL
12 
13 #include <ctrl/track.hpp>
14 
23 class ImitateCtrl : public TrackingCtrl {
24 public:
38  ImitateCtrl(const MotionModel& model, const double& ts,
39  const char* input_file_name,
40  const iSeeML::rob::OrPtConfig& init_config)
41  : TrackingCtrl(model, ts, input_file_name, init_config) {}
42 
44  virtual ~ImitateCtrl() {}
45 
46  // Cf Controller::choose_velocities(double&, double&, ...)
47  virtual void chooseVelocities(double& trans_vel, double& rot_vel,
48  std::ostream& log_str);
49 
50 }; // end of class ImitateCtrl
51 
52 #endif // QTCTRL_IMITATE_CTRL
ImitateCtrl(const MotionModel &model, const double &ts, const char *input_file_name, const iSeeML::rob::OrPtConfig &init_config)
The constructor needs a motion model, a file name giving the path to track and an initial configurati...
Definition: imitate.hpp:38
TrackingCtrl aims at following a trajectory with the robot.
Definition: track.hpp:23
Path following controller abstract class.
This class defines a motion model, with the motion limits.
Definition: motion.hpp:28
ImitateCtrl copies the trajectory&#39;s velocities.
Definition: imitate.hpp:23
virtual void chooseVelocities(double &trans_vel, double &rot_vel, std::ostream &log_str)
Computes new velocities for ROS node.
Definition: imitate.cpp:14
virtual ~ImitateCtrl()
The destructor needs to be explicitely redefined.
Definition: imitate.hpp:44


qt_ctrl
Author(s): Alexis Scheuer
autogenerated on Wed Dec 16 2020 15:51:32