APIs, concepts, guides, and more
MotionController::MathBlockConfig

MathBlock configuration structure. More...

Attributes

uint64_t InputAddress0
 Host memory address for Input0. Represents the left-hand side operand in math operations.
uint64_t InputAddress1
 Host memory address for Input1. Represents the right-hand side operand in math operations.
RSIDataType InputDataType0
 Data type for Input0. This is the data type of the left-hand side operand in math operations.
RSIDataType InputDataType1
 Data type for Input1. This is the data type of the right-hand side operand in math operations.
RSIMathBlockOperation Operation
 Math operation to be performed. (+, -, *, /, etc) use RSIMathBlockOperationNONE to disable a MathBlock.
uint64_t OutputAddress
 Host memory address for Output. The MathBlock will write its result to this address. (optional) Set to 0 or RSIControllerAddressTypeFIRMWARE_NULL_OUTPUT to disable.
RSIDataType OutputDataType
 Data type for Output. (optional).
RSIDataType ProcessDataType
 Data type for processing.

Description

MathBlock configuration structure. Use this structure to configure a MathBlock. Each MathBlock has two inputs, a process value and an output.

See also
MathBlockConfigGet, MathBlockConfigSet
Examples
calculate-acceleration-from-velocity.cpp, and difference-of-position-user-limit.cpp.

Definition at line 3877 of file rsi.h.