25 #include <yarp/os/all.h>
26 #include <yarp/sig/all.h>
27 #include <yarp/dev/all.h>
28 #include <yarp/math/Math.h>
33 #include <iCub/utils.h>
47 using namespace yarp::os;
49 using namespace yarp::sig;
50 using namespace yarp::math;
92 Vector getEyesCounterVelocity(
const Matrix &eyesJ,
const Vector &
fp);
96 Controller *_ctrl,
const Vector &_counterRotGain,
const unsigned int _period);
101 Vector getCounterRotGain();
102 void setCounterRotGain(
const Vector &gain);
103 void minAllowedVergenceChanged()
override;
104 bool bindEyes(
const double ver);
106 void manageBindEyes(
const double ver);
107 bool threadInit()
override;
108 void threadRelease()
override;
109 void afterStart(
bool s)
override;
154 Vector computeTargetUserTolerance(
const Vector &xd);
159 const unsigned int _period);
163 double neckTargetRotAngle(
const Vector &xd);
164 void bindNeckPitch(
const double min_deg,
const double max_deg);
165 void bindNeckRoll(
const double min_deg,
const double max_deg);
166 void bindNeckYaw(
const double min_deg,
const double max_deg);
167 void getCurNeckPitchRange(
double &min_deg,
double &max_deg);
168 void getCurNeckRollRange(
double &min_deg,
double &max_deg);
169 void getCurNeckYawRange(
double &min_deg,
double &max_deg);
170 void clearNeckPitch();
171 void clearNeckRoll();
173 double getNeckAngleUserTolerance()
const;
174 void setNeckAngleUserTolerance(
const double angle);
175 bool threadInit()
override;
176 void threadRelease()
override;
177 void afterStart(
bool s)
override;
EyePinvRefGen * eyesRefGen
double neckAngleUserTolerance
AWLinEstimator * torsoVel
Adaptive window linear fitting to estimate the first derivative.
A class for defining a saturated integrator based on Tustin formula: .
A class for describing the kinematic of the straight line coming out from the point located between t...
A class for defining the Inertia Sensor Kinematics of the iCub.
A Base class for defining a Serial Link Chain.
static struct bpf_program fp
constexpr double NECKSOLVER_ACTIVATIONANGLE_JOINTS
constexpr double SACCADES_VEL
constexpr double SACCADES_ACTIVATION_ANGLE
constexpr double NECKSOLVER_RESTORINGANGLE
constexpr double EYEPINVREFGEN_GAIN
constexpr double SACCADES_INHIBITION_PERIOD
constexpr double NECKSOLVER_ACTIVATIONANGLE
constexpr double NECKSOLVER_ACTIVATIONDELAY