The application of collision detection software development kit at TPS 39A2 nanoARPES beamline

Te-Hui Lee, Bo-Yi Chen, Ro-Ya Liu, Cheng-Maw Cheng
{"title":"The application of collision detection software development kit at TPS 39A2 nanoARPES beamline","authors":"Te-Hui Lee, Bo-Yi Chen, Ro-Ya Liu, Cheng-Maw Cheng","doi":"10.1117/12.2679966","DOIUrl":null,"url":null,"abstract":"At TPS 39A2 nanoARPES end station, the small space occupied by focusing devices such as the zone plate, Order Sorting Aperture (OSA), and detectors at the synchrotron end station makes collisions highly probable during adjustment or scanning. To address this issue, we developed a mechanical model using Solidworks to calculate the shortest distances among different objects after movement. Our approach utilizes a self-developed Software Development Kit (SDK) that can load an object description file to describe the spatial location and movement relation among triangle meshes. While the SDK can only calculate distance in static conditions and does not account for moving objects with speed or acceleration, we separated the program code and mechanical structure to ensure code portability. The collision.c and collision.h files are written in pure ANSI C code, and changes to the spatial or motion relation can be made by modifying the description file. The program was developed using National Instruments LabWindows/CVI and uses OpenGL to provide a visual and intuitive representation of the spatial relation between objects.","PeriodicalId":434863,"journal":{"name":"Optical Engineering + Applications","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-10-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Optical Engineering + Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.2679966","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

At TPS 39A2 nanoARPES end station, the small space occupied by focusing devices such as the zone plate, Order Sorting Aperture (OSA), and detectors at the synchrotron end station makes collisions highly probable during adjustment or scanning. To address this issue, we developed a mechanical model using Solidworks to calculate the shortest distances among different objects after movement. Our approach utilizes a self-developed Software Development Kit (SDK) that can load an object description file to describe the spatial location and movement relation among triangle meshes. While the SDK can only calculate distance in static conditions and does not account for moving objects with speed or acceleration, we separated the program code and mechanical structure to ensure code portability. The collision.c and collision.h files are written in pure ANSI C code, and changes to the spatial or motion relation can be made by modifying the description file. The program was developed using National Instruments LabWindows/CVI and uses OpenGL to provide a visual and intuitive representation of the spatial relation between objects.
碰撞检测软件开发套件在TPS 39A2纳米arpes光束线上的应用
在TPS 39A2纳米arpes端站,同步加速器端站的聚焦设备(如带片、有序分选孔径(OSA)和探测器)占用的空间很小,这使得在调整或扫描期间极有可能发生碰撞。为了解决这个问题,我们使用Solidworks开发了一个力学模型来计算运动后不同物体之间的最短距离。我们的方法利用自主开发的软件开发工具包(SDK),可以加载对象描述文件来描述三角形网格之间的空间位置和运动关系。虽然SDK只能在静态条件下计算距离,并且不能考虑速度或加速度的移动对象,但我们将程序代码和机械结构分开,以确保代码的可移植性。collision.c和collision.h文件是用纯ANSI C代码编写的,可以通过修改描述文件来改变空间或运动关系。该程序是使用美国国家仪器公司LabWindows/CVI开发的,并使用OpenGL提供对象之间空间关系的可视化和直观表示。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信