OpenPSVR icon indicating copy to clipboard operation
OpenPSVR copied to clipboard

How do I print "Hello World!" in the middle of the screen?

Open patch6 opened this issue 4 years ago • 2 comments

I need to do this for debugging purposes. Kind of lost.

I've tried #include <iostream> and std::cout << "Hello World!"; and nothing shows up on the screen.

I guess I could print the data to a file and open it in notebook but that's pretty clunky for my purposes (trying to print the gyroscope / accelerometer sensor data.)

Also, @alatnet, do you know if the sensor data is in radians?

Thank you for your consideration.

patch6 avatar Jul 26 '19 23:07 patch6

Ah, that's a bit more involved with the openvr side... It's more to do with QT, I believe, to get it working with steamvr.

As for the sensor data, I, honestly, have no clue. I believe it's in radians though that might be the reason why it freaks out when using it cus openvr needs degrees. I don't know if I tried converting it.

alatnet avatar Jul 26 '19 23:07 alatnet

Okay, thank you!

patch6 avatar Jul 26 '19 23:07 patch6