APIs, concepts, guides, and more
|
|
static |
controller | Pointer to the MotionController to set up. |
axisCount | Number of axes to configure as phantom. |
axisNums | Vector of integers specifying the axis numbers to configure as phantom. static void SetupControllerForPhantoms(MotionController *controller, int axisCount, std::vector<int> axisNums)
{
ShutdownTheNetwork(controller);
ClearControllerCounts(controller);
controller->AxisCountSet(axisCount);
for (auto axisNum : axisNums)
{
ConfigurePhantomAxis(controller, axisNum);
}
}
|
Definition at line 442 of file SampleAppsHelper.h.