OSVR / OSVR-Core

The core libraries, applications, and plugins of the OSVR software platform.
Apache License 2.0
328 stars 124 forks source link

Video-based tracker overly verbose if camera not detected #219

Closed rpavlik closed 8 years ago

rpavlik commented 8 years ago

In the case that there are no cameras at all on the machine:

[OSVR Server] Using config file 'sample-configs\osvr_server_config.VideoBasedHMDTracker.sample.json' 
[OSVR Server] Constructing server as configured... 
[OSVR Server] Loading auto-loadable plugins... 
[OSVR Server] Loading plugins... 
[OSVR Server] Successful plugins: 
[OSVR Server] - com_osvr_VideoBasedHMDTracker 
[OSVR Server] 
[OSVR Server] 
[OSVR Server] Instantiating configured drivers... 
[OSVR Server] 
[OSVR Server] Aliases found and parsed from config file. 
[OSVR Server] No valid 'display' object found in config file - server may use the OSVR HDK as a default. 
[OSVR Server] Triggering a hardware detection... 
[OSVR] Performing hardware auto-detection. 
[OSVR] Added device: com_osvr_Multiserver/OSVRHackerDevKit0 
[OSVR] Added device: com_osvr_Multiserver/OSVRHackerDevKitPrediction0 
directx_camera_server: Can't create video enumerator (no cameras?) 
directx_camera_server::open_and_find_parameters(): Could not get the device requested - not enough cameras? 
directx_camera_server::directx_camera_server(): Cannot open camera 
directx_camera_server::read_image_to_memory(): broken 
[OSVR Server] Registering shutdown handler... 
[OSVR Server] Starting server mainloop... 
[OSVR] Path tree updated 
[OSVR] Sending path tree to clients. 
[OSVR Server] Received shutdown signal... 
[OSVR Server] Server mainloop exited.
ahmedalmahdie commented 8 years ago

Hey rpavlik, I think this might not be the right place for something like this, but my osvr server won't detect my camera even though it's connected, resulting in the same debug you've posted above, but of course with "Display Startup failed. Check HMD connection." error in my unity scene since I don't have any HMD to test with. I don't know what I should do since I can't figure out if the problem is in my osvr_server_config.json file or something else. any guidance would be much appreciated , and really sorry if I'm coming off as rude asking a question when I should be reporting an issue. Thanks.

rpavlik commented 8 years ago

@ahmedalmahdie no worries! Best thing to do is to email support@osvr.com for these kinds of questions.

ahmedalmahdie commented 8 years ago

Thanks a lot @rpavlik :)