15 std::ostream& log_str) {
19 goal_cfg = (*goal)->configuration();
20 const State new_goal( (*goal)->date(),
21 robot_cfg.projection(goal_cfg),
22 (*goal)->translationVelocity(),
23 (*goal)->rotationVelocity() );
void searchGoal(const double &forwardTime=0)
Moves the goal forward until it gets after the robot's date plus a given amount of time...
State state
The current state of the robot.
virtual void chooseVelocities(double &trans_vel, double &rot_vel, std::ostream &log_str)
Computes new velocities for ROS node.
const double time_step
The time step of the controller.
PIDreachCtrl reachCtrl
The local PID reaching controller.
const iSeeML::rob::OrPtConfig & configuration() const
Gives the configuration of the state.
virtual void changeGoal(const State &goal)
Change the oriented point which is aimed.
Path following controller class, using a PID.
This class defines a state, i.e. a configuration and its (translation and rotation) velocities...
void chooseVelocities(double &trans_vel, double &rot_vel, std::ostream &)
Computes new velocities for ROS node.