Skip to main content

xcore_api Module Introduction

Modules currently included in xcore_api:

ModuleIntroduction
const_dataMainly contains commonly used data structures, such as pose, workpiece tool information, and ecat pdo information, etc.
endtoolEnd tool interface
ethercatMainly used for ethercat slave communication
fieldbusBus module, such as modbus, etc.
hooksUsed for Controller to trigger callbacks registered by each Plugin at specific events.
ioUsed to get signal register status.
launchPlugin entry module.
motion_cmdMotion module related interfaces, can implement custom motion.
registersRegister function codes
rl_cmdCommand module interfaces, can implement custom commands.
rl_taskGet current RL program running status.
sdkSDK custom commands
serviceUsed for Client Plugin and Controller Plugin communication, can implement custom protocols.
statesRobot status acquisition.
userlogReport log codes
utilsEncapsulated common module functions, including file read/write, thread pool, singleton, etc.