设置首页收藏本站
开启左侧

[算子] parse_innovance_pts_file 解析汇川Scara机械手点位数据

[复制链接]
Criss 发表于 2025-5-9 15:12:25 | 显示全部楼层 |阅读模式
算子签名:
  1. parse_innovance_pts_file( : : ptsFile : ptsX, ptsY, ptsZ, ptsU, ptsV, ptsW)
复制代码

参数:
  1. ptsFile (input_control)  filename → (string)
  2. File extension: .pts

  3. ptsX (output_control)  real-array → (real)
  4. ptsY (output_control)  real-array → (real)
  5. ptsZ (output_control)  real-array → (real)
  6. ptsU (output_control)  real-array → (real)
  7. ptsV (output_control)  real-array → (real)
  8. ptsW (output_control)  real-array → (real)
复制代码

读取的文件格式为.pts,内容类似:
  1. P[25] =   602.488384,  480.929644,  -64.255748,   90.000058,    0.000000,    0.000000;-1, 0, 0,-1; 4, 3, 0;
  2. P[26] =   601.708309,  400.860765,  -64.715851,   89.999999,    0.000000,    0.000000;-1, 0, 0,-1; 4, 3, 0;
  3. P[27] =   600.645296,  280.182794,  -64.595404,   90.000067,    0.000000,    0.000000;-1, 0, 0,-1; 4, 3, 0;
复制代码

算子下载:
parse_innovance_pts_file.hdvp (3.67 KB, 下载次数: 4)
测试文件:
calib.pts (2.45 KB, 下载次数: 2)
测试代码:
  1. parse_innovance_pts_file ('calib.pts', ptX, ptY, ptZ, ptU, ptV, ptW)
复制代码

奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
小学生学halcon 发表于 2025-5-9 17:05:37 | 显示全部楼层
学习一下
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
天才的狂想 发表于 2025-5-10 13:17:12 | 显示全部楼层
6666666666666666

点评

红红火火恍恍惚惚  发表于 2025-5-11 14:12
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表