21 #ifndef _MOTORENCODERSSIGNCHECK_H_
22 #define _MOTORENCODERSSIGNCHECK_H_
25 #include <yarp/robottestingframework/TestCase.h>
26 #include <yarp/dev/ControlBoardInterfaces.h>
27 #include <yarp/dev/PolyDriver.h>
28 #include <yarp/sig/Vector.h>
30 #include "yarp/robottestingframework/JointsPosMotion.h"
66 virtual bool setup(yarp::os::Property& property);
68 virtual void tearDown();
71 void setModeSingle(
int i,
int desired_control_mode, yarp::dev::InteractionModeEnum desired_interaction_mode);
72 void OplExecute(
int i);
76 yarp::robottestingframework::jointsPosMotion *jPosMotion;
78 std::string robotName;
80 yarp::sig::Vector jointsList;
81 yarp::sig::Vector home;
82 yarp::sig::Vector opl_step;
83 yarp::sig::Vector opl_max;
84 yarp::sig::Vector opl_delay;
85 yarp::sig::Vector max_lims;
86 yarp::sig::Vector min_lims;
87 yarp::sig::Vector pos_threshold;
88 yarp::sig::Vector opl_start;
92 yarp::dev::PolyDriver *dd;
93 yarp::dev::IControlMode *icmd;
94 yarp::dev::IInteractionMode *iimd;
95 yarp::dev::IEncoders *ienc;
96 yarp::dev::IPWMControl *ipwm;
97 yarp::dev::IMotorEncoders *imenc;
98 yarp::dev::IPidControl *ipid;