RMP Motion Controller
10.6.5
APIs
, concepts, guides, and more
Community
Support
Contact
◆
GetCreationParameters()
static
MotionController::CreationParameters
GetCreationParameters
(
)
static
#if _WIN32
static
MotionController::CreationParameters
GetCreationParameters
()
{
// Create a controller with using defined parameters
MotionController::CreationParameters
params;
strncpy(params.
RmpPath
,
SampleAppsConfig::RMP_PATH
, params.
PathLengthMaximum
);
strncpy(params.
NicPrimary
,
SampleAppsConfig::NIC_PRIMARY
, params.
PathLengthMaximum
);
strncpy(params.
NodeName
,
SampleAppsConfig::NODE_NAME
, params.
PathLengthMaximum
);
return
params;
}
#elif __linux__
static
MotionController::CreationParameters
GetCreationParameters
()
{
MotionController::CreationParameters
params;
strncpy(params.
RmpPath
,
SampleAppsConfig::RMP_PATH
, params.
PathLengthMaximum
);
strncpy(params.
NicPrimary
,
SampleAppsConfig::NIC_PRIMARY
, params.
PathLengthMaximum
);
params.
CpuAffinity
=
SampleAppsConfig::CPU_AFFINITY
;
return
params;
}
#endif
Examples
AxisConfiguration.cpp
,
CalculateAccelerationFromVelocity.cpp
,
DifferenceOfPositionUserLimit.cpp
,
PhantomAxis.cpp
,
PointToPoint.cpp
,
PrintNetworkTopology.cpp
,
RecordPerformance.cpp
, and
SampleAppsHelper.h
.
Definition at line
166
of file
SampleAppsHelper.h
.
SampleAppsHelper
Generated by
1.10.0