APIs, concepts, guides, and more
|
This struct provides static methods and constants for user configuration in RMP applications. Everything in this struct is expected to be modifed by the user. More...
Static Functions | |
static void | ConfigureHardwareAxes (MotionController *controller, std::vector< Axis * > axes) |
Configures the hardware axes according to user specified implementation. | |
Static Attributes | |
static constexpr int | AXIS_COUNT = 2 |
Number of axes to configure on the controller. | |
static constexpr int | AXIS_X_INDEX = 0 |
Index of the first axis to use in the sample apps. | |
static constexpr int | AXIS_X_USER_UNITS = 1 |
User units for the first axis. | |
static constexpr int | AXIS_Y_INDEX = 1 |
Index of the second axis to use in the sample apps. | |
static constexpr int | AXIS_Y_USER_UNITS = 1 |
User units for the second axis. | |
static constexpr int | CPU_AFFINITY = 0 |
(Linux only) CPU core to use. This should be an isolated core. | |
static constexpr int | MATH_BLOCK_COUNT = 0 |
Number of math block objects to configure on the controller. | |
static constexpr int | MOTION_COUNT = AXIS_COUNT |
Number of motion objects to configure on the controller. | |
static constexpr char | NIC_PRIMARY [] = "" |
Name of the NIC to use for the EtherCAT network (not needed for running on phantom axes) | |
static constexpr char | NODE_NAME [] = "" |
(Windows only) INtime node name. Use "" for default node. | |
static constexpr int | RECORDER_COUNT = 0 |
Number of recorder objects to configure on the controller. | |
static constexpr char | RMP_PATH [] = "" |
Path to the RMP.rta file (usually the RapidSetup folder). | |
static constexpr bool | USE_HARDWARE = false |
Flag for whether to use hardware or phantom axes. | |
static constexpr int | USER_LIMIT_COUNT = 0 |
Number of user limits to configure on the controller. | |
Definition at line 106 of file SampleAppsHelper.h.