ndi_interface_config.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "controller_port": 5277,
  3. "variable_list": [
  4. {
  5. "name": "probe_in_tracker",
  6. "type": "transform_obj"
  7. },
  8. {
  9. "name": "ref_in_tracker",
  10. "type": "transform_obj"
  11. },
  12. {
  13. "name": "probe_uncertainty",
  14. "type": "double_obj"
  15. }
  16. ],
  17. "object_list": [
  18. {
  19. "type": "ndi_interface",
  20. "name": "ndi",
  21. "init_config": {
  22. "address_type": "ethernet",
  23. "ip": "10.0.0.5",
  24. "tcp_port": 8765,
  25. "com_port": "/dev/ttyUSB0",
  26. "tool_list": [
  27. {
  28. "rom_path": "/home/tpx/data/roms/Glass_4Ball_1.rom",
  29. "outputs": {
  30. "transform": "probe_in_tracker",
  31. "marker_uncertainty": "probe_uncertainty"
  32. }
  33. },
  34. {
  35. "serial_number": "3DD50000",
  36. "physical_port": 4,
  37. "outputs": {
  38. "transform": "probe_in_tracker",
  39. "marker_uncertainty": "probe_uncertainty"
  40. }
  41. },
  42. {
  43. "physical_port": 1,
  44. "outputs": {
  45. "transform": "ref_in_tracker"
  46. }
  47. }
  48. ]
  49. },
  50. "start_config": {
  51. "allow_unreliable": true,
  52. "prefer_stream_tracking": false
  53. }
  54. },
  55. {
  56. "type": "transform_obj_watcher",
  57. "name": "debug_watcher",
  58. "start_config": {
  59. "variable_name": "probe_in_tracker"
  60. }
  61. },
  62. {
  63. "type": "empty_object",
  64. "name": "all",
  65. "dependencies": [
  66. "ndi",
  67. "debug_watcher"
  68. ]
  69. }
  70. ]
  71. }