Receiving positioning data for trackers. As trackers can be used ping pong balls with LED or Playstation Move controllers.
- Download PSMoveService, run and close it.
- Go to folder "%appdata%\PSMoveService" and change some parameters. Specify the number of required trackers.
For VR controllers in the file "ControllerManagerConfig.json" in the parameter "virtual_controller_count" specify the number of virtual controllers (for example, "1" or "2").
In the files "VirtualController_ID.json"change the parameter "bulb_radius" to "2" if you are using ping pong balls with LED.
In the files "VirtualController_ID.json" you can change the controller index the parameter "gamepad_index". - Run "PSMoveService", "PSMoveConfigTool" and configure according to the instructions [1][2][3][4].
Then you can use the example and use the position tracking data.
*Remember to manually add the .lib from thirdparty\lib\x86\debug to VSC also copy the dll in the same folder to the built .exe folder
Получение данных позиционирования трекеров. В качестве трекеров могут использоваться пинг понг шарики со светодиодом или Playstation Move контроллеры.
- Загрузить PSMoveService, запустить и закрыть его.
- Перейти в папку "%appdata%\PSMoveService" и изменить некоторые параметры. Указать количество необходимых трекеров.
Для VR контроллеров, в файле "ControllerManagerConfig.json", в параметре - "virtual_controller_count", указать количество виртуальных контроллеров (например, "1" или "2").
В файлах "VirtualController_ID.json" изменить параметр "bulb_radius" на "2", если вы используете пинг понг шарики со светодиодом.
В файлах "VirtualController_ID.json" можно изменить индекс контроллера, параметр "gamepad_index". - Запустить "PSMoveService", "PSMoveConfigTool" и настроить согласно инструкциям [1][2][3][4], на ютубе есть инструкции на русском.
После чего можно использовать пример и использовать данные позиционного трекинга.