21 #ifndef _TORQUEACCURACY_H_
22 #define _TORQUEACCURACY_H_
25 #include <yarp/robottestingframework/TestCase.h>
26 #include <yarp/dev/ControlBoardInterfaces.h>
27 #include <yarp/dev/PolyDriver.h>
57 virtual bool setup(yarp::os::Property& property);
59 virtual void tearDown();
65 void setMode(
int desired_mode);
66 void saveToFile(std::string filename, yarp::os::Bottle &b);
69 std::string m_robotName;
70 std::string m_partName;
78 yarp::os::Bottle m_dataToSave;
80 yarp::dev::PolyDriver *dd;
81 yarp::dev::IPositionControl *ipos;
82 yarp::dev::IControlMode *icmd;
83 yarp::dev::IInteractionMode *iimd;
84 yarp::dev::IEncoders *ienc;
85 yarp::dev::ITorqueControl *itrq;
This tests checks the a torque PID response, sending a step reference signal with a setRefTorque comm...