39#include <catch2/catch_amalgamated.hpp>
45TEST_CASE(
"dev::RemoteControlBoardTest",
"[yarp::dev]")
51 Network::setLocalMode(
true);
53 SECTION(
"Checking remote_controlboard device (using fakeMotionControl)")
78 p_cfg.put(
"device",
"fakeMotionControl");
86 p_cfg.put(
"device",
"controlBoard_nws_yarp");
87 p_cfg.put(
"name",
"/controlboardserver");
104 p_cfg.put(
"device",
"remote_controlboard");
105 p_cfg.put(
"local",
"/local_controlboard");
106 p_cfg.put(
"remote",
"/controlboardserver");
154 SECTION(
"Checking remote_controlboard device (using fakeMotionControlMicro)")
170 p_cfg.put(
"device",
"fakeMotionControlMicro");
172 grp.put(
"Joints", 2);
178 p_cfg.put(
"device",
"controlBoard_nws_yarp");
179 p_cfg.put(
"name",
"/controlboardserver");
196 p_cfg.put(
"device",
"remote_controlboard");
197 p_cfg.put(
"local",
"/local_controlboard");
198 p_cfg.put(
"remote",
"/controlboardserver");
225 Network::setLocalMode(
false);
define control board standard interfaces
define control board standard interfaces
TEST_CASE("dev::RemoteControlBoardTest", "[yarp::dev]")
Interface for getting information about specific axes, if available.
Interface for control devices, commands to get/set position and veloity limits.
Interface for setting control mode in control board.
Interface for control boards implementing current control.
Control board, extend encoder interface with timestamps.
Interface settings the way the robot interacts with the environment: basic interaction types are Stif...
Interface for getting info about the fault which may occur on a robot.
Control board, encoder interface.
Control board, encoder interface.
Interface for controlling an axis, by sending directly a PWM reference signal to a motor.
Interface for a generic control board device implementing a PID controller, with scaled arguments.
Interface for a generic control board device implementing position control.
Interface for control boards implementing torque control.
Interface for control boards implementing velocity control.
A container for a device driver.
Helper interface for an object that can wrap/or "attach" to a single other device.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
void exec_iMotorEncoders_test_1(IMotorEncoders *imotenc)
void exec_iAxisInfo_test_1(IAxisInfo *iinfo)
void exec_iControlLimits_test1(IControlLimits *ilims, IAxisInfo *iinfo)
void exec_iMotor_test_1(IMotor *imot)
void exec_iTorqueControl_test_unimplemented_interface(ITorqueControl *itrq, IControlMode *icmd)
void exec_iCurrentControl_test_1(ICurrentControl *icurr, IControlMode *icmd)
void exec_iVelocityControl_test_unimplemented_interface(IVelocityControl *ivel, IControlMode *icmd)
void exec_iTorqueControl_test_1(ITorqueControl *itrq, IControlMode *icmd)
void exec_iInteractionMode_test_1(IInteractionMode *iint, IAxisInfo *iinfo)
void exec_iPidControl_test_1(IPidControl *ipid, IAxisInfo *iaxis)
void exec_iPositionControl_test_1(IPositionControl *ipos, IControlMode *icmd)
void exec_iPositionControl_test_unimplemented_interface(IPositionControl *ipos, IControlMode *icmd)
void exec_iPwmControl_test_1(IPWMControl *ipwm, IControlMode *icmd)
void exec_iJointFault_test_1(IJointFault *ifault)
void exec_iEncodersTimed_test_1(IEncodersTimed *ienc)
void exec_iControlMode_test_1(IControlMode *icmd, IAxisInfo *iinfo)
void exec_iVelocityControl_test_1(IVelocityControl *ivel, IControlMode *icmd)
void exec_iPidControl_test_2(IPidControl *ipid)
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.