Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
patch6 opened this issue Jul 26, 2019 · 2 comments
Open

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

patch6 opened this issue Jul 26, 2019 · 2 comments

Comments

@patch6
Copy link

patch6 commented Jul 26, 2019

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.

@alatnet
Copy link
Owner

alatnet commented Jul 26, 2019

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.

@patch6
Copy link
Author

patch6 commented Jul 26, 2019

Okay, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants