visual-tracking-control
VisualServoingIDL.h
Go to the documentation of this file.
1 // This is an automatically-generated file.
2 // It could get re-generated if the ALLOW_IDL_GENERATION flag is on.
3 
4 #ifndef YARP_THRIFT_GENERATOR_VisualServoingIDL
5 #define YARP_THRIFT_GENERATOR_VisualServoingIDL
6 
7 #include <yarp/os/Wire.h>
8 #include <yarp/os/idl/WireTypes.h>
9 
10 class VisualServoingIDL;
11 
12 
17 class VisualServoingIDL : public yarp::os::Wire {
18 public:
34  virtual bool init_facilities(const bool use_direct_kin);
44  virtual bool reset_facilities();
55  virtual bool stop_facilities();
68  virtual bool go_to_px_goal(const std::vector<std::vector<double> > & vec_px_l, const std::vector<std::vector<double> > & vec_px_r);
80  virtual bool go_to_pose_goal(const std::vector<double> & vec_x, const std::vector<double> & vec_o);
90  virtual bool set_modality(const std::string& mode);
108  virtual bool set_visual_servo_control(const std::string& control);
117  virtual bool set_control_point(const std::string& point);
122  virtual std::vector<std::string> get_visual_servoing_info();
129  virtual bool set_go_to_goal_tolerance(const double tol);
136  virtual bool check_visual_servoing_controller();
149  virtual bool wait_visual_servoing_done(const double period, const double timeout);
155  virtual bool stop_controller();
165  virtual bool set_translation_gain(const double K_x_1, const double K_x_2);
174  virtual bool set_max_translation_velocity(const double max_x_dot);
181  virtual bool set_translation_gain_switch_tolerance(const double K_x_tol);
191  virtual bool set_orientation_gain(const double K_o_1, const double K_o_2);
199  virtual bool set_max_orientation_velocity(const double max_o_dot);
206  virtual bool set_orientation_gain_switch_tolerance(const double K_o_tol);
219  virtual std::vector<std::vector<double> > get_3D_goal_positions_from_3D_pose(const std::vector<double> & x, const std::vector<double> & o);
233  virtual std::vector<std::vector<double> > get_goal_pixels_from_3D_pose(const std::vector<double> & x, const std::vector<double> & o, const std::string& cam);
237  virtual bool quit();
247  virtual bool stored_init(const std::string& label);
257  virtual bool stored_go_to_goal(const std::string& label);
264  virtual bool get_goal_from_sfm();
265  virtual bool read(yarp::os::ConnectionReader& connection) override;
266  virtual std::vector<std::string> help(const std::string& functionName="--all");
267 };
268 
269 #endif
virtual bool reset_facilities()
Reset support modules and connections to perform the current initialized visual servoing task...
virtual bool init_facilities(const bool use_direct_kin)
Initialize support modules and connections to perform a visual servoing task.
virtual bool read(yarp::os::ConnectionReader &connection) override
virtual bool set_visual_servo_control(const std::string &control)
Set visual servo control law between:
virtual bool get_goal_from_sfm()
Get goal point from SFM module.
virtual bool wait_visual_servoing_done(const double period, const double timeout)
Wait until visual servoing reaches the goal.
virtual bool stop_facilities()
Stop and disconnect support modules and connections used for visual servoing.
virtual bool set_go_to_goal_tolerance(const double tol)
Set visual servoing goal tolerance.
virtual bool go_to_px_goal(const std::vector< std::vector< double > > &vec_px_l, const std::vector< std::vector< double > > &vec_px_r)
Set the goal points on both left and right camera image plane and start visual servoing.
virtual bool go_to_pose_goal(const std::vector< double > &vec_x, const std::vector< double > &vec_o)
Set the goal point (3D for the position + 4D axis-angle for the orientation) and start visual servoin...
virtual bool check_visual_servoing_controller()
Check once whether the visual servoing controller is running or not.
virtual bool set_translation_gain_switch_tolerance(const double K_x_tol)
Set the tolerance, in pixels, at which the translation control law swithces its gain value...
virtual std::vector< std::vector< double > > get_goal_pixels_from_3D_pose(const std::vector< double > &x, const std::vector< double > &o, const std::string &cam)
Helper function: extract four 2D pixel points lying on the plane defined by the frame o in the positi...
VisualServoingIDL IDL Interface to ServerVisualServoing functionalities.
virtual bool set_translation_gain(const double K_x_1, const double K_x_2)
Set the translation gains of the visual servoing control algorithm.
virtual bool stored_go_to_goal(const std::string &label)
Set the robot visual servoing goal.
virtual bool set_control_point(const std::string &point)
Set the point controlled during visual servoing.
virtual bool set_orientation_gain_switch_tolerance(const double K_o_tol)
Set the tolerance, in pixels, at which the orientation control law swithces its gain value...
virtual bool stop_controller()
Ask for an immediate stop of the visual servoing controller.
virtual bool quit()
Gently close the visual servoing device, deallocating resources.
virtual bool set_max_translation_velocity(const double max_x_dot)
Set the maximum translation velocity of the visual servoing control algorithm (same for each axis)...
virtual bool set_orientation_gain(const double K_o_1, const double K_o_2)
Set the orientation gains of the visual servoing control algorithm.
virtual bool set_max_orientation_velocity(const double max_o_dot)
Set the maximum angular velocity of the axis-angle velocity vector of the visual servoing control alg...
virtual bool stored_init(const std::string &label)
Initialize the robot to an initial position.
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual bool set_modality(const std::string &mode)
Set visual servoing operating mode between:
virtual std::vector< std::string > get_visual_servoing_info()
Return useful information for visual servoing.
virtual std::vector< std::vector< double > > get_3D_goal_positions_from_3D_pose(const std::vector< double > &x, const std::vector< double > &o)
Helper function: extract four Cartesian points lying on the plane defined by the frame o in the posit...