15 std::ostream& log_str) {
17 const iSeeML::rob::OrPtConfig& goal_config
19 const iSeeML::geom::Vector v
20 = goal_config.position() - config.position();
22 goal_vel = (*goal)->translationVelocity(),
State state
The current state of the robot.
const double time_step
The time step of the controller.
const iSeeML::rob::OrPtConfig & configuration() const
Gives the configuration of the state.
double moving_velocity
Translation velocity desired for the robot.
void updateVelocities(double &trans_vel, double &rot_vel)
Update the velocities from the fields and send the update signal.
const MotionModel & motion_model
The model of the motion.
void applyAccelerations(double &trans_vel, double &rot_vel, const double &trans_acc, const double &rot_acc, const double &time_step) const
Modify translation and rotation given velocities, applying the given accelerations during the given t...
const double & translationVelocity() const
Gives the translation velocity of the state.
double turning_velocity
Rotation velocity desired for the robot.
Path following controller class, with an analytic approach.
double limAcc(const double &lim_dist, const double &dist, const double &vel, const double &ldr_vel, const double &time_step) const
Descriptive method, giving the limit acceleration which ensure to avoid reaching limit distance for a...
virtual void chooseVelocities(double &trans_vel, double &rot_vel, std::ostream &log_str)
Computes new velocities for ROS node.