YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
controlBoardRemapper_t1_test.cpp File Reference
#include <yarp/os/Time.h>
#include <yarp/dev/ControlBoardInterfaces.h>
#include <yarp/dev/IControlMode.h>
#include <yarp/dev/PolyDriver.h>
#include <yarp/dev/PolyDriverList.h>
#include <yarp/dev/IMultipleWrapper.h>
#include <vector>
#include <catch2/catch_amalgamated.hpp>
#include <harness.h>
+ Include dependency graph for controlBoardRemapper_t1_test.cpp:

Go to the source code of this file.

Functions

static void checkRemapper (yarp::dev::PolyDriver &ddRemapper, int rand, size_t nrOfRemappedAxes)
 
static void checkRemapperMicro (yarp::dev::PolyDriver &ddRemapper, int rand, size_t nrOfRemappedAxes)
 
 TEST_CASE ("dev::ControlBoardRemapperTest", "[yarp::dev]")
 

Variables

const charfmcA_file_content
 
const charfmcB_file_content
 
const charfmcC_file_content
 
const charfmcA_file_content_micro
 
const charfmcB_file_content_micro
 
const charfmcC_file_content_micro
 
const charwrapperA_file_content
 
const charwrapperB_file_content
 
const charwrapperC_file_content
 

Function Documentation

◆ checkRemapper()

static void checkRemapper ( yarp::dev::PolyDriver ddRemapper,
int  rand,
size_t  nrOfRemappedAxes 
)
static

Definition at line 70 of file controlBoardRemapper_t1_test.cpp.

◆ checkRemapperMicro()

static void checkRemapperMicro ( yarp::dev::PolyDriver ddRemapper,
int  rand,
size_t  nrOfRemappedAxes 
)
static

Definition at line 162 of file controlBoardRemapper_t1_test.cpp.

◆ TEST_CASE()

TEST_CASE ( "dev::ControlBoardRemapperTest"  ,
""  [yarp::dev] 
)

Definition at line 234 of file controlBoardRemapper_t1_test.cpp.

Variable Documentation

◆ fmcA_file_content

const char* fmcA_file_content
Initial value:
= "device fakeMotionControl\n"
"[GENERAL]\n"
"Joints 2\n"
"\n"
"AxisName (\"axisA1\" \"axisA2\") \n"

Definition at line 21 of file controlBoardRemapper_t1_test.cpp.

◆ fmcA_file_content_micro

const char* fmcA_file_content_micro
Initial value:
= "device fakeMotionControlMicro\n"
"[GENERAL]\n"
"Joints 2\n"
"\n"
"AxisName (\"axisA1\" \"axisA2\") \n"

Definition at line 39 of file controlBoardRemapper_t1_test.cpp.

◆ fmcB_file_content

const char* fmcB_file_content
Initial value:
= "device fakeMotionControl\n"
"[GENERAL]\n"
"Joints 3\n"
"\n"
"AxisName (\"axisB1\" \"axisB2\" \"axisB3\") \n"

Definition at line 27 of file controlBoardRemapper_t1_test.cpp.

◆ fmcB_file_content_micro

const char* fmcB_file_content_micro
Initial value:
= "device fakeMotionControlMicro\n"
"[GENERAL]\n"
"Joints 3\n"
"\n"
"AxisName (\"axisB1\" \"axisB2\" \"axisB3\") \n"

Definition at line 45 of file controlBoardRemapper_t1_test.cpp.

◆ fmcC_file_content

const char* fmcC_file_content
Initial value:
= "device fakeMotionControl\n"
"[GENERAL]\n"
"Joints 4\n"
"\n"
"AxisName (\"axisC1\" \"axisC2\" \"axisC3\" \"axisC4\") \n"

Definition at line 33 of file controlBoardRemapper_t1_test.cpp.

◆ fmcC_file_content_micro

const char* fmcC_file_content_micro
Initial value:
= "device fakeMotionControlMicro\n"
"[GENERAL]\n"
"Joints 4\n"
"\n"
"AxisName (\"axisC1\" \"axisC2\" \"axisC3\" \"axisC4\") \n"

Definition at line 51 of file controlBoardRemapper_t1_test.cpp.

◆ wrapperA_file_content

const char* wrapperA_file_content
Initial value:
= "device controlBoard_nws_yarp\n"
"name /testRemapperRobot/a\n"
"period 0.01\n"

Definition at line 57 of file controlBoardRemapper_t1_test.cpp.

◆ wrapperB_file_content

const char* wrapperB_file_content
Initial value:
= "device controlBoard_nws_yarp\n"
"name /testRemapperRobot/b\n"
"period 0.01\n"

Definition at line 61 of file controlBoardRemapper_t1_test.cpp.

◆ wrapperC_file_content

const char* wrapperC_file_content
Initial value:
= "device controlBoard_nws_yarp\n"
"name /testRemapperRobot/c\n"
"period 0.01\n"

Definition at line 65 of file controlBoardRemapper_t1_test.cpp.