Linux interface to NDI (formerly Ascension) trakSTAR 3D Guidance systems. Not an official driver, please use with caution.
sudo apt install libusb-devAfter installing the requirements, run
mkdir build
cd build
cmake ..
make
sudo make installfrom within the project directory. You may need to restart your computer after installation.
The "igtlink_server" (compiles to "atcigtlinkserver" executable) serves as a drop-in replacement for what would usually be done with PlusLib's PlusServer, and follows a naming convention similar to most examples you'll find on the internet.
The sensor on 1st port is assigned "Reference", and the 2nd sensor is assigned "Tool". A transform "ToolToReference" is computed as well, and all transforms are sent via IGTLink protocol. This is taylored to a specific application, feel free to edit the example to make it more flexible (== more sensors).