APIs, concepts, guides, and more
Config

This namespace provides static methods and constants for user configuration in RMP applications. Everything in this struct is expected to be modified by the user. More...

Functions

void Cleanup (MotionController *controller)
 [SetupController]
void ConfigureHardwareAxes (MotionController *controller)
 Configures the hardware axes according to user specified implementation.
void ConfigurePhantomAxis (MotionController *controller, int axisIndex)
 [GetCreationParameters]
MotionController::CreationParameters GetCreationParameters ()
 Returns a MotionController::CreationParameters object with user-defined parameters.
void SetupController (MotionController *controller, int numAxes=0)
 Setup the controller and check if the network is in the correct state for the configuration.

Variables

constexpr int CPU_AFFINITY = 0
 (Linux only) CPU core to use. This should be an isolated core.
static int initialAxisCount = -1
 [ConfigurePhantomAxis]
static int initialMotionCount = -1
 Initial motion count to restore later (-1 indicates it has not been set).
constexpr char NIC_PRIMARY [] = ""
 Name of the NIC to use for the EtherCAT network (not needed for running on phantom axes).
constexpr char NODE_NAME [] = ""
 (Windows only) INtime node name. Use "" for default node.
constexpr char RMP_PATH [] = RMP_INSTALL_PATH
 Path to the RMP.rta file (usually the RapidSetup folder).
constexpr bool USE_HARDWARE = false
 Flag for whether to use hardware or phantom axes.

Description