现在就加入我们!
(ITEM_TYPE_STATION = 1 #站项目。rdk文件)(ITEM_TYPE_ROBOT = 2 #机器人项目。机器人文件)ITEM_TYPE_FRAME = 3 #参考系ITEM_TYPE_TOOL = 4 #工具项目(。工具文件或工具没有几何)ITEM_TYPE_OBJECT = 5 #对象项目。stl, .step .iges,…)ITEM_TYPE_TARGET = 6 #目标项目ITEM_TYPE_PROGRAM = 8 #程序项(使用GUI)ITEM_TYPE_PROGRAM_PYTHON = 10 # Python程序或宏
如果(robodk_instance_ - >连接()){(.....)robot_instance_ = std:: make_shared < RoboDK_API:项> (robodk_instance_ - > getItem (QString: fromStdString (remote_rdk_patner_ - > RobotName_), RoboDK_API:: RoboDK:: ITEM_TYPE_ROBOT));汽车robot_program_python_ = std:: make_shared < RoboDK_API:项> (robodk_instance_ - > getItem (QString: fromStdString (“InitParam”), RoboDK_API:: RoboDK:: ITEM_TYPE_PROGRAM_PYTHON));robot_program_python_ - >调用();(.....)}