YARP
Yet Another Robot Platform
GazeControl.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_DEV_GAZECONTROL_H
11 #define YARP_DEV_GAZECONTROL_H
12 
13 #include <string>
14 
15 #include <yarp/os/Bottle.h>
16 #include <yarp/os/Stamp.h>
17 #include <yarp/dev/api.h>
18 #include <yarp/sig/Vector.h>
19 
24 namespace yarp {
25  namespace dev {
26  struct GazeEventParameters;
27  struct GazeEventVariables;
28  class GazeEvent;
29  class IGazeControl;
30  }
31 }
32 
33 
40 {
59  std::string type;
60 
67 };
68 
69 
76 {
81  std::string type;
82 
87  double time;
88 
94 };
95 
96 
103 {
104 public:
108  virtual ~GazeEvent() {}
109 
115 
121 
125  virtual void gazeEventCallback() = 0;
126 };
127 
128 
138 {
139 public:
143  virtual ~IGazeControl();
144 
157  virtual bool setTrackingMode(const bool f) = 0;
158 
165  virtual bool getTrackingMode(bool *f) = 0;
166 
175  virtual bool setStabilizationMode(const bool f) = 0;
176 
183  virtual bool getStabilizationMode(bool *f) = 0;
184 
193  virtual bool getFixationPoint(yarp::sig::Vector &fp, yarp::os::Stamp *stamp = NULL) = 0;
194 
210  virtual bool getAngles(yarp::sig::Vector &ang, yarp::os::Stamp *stamp = NULL) = 0;
211 
219  virtual bool lookAtFixationPoint(const yarp::sig::Vector &fp) = 0;
220 
233  virtual bool lookAtAbsAngles(const yarp::sig::Vector &ang) = 0;
234 
248  virtual bool lookAtRelAngles(const yarp::sig::Vector &ang) = 0;
249 
265  virtual bool lookAtMonoPixel(const int camSel,
266  const yarp::sig::Vector &px,
267  const double z = 1.0) = 0;
268 
279  virtual bool lookAtMonoPixelWithVergence(const int camSel,
280  const yarp::sig::Vector &px,
281  const double ver) = 0;
282 
299  virtual bool lookAtStereoPixels(const yarp::sig::Vector &pxl,
300  const yarp::sig::Vector &pxr) = 0;
301 
309  virtual bool lookAtFixationPointSync(const yarp::sig::Vector &fp) = 0;
310 
323  virtual bool lookAtAbsAnglesSync(const yarp::sig::Vector &ang) = 0;
324 
338  virtual bool lookAtRelAnglesSync(const yarp::sig::Vector &ang) = 0;
339 
355  virtual bool lookAtMonoPixelSync(const int camSel,
356  const yarp::sig::Vector &px,
357  const double z = 1.0) = 0;
358 
369  virtual bool lookAtMonoPixelWithVergenceSync(const int camSel,
370  const yarp::sig::Vector &px,
371  const double ver) = 0;
372 
389  virtual bool lookAtStereoPixelsSync(const yarp::sig::Vector &pxl,
390  const yarp::sig::Vector &pxr) = 0;
391 
398  virtual bool getNeckTrajTime(double *t) = 0;
399 
406  virtual bool getEyesTrajTime(double *t) = 0;
407 
414  virtual bool getVORGain(double *gain) = 0;
415 
422  virtual bool getOCRGain(double *gain) = 0;
423 
430  virtual bool getSaccadesMode(bool *f) = 0;
431 
438  virtual bool getSaccadesInhibitionPeriod(double *period) = 0;
439 
446  virtual bool getSaccadesActivationAngle(double *angle) = 0;
447 
460  yarp::os::Stamp *stamp = NULL) = 0;
461 
474  yarp::os::Stamp *stamp = NULL) = 0;
475 
494  yarp::os::Stamp *stamp = NULL) = 0;
495 
507  virtual bool get2DPixel(const int camSel,
508  const yarp::sig::Vector &x,
509  yarp::sig::Vector &px) = 0;
510 
524  virtual bool get3DPoint(const int camSel,
525  const yarp::sig::Vector &px,
526  const double z,
527  yarp::sig::Vector &x) = 0;
528 
545  virtual bool get3DPointOnPlane(const int camSel,
546  const yarp::sig::Vector &px,
547  const yarp::sig::Vector &plane,
548  yarp::sig::Vector &x) = 0;
549 
561  virtual bool get3DPointFromAngles(const int mode,
562  const yarp::sig::Vector &ang,
563  yarp::sig::Vector &x) = 0;
564 
577  yarp::sig::Vector &ang) = 0;
578 
594  virtual bool triangulate3DPoint(const yarp::sig::Vector &pxl,
595  const yarp::sig::Vector &pxr,
596  yarp::sig::Vector &x) = 0;
597 
605  virtual bool getJointsDesired(yarp::sig::Vector &qdes) = 0;
606 
614  virtual bool getJointsVelocities(yarp::sig::Vector &qdot) = 0;
615 
628  virtual bool getStereoOptions(yarp::os::Bottle &options) = 0;
629 
639  virtual bool setNeckTrajTime(const double t) = 0;
640 
647  virtual bool setEyesTrajTime(const double t) = 0;
648 
657  virtual bool setVORGain(const double gain) = 0;
658 
667  virtual bool setOCRGain(const double gain) = 0;
668 
678  virtual bool setSaccadesMode(const bool f) = 0;
679 
686  virtual bool setSaccadesInhibitionPeriod(const double period) = 0;
687 
694  virtual bool setSaccadesActivationAngle(const double angle) = 0;
695 
713  virtual bool setStereoOptions(const yarp::os::Bottle &options) = 0;
714 
722  virtual bool bindNeckPitch(const double min, const double max) = 0;
723 
733  virtual bool blockNeckPitch(const double val) = 0;
734 
742  virtual bool blockNeckPitch() = 0;
743 
751  virtual bool bindNeckRoll(const double min, const double max) = 0;
752 
762  virtual bool blockNeckRoll(const double val) = 0;
763 
771  virtual bool blockNeckRoll() = 0;
772 
780  virtual bool bindNeckYaw(const double min, const double max) = 0;
781 
791  virtual bool blockNeckYaw(const double val) = 0;
792 
800  virtual bool blockNeckYaw() = 0;
801 
809  virtual bool blockEyes(const double ver) = 0;
810 
816  virtual bool blockEyes() = 0;
817 
826  virtual bool getNeckPitchRange(double *min, double *max) = 0;
827 
836  virtual bool getNeckRollRange(double *min, double *max) = 0;
837 
846  virtual bool getNeckYawRange(double *min, double *max) = 0;
847 
857  virtual bool getBlockedVergence(double *ver) = 0;
858 
863  virtual bool clearNeckPitch() = 0;
864 
869  virtual bool clearNeckRoll() = 0;
870 
875  virtual bool clearNeckYaw() = 0;
876 
881  virtual bool clearEyes() = 0;
882 
895  virtual bool getNeckAngleUserTolerance(double *angle) = 0;
896 
903  virtual bool setNeckAngleUserTolerance(const double angle) = 0;
904 
911  virtual bool checkMotionDone(bool *f) = 0;
912 
923  virtual bool waitMotionDone(const double period=0.1, const double timeout=0.0) = 0;
924 
930  virtual bool checkSaccadeDone(bool *f) = 0;
931 
942  virtual bool waitSaccadeDone(const double period=0.1, const double timeout=0.0) = 0;
943 
948  virtual bool stopControl() = 0;
949 
959  virtual bool storeContext(int *id) = 0;
960 
971  virtual bool restoreContext(const int id) = 0;
972 
978  virtual bool deleteContext(const int id) = 0;
979 
986  virtual bool getInfo(yarp::os::Bottle &info) = 0;
987 
996  virtual bool registerEvent(yarp::dev::GazeEvent &event) = 0;
997 
1003  virtual bool unregisterEvent(yarp::dev::GazeEvent &event) = 0;
1004 
1014  virtual bool tweakSet(const yarp::os::Bottle &options) = 0;
1015 
1026  virtual bool tweakGet(yarp::os::Bottle &options) = 0;
1027 };
1028 
1029 #endif // YARP_DEV_GAZECONTROL_H
yarp::dev::IGazeControl::setSaccadesActivationAngle
virtual bool setSaccadesActivationAngle(const double angle)=0
Set the activation angle for saccadic movements.
yarp::dev::IGazeControl::bindNeckYaw
virtual bool bindNeckYaw(const double min, const double max)=0
Bind the neck yaw within a specified range.
yarp::dev::IGazeControl::getFixationPoint
virtual bool getFixationPoint(yarp::sig::Vector &fp, yarp::os::Stamp *stamp=NULL)=0
Get the current fixation point.
yarp::os::Bottle
A simple collection of objects that can be described and transmitted in a portable way.
Definition: Bottle.h:73
yarp::dev::IGazeControl::setStabilizationMode
virtual bool setStabilizationMode(const bool f)=0
Turn on/off the gaze stabilization.
yarp::dev::IGazeControl::get3DPoint
virtual bool get3DPoint(const int camSel, const yarp::sig::Vector &px, const double z, yarp::sig::Vector &x)=0
Get the 3-d point whose pixel projection and z-component in the camera frame are given.
yarp::dev::IGazeControl::stopControl
virtual bool stopControl()=0
Ask for an immediate stop of the motion.
yarp::dev::IGazeControl::get3DPointFromAngles
virtual bool get3DPointFromAngles(const int mode, const yarp::sig::Vector &ang, yarp::sig::Vector &x)=0
Get the 3-d coordinates corresponding to the angular positions.
yarp::dev::IGazeControl::setEyesTrajTime
virtual bool setEyesTrajTime(const double t)=0
Set the duration of the trajectory for the eyes actuators.
yarp::dev::IGazeControl::lookAtStereoPixelsSync
virtual bool lookAtStereoPixelsSync(const yarp::sig::Vector &pxl, const yarp::sig::Vector &pxr)=0
Move the gaze to a location specified by two pixels representing the same 3-d point as seen from with...
Vector.h
contains the definition of a Vector type
t
float t
Definition: FfmpegWriter.cpp:74
yarp::dev::IGazeControl::blockEyes
virtual bool blockEyes()=0
Block the eyes to look always straight ahead (the tilt can vary) with the current vergence angle.
yarp::dev::IGazeControl::lookAtFixationPointSync
virtual bool lookAtFixationPointSync(const yarp::sig::Vector &fp)=0
Move the gaze to a specified fixation point in cartesian space.
yarp::dev::GazeEventParameters::motionOngoingCheckPoint
double motionOngoingCheckPoint
The user specifies the motion check-point that raises a "motion-ongoing" event through this parameter...
Definition: GazeControl.h:66
yarp::dev::IGazeControl::getNeckAngleUserTolerance
virtual bool getNeckAngleUserTolerance(double *angle)=0
Return the current tolerance defined by the user to gaze at the target with the neck,...
yarp::dev::IGazeControl::get2DPixel
virtual bool get2DPixel(const int camSel, const yarp::sig::Vector &x, yarp::sig::Vector &px)=0
Get the 2-d pixel point - whose cartesian coordinates are given wrt the root reference frame - that r...
yarp::dev::IGazeControl::blockNeckRoll
virtual bool blockNeckRoll(const double val)=0
Block the neck roll at a specified angle.
yarp::dev::IGazeControl
Interface for a gaze controller.
Definition: GazeControl.h:138
yarp::dev::IGazeControl::lookAtMonoPixelWithVergenceSync
virtual bool lookAtMonoPixelWithVergenceSync(const int camSel, const yarp::sig::Vector &px, const double ver)=0
Move the gaze to a location specified by a pixel within the image plane using the vergence.
yarp::dev::IGazeControl::restoreContext
virtual bool restoreContext(const int id)=0
Restore the controller context previously stored.
yarp::dev::IGazeControl::clearNeckYaw
virtual bool clearNeckYaw()=0
Unblock the neck yaw.
yarp::dev::IGazeControl::setStereoOptions
virtual bool setStereoOptions(const yarp::os::Bottle &options)=0
Update the options used by the stereo approach.
yarp::dev::GazeEventVariables::type
std::string type
The signature of the received event as filled by the event handler.
Definition: GazeControl.h:81
yarp::dev::IGazeControl::lookAtMonoPixelWithVergence
virtual bool lookAtMonoPixelWithVergence(const int camSel, const yarp::sig::Vector &px, const double ver)=0
Move the gaze to a location specified by a pixel within the image plane using the vergence.
yarp::dev::IGazeControl::clearNeckRoll
virtual bool clearNeckRoll()=0
Unblock the neck roll.
yarp::dev::IGazeControl::getSaccadesMode
virtual bool getSaccadesMode(bool *f)=0
Query whether the very fast eyes movements (saccades) will be employed or not.
yarp::dev::IGazeControl::blockEyes
virtual bool blockEyes(const double ver)=0
Block the eyes to look always straight ahead (the tilt can vary) with a specified vergence angle.
yarp::dev::IGazeControl::setNeckTrajTime
virtual bool setNeckTrajTime(const double t)=0
Set the duration of the trajectory for the neck actuators.
yarp::sig::VectorOf< double >
yarp::dev::IGazeControl::tweakGet
virtual bool tweakGet(yarp::os::Bottle &options)=0
Return low-level controller's parameters.
yarp::dev::IGazeControl::getOCRGain
virtual bool getOCRGain(double *gain)=0
Get the current gain used to weigh the oculo-collic reflex (OCR).
yarp::dev::IGazeControl::lookAtAbsAnglesSync
virtual bool lookAtAbsAnglesSync(const yarp::sig::Vector &ang)=0
Move the gaze to a specified gazing angles configuration given in the absolute reference frame.
yarp::dev::IGazeControl::lookAtMonoPixelSync
virtual bool lookAtMonoPixelSync(const int camSel, const yarp::sig::Vector &px, const double z=1.0)=0
Move the gaze to a location specified by a pixel within the image plane.
yarp::dev::IGazeControl::storeContext
virtual bool storeContext(int *id)=0
Store the controller context.
yarp::dev::GazeEventParameters
Structure for configuring a gaze event.
Definition: GazeControl.h:40
yarp::dev::GazeEvent
Interface for a event notified by the gaze controller.
Definition: GazeControl.h:103
yarp::dev::IGazeControl::clearNeckPitch
virtual bool clearNeckPitch()=0
Unblock the neck pitch.
yarp::dev::IGazeControl::blockNeckYaw
virtual bool blockNeckYaw(const double val)=0
Block the neck yaw at a specified angle.
yarp::dev::IGazeControl::setVORGain
virtual bool setVORGain(const double gain)=0
Set the gain used to weigh the vestibulo-ocular reflex (VOR).
yarp::dev::IGazeControl::lookAtStereoPixels
virtual bool lookAtStereoPixels(const yarp::sig::Vector &pxl, const yarp::sig::Vector &pxr)=0
Move the gaze to a location specified by two pixels representing the same 3-d point as seen from with...
Stamp.h
yarp::dev::GazeEvent::gazeEventParameters
yarp::dev::GazeEventParameters gazeEventParameters
The user fills this structure to establish the event parameters.
Definition: GazeControl.h:114
yarp::dev::IGazeControl::~IGazeControl
virtual ~IGazeControl()
Destructor.
yarp::dev::IGazeControl::unregisterEvent
virtual bool unregisterEvent(yarp::dev::GazeEvent &event)=0
Unregister an event.
yarp::dev::IGazeControl::setOCRGain
virtual bool setOCRGain(const double gain)=0
Set the gain used to weigh the oculo-collic reflex (OCR).
yarp::dev::GazeEventVariables
Structure for retrieving information from a gaze event.
Definition: GazeControl.h:76
yarp::dev::IGazeControl::bindNeckRoll
virtual bool bindNeckRoll(const double min, const double max)=0
Bind the neck roll within a specified range.
yarp::dev::IGazeControl::triangulate3DPoint
virtual bool triangulate3DPoint(const yarp::sig::Vector &pxl, const yarp::sig::Vector &pxr, yarp::sig::Vector &x)=0
Triangulate two points given in the image planes to find the corresponding 3-d point in the space.
yarp::dev::IGazeControl::getNeckRollRange
virtual bool getNeckRollRange(double *min, double *max)=0
Return the current neck roll range.
yarp::dev::IGazeControl::getTrackingMode
virtual bool getTrackingMode(bool *f)=0
Get the current controller mode.
yarp::dev::IGazeControl::getRightEyePose
virtual bool getRightEyePose(yarp::sig::Vector &x, yarp::sig::Vector &o, yarp::os::Stamp *stamp=NULL)=0
Get the current pose of the right eye frame.
yarp::dev::IGazeControl::getAnglesFrom3DPoint
virtual bool getAnglesFrom3DPoint(const yarp::sig::Vector &x, yarp::sig::Vector &ang)=0
Get the absolute angular coordinates corresponding to the 3-d point.
yarp::dev::IGazeControl::lookAtFixationPoint
virtual bool lookAtFixationPoint(const yarp::sig::Vector &fp)=0
Move the gaze to a specified fixation point in cartesian space.
yarp::dev::IGazeControl::blockNeckPitch
virtual bool blockNeckPitch(const double val)=0
Block the neck pitch at a specified angle.
yarp::dev::IGazeControl::waitMotionDone
virtual bool waitMotionDone(const double period=0.1, const double timeout=0.0)=0
Wait until the current trajectory is terminated.
YARP_dev_API
#define YARP_dev_API
Definition: api.h:19
yarp::dev::IGazeControl::checkSaccadeDone
virtual bool checkSaccadeDone(bool *f)=0
Check once if the saccade is terminated.
yarp::dev::IGazeControl::getInfo
virtual bool getInfo(yarp::os::Bottle &info)=0
Return useful info on the operating state of the controller.
yarp::dev::IGazeControl::checkMotionDone
virtual bool checkMotionDone(bool *f)=0
Check once if the current trajectory is terminated.
yarp::dev::IGazeControl::registerEvent
virtual bool registerEvent(yarp::dev::GazeEvent &event)=0
Register an event.
yarp::dev::GazeEvent::gazeEventCallback
virtual void gazeEventCallback()=0
Event callback to be overridden by the user.
yarp::os::Stamp
An abstraction for a time stamp and/or sequence number.
Definition: Stamp.h:25
yarp::dev::GazeEventParameters::type
std::string type
The signature of the event as specified by the user.
Definition: GazeControl.h:59
yarp::dev::IGazeControl::getAngles
virtual bool getAngles(yarp::sig::Vector &ang, yarp::os::Stamp *stamp=NULL)=0
Get the current gaze configuration in terms of azimuth and elevation angles wrt to the absolute refer...
yarp::dev::IGazeControl::getJointsVelocities
virtual bool getJointsVelocities(yarp::sig::Vector &qdot)=0
Get the joints velocities commanded by the controller.
yarp::dev::IGazeControl::lookAtAbsAngles
virtual bool lookAtAbsAngles(const yarp::sig::Vector &ang)=0
Move the gaze to a specified gazing angles configuration given in the absolute reference frame.
yarp::dev::IGazeControl::getVORGain
virtual bool getVORGain(double *gain)=0
Get the current gain used to weigh the vestibulo-ocular reflex (VOR).
yarp::dev::IGazeControl::get3DPointOnPlane
virtual bool get3DPointOnPlane(const int camSel, const yarp::sig::Vector &px, const yarp::sig::Vector &plane, yarp::sig::Vector &x)=0
Get the 3-d point - whose pixel projection is given - that results from the projection into a plane s...
yarp::dev::GazeEvent::~GazeEvent
virtual ~GazeEvent()
Destructor.
Definition: GazeControl.h:108
yarp::dev::IGazeControl::bindNeckPitch
virtual bool bindNeckPitch(const double min, const double max)=0
Bind the neck pitch within a specified range.
yarp::dev::IGazeControl::getNeckYawRange
virtual bool getNeckYawRange(double *min, double *max)=0
Return the current neck yaw range.
yarp::dev::IGazeControl::getStereoOptions
virtual bool getStereoOptions(yarp::os::Bottle &options)=0
Return the current options used by the stereo approach.
yarp::dev::IGazeControl::getHeadPose
virtual bool getHeadPose(yarp::sig::Vector &x, yarp::sig::Vector &o, yarp::os::Stamp *stamp=NULL)=0
Get the current pose of the head frame.
yarp::dev::IGazeControl::deleteContext
virtual bool deleteContext(const int id)=0
Delete a specified controller context.
yarp::dev::IGazeControl::setTrackingMode
virtual bool setTrackingMode(const bool f)=0
Set the controller in tracking or non-tracking mode.
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::dev::IGazeControl::setNeckAngleUserTolerance
virtual bool setNeckAngleUserTolerance(const double angle)=0
Specify a new tolerance to gaze at the target with the neck.
yarp::dev::IGazeControl::setSaccadesInhibitionPeriod
virtual bool setSaccadesInhibitionPeriod(const double period)=0
Set the inhibition period for saccadic movements.
yarp::dev::IGazeControl::waitSaccadeDone
virtual bool waitSaccadeDone(const double period=0.1, const double timeout=0.0)=0
Wait until the current saccade is terminated.
yarp::dev::IGazeControl::getLeftEyePose
virtual bool getLeftEyePose(yarp::sig::Vector &x, yarp::sig::Vector &o, yarp::os::Stamp *stamp=NULL)=0
Get the current pose of the left eye frame.
yarp::dev::IGazeControl::lookAtRelAngles
virtual bool lookAtRelAngles(const yarp::sig::Vector &ang)=0
Move the gaze to a specified gazing angles configuration given in the relative reference frame.
yarp::dev::GazeEventVariables::time
double time
Contain the time instant of the source when the event took place, as filled by the event handler.
Definition: GazeControl.h:87
yarp::dev::IGazeControl::blockNeckRoll
virtual bool blockNeckRoll()=0
Block the neck roll at the current angle.
yarp::dev::IGazeControl::clearEyes
virtual bool clearEyes()=0
Unblock the eyes.
yarp::dev::GazeEvent::gazeEventVariables
yarp::dev::GazeEventVariables gazeEventVariables
The event handler fills this structure with useful information at run-time.
Definition: GazeControl.h:120
yarp::dev::IGazeControl::getNeckPitchRange
virtual bool getNeckPitchRange(double *min, double *max)=0
Return the current neck pitch range.
yarp::dev::IGazeControl::lookAtMonoPixel
virtual bool lookAtMonoPixel(const int camSel, const yarp::sig::Vector &px, const double z=1.0)=0
Move the gaze to a location specified by a pixel within the image plane.
yarp::dev::IGazeControl::tweakSet
virtual bool tweakSet(const yarp::os::Bottle &options)=0
Tweak low-level controller's parameters.
yarp::dev::IGazeControl::lookAtRelAnglesSync
virtual bool lookAtRelAnglesSync(const yarp::sig::Vector &ang)=0
Move the gaze to a specified gazing angles configuration given in the relative reference frame.
api.h
yarp::dev::GazeEventVariables::motionOngoingCheckPoint
double motionOngoingCheckPoint
Contain the motion check-point that raised a "motion-ongoing" event.
Definition: GazeControl.h:93
yarp::dev::IGazeControl::getSaccadesInhibitionPeriod
virtual bool getSaccadesInhibitionPeriod(double *period)=0
Get the current inhibition period for saccadic movements.
yarp::dev::IGazeControl::getJointsDesired
virtual bool getJointsDesired(yarp::sig::Vector &qdes)=0
Get the joints target values where the controller is moving the system to.
Bottle.h
yarp::dev::IGazeControl::blockNeckPitch
virtual bool blockNeckPitch()=0
Block the neck pitch at the current angle.
yarp::dev::IGazeControl::getSaccadesActivationAngle
virtual bool getSaccadesActivationAngle(double *angle)=0
Get the current activation angle for saccadic movements.
yarp::dev::IGazeControl::getEyesTrajTime
virtual bool getEyesTrajTime(double *t)=0
Get the current trajectory duration for the eyes actuators.
yarp::dev::IGazeControl::getNeckTrajTime
virtual bool getNeckTrajTime(double *t)=0
Get the current trajectory duration for the neck actuators.
yarp::dev::IGazeControl::getStabilizationMode
virtual bool getStabilizationMode(bool *f)=0
Get the current stabilization mode.
yarp::dev::IGazeControl::getBlockedVergence
virtual bool getBlockedVergence(double *ver)=0
Return the current vergence angle used to block the eyes.
yarp::dev::IGazeControl::blockNeckYaw
virtual bool blockNeckYaw()=0
Block the neck yaw at the current angle.
yarp::dev::IGazeControl::setSaccadesMode
virtual bool setSaccadesMode(const bool f)=0
Enable/disable the use of very fast eyes movements (saccades).