42#include <catch2/catch_amalgamated.hpp>
48TEST_CASE(
"dev::ControlBoardRemapperTest3",
"[yarp::dev]")
55 Network::setLocalMode(
true);
58 SECTION(
"Checking controlboardremapper device attached to a single controlBoard_nwc_yarp device")
85 p_cfg.put(
"device",
"fakeMotionControl");
92 p_cfg.put(
"device",
"controlBoard_nws_yarp");
93 p_cfg.put(
"name",
"/alljoints");
109 p_cfg.put(
"device",
"controlBoard_nwc_yarp");
110 p_cfg.put(
"local",
"/localalljoints");
111 p_cfg.put(
"remote",
"/alljoints");
116 p_cfg.put(
"device",
"controlboardremapper");
174 SECTION(
"Checking controlboardremapper device attached to two controlBoard_nwc_yarp device")
204 p_cfg.put(
"device",
"fakeMotionControl");
206 grp.put(
"Joints", 4);
213 p_cfg.put(
"device",
"fakeMotionControl");
215 grp.put(
"Joints", 3);
222 p_cfg.put(
"device",
"controlBoard_nws_yarp");
223 p_cfg.put(
"name",
"/alljoints1");
228 p_cfg.put(
"device",
"controlBoard_nws_yarp");
229 p_cfg.put(
"name",
"/alljoints2");
252 p_cfg.put(
"device",
"controlBoard_nwc_yarp");
253 p_cfg.put(
"local",
"/localalljoints1");
254 p_cfg.put(
"remote",
"/alljoints1");
259 p_cfg.put(
"device",
"controlBoard_nwc_yarp");
260 p_cfg.put(
"local",
"/localalljoints2");
261 p_cfg.put(
"remote",
"/alljoints2");
266 p_cfg.put(
"device",
"controlboardremapper");
328 Network::setLocalMode(
false);
define control board standard interfaces
define control board standard interfaces
Interface for getting information about specific axes, if available.
Interface for control devices, commands to get/set position and velocity limits.
Interface for setting control mode in control board.
Interface for control boards implementing current control.
Control board, extend encoder interface with timestamps.
Interface for control boards implementing impedance control.
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 an object that can wrap/attach to to another.
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.
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.
A single value (typically within a Bottle).
static Value * makeList()
Create a list Value.
TEST_CASE("dev::ControlBoardRemapperTest3", "[yarp::dev]")
void exec_iMotorEncoders_test_1(IMotorEncoders *imotenc)
void exec_iControlLimits_test1(IControlLimits *ilims, IAxisInfo *iinfo)
void exec_iMotor_test_1(IMotor *imot)
void exec_iPidControl_test_2(IPidControl *ipid, IAxisInfo *iaxis)
void exec_iAxisInfo_test_1(IAxisInfo *iinfo, std::string jname="joint0")
void exec_iCurrentControl_test_1(ICurrentControl *icurr, 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_iImpedanceControl_test_1(IImpedanceControl *iimp)
void exec_iPositionControl_test_1(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)
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.