Article by Daniel Fütterer
Abstract: Description of the electromagnetic motion tracking system G4 from the manufacturer Polhemus and its software.
The Polhemus G4 system enables position and orientation data to be tracked using magnetic sensors. Transmitters are placed in the room and measured/calibrated, the sensors are attached to the object to be measured and connected to wireless and portable hubs. These transmit the data to the PC, which in turn analyses this data or (as in our application) streams it into the network.
The manufacturer's software runs on Windows and Linux, is compatible with the game engine via coded UDP export Unity and consists of several components for registration, calibration, monitoring and transmission (e.g. with named pipe or UDP). In addition, large parts of the software are open source, which enables the development of customised tools.
Under Linux, there is a suite of several programmes:
g4devcfg: | Proprietary tool for configuring the Polhemus hardware (dongle and hub) |
g4track_lib: | Libraries for use with the other programmes |
createcfgfile: | Programme for creating the config files (hardware setup) |
g4display: | Graphical display of the sensor position and orientation |
g4term: | Textual output of the sensor data |
g4export (developed by Janis Streib): | Command line programme for transferring sensor data via OSC |
The software is used in combination with programmes such as Max/MSP or PureData, which are able to read out and process the OSC stream of sensor data.
An example application is realised in the project of student Lukas Körfer: Speaking Objects.
Own software developments: Max-Patches
Further developments by Janis Streib (incl. instructions):
For further resources, see the menu entry for Polhemus at „Ressourcen“ (Nextcloud)
Link (external)
Pilot test for using the G4export software (Janis Streib) on a Raspberry PI to control a virtual mixer via OpenSoundControl.
Proof-of-concept: Use of the G4 system to control the avatar (head tracking) for the application Binauralix.
Note: external links to YouTube