Provide configuration of tool markers (Dimensions) with the rom files
adnanmunawar opened this issue · comments
It would be quite helpful for others if the we add a basic image/text file defining the dimensions of distances and angles of the optical trackers for at least some ROM file. This would allow others to recreate the tools using those dimensions without have to remake their own ROM files for basic tools.
I haven't really looked at the rom file format but if the NDI tools can open these and display all the info (name, serial number, marker positions and tool tip transforms), I like the idea of maintaining an index or README.md in the share/roms
directory. If the ROM format itself is "open", we could even add a parser in sawNDITracker, these could be used to display/publish the tool geometry in user applications.
That would be even better, I shall put it on my agenda to try to decode the rom format to extract any useful data
I developed a Python function to do this: https://github.com/rajkundu/rom-parser
It could easily be translated into C++ and perhaps integrated into this library, if that is useful!