Skip to main content

ImportManipulator

原型

void ImportManipulator(const std::string& name, const std::filesystem::path& path, const Pose& pose = Pose());

功能

从指定路径将机器人导入到工作站,并创建对应控制器。如果路径非法,会抛出异常。

参数

  • name: 指定机器人的名称。
  • path: 机器人的库的路径,可以通过GetRobotList获取。
  • pose: 指定机器人的位姿,默认为原点位置,无旋转。

返回值

示例