4 #ifndef YARP_THRIFT_GENERATOR_VisualServoingIDL 5 #define YARP_THRIFT_GENERATOR_VisualServoingIDL 7 #include <yarp/os/Wire.h> 8 #include <yarp/os/idl/WireTypes.h> 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);
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);
247 virtual bool stored_init(
const std::string& label);
265 virtual bool read(yarp::os::ConnectionReader& connection)
override;
266 virtual std::vector<std::string>
help(
const std::string& functionName=
"--all");
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...