6#ifndef ITORQUECONTROLTEST_H
7#define ITORQUECONTROLTEST_H
14#include <catch2/catch_amalgamated.hpp>
33 for (
size_t i = 0; i <
ax; i++)
49 b=
itrq->setMotorTorqueParams(0, params);
53 b=
itrq->getMotorTorqueParams(0, &res);
80 for (
size_t i = 0; i <
ax; i++)
86 auto vals = std::vector<double>(
ax);
88 auto vals1 = std::vector<double>(
ax);
89 auto vals2 = std::vector<double>(
ax);
91 b =
itrq->setMotorTorqueParams(0, param);
94 b =
itrq->getMotorTorqueParams(0, ¶m);
97 b =
itrq->getRefTorque(0, &val);
103 b =
itrq->getTorque(0,&val);
115 b =
itrq->setRefTorque(0,val);
constexpr yarp::conf::vocab32_t VOCAB_CM_TORQUE
Interface for setting control mode in control board.
virtual bool setControlMode(const int j, const int mode)=0
Set the current control mode.
Interface for control boards implementing torque control.
A mini-server for performing network communication in the background.
void exec_iTorqueControl_test_unimplemented_interface(ITorqueControl *itrq, IControlMode *icmd)
void exec_iTorqueControl_test_1(ITorqueControl *itrq, IControlMode *icmd)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.