Git Product home page Git Product logo

relativ-osvr-plugin's Introduction

Go into relativ-osvr-plugin\SteamVR
Take All the files and paste them in the drivers folder in your Steam directory
(PATH_TO_STEAM\Steam\steamapps\common\SteamVR\drivers)

OSVR Setup

1. osvr_server_config.json

Go into relativ-osvr-plugin\OSVR\Configs
Drag and Drop or Copy the osvr_server_config.json into the bin folder of OSVR
(PATH_TO_OSVR\OSVR\Runtime\bin)

2. Displays

Go into relativ-osvr-plugin\OSVR\Displays
Drag and Drop or Copy the files into the displaysin the OSVR directory
(PATH_TO_OSVR\OSVR\Runtime\bin\displays)

3. Plugins

Go into relativ-osvr-plugin\OSVR\osvr-plugin-0
Drag and Drop or Copy the files in the osvr-plugin-0 folderin the OSVR directory
(PATH_TO_OSVR\OSVR\Runtime\bin\osvr-plugin-0)

Change the port of osvr_server_config.json

Plug your arduino and check the port
Copy the port’s name and paste it in the port variable of the osvr_server_config.json file and save it

Screen Configuration πŸ’»

You must have two screens (your main and the headset)
⚠ The second screen must be at the right of the main screen and must be aligned with the top border of the main screen. ⚠

You can also change the resolution by changing the name of the display in the osvr_server_config file,

or else, make a new resolution by duplicating Relativ_HMD and changing the height and width lines in the OSVR displays folder.

Relativ and OSVR πŸ€–

Now, you can power on your [Relativ Headset](https://github.com/relativty/Relativ)
Start the osvr_server.exe
Path : FOLDER_WHERE_OSVR_IS\OSVR\bin\osvr_server.exe

This window should appear :

Start SteamVR

A little SteamVR Window should appear :

Have fun playing SteamVR games with your headset !πŸš€

Thank you for using our product, let us know if there is any issue and feel free to contribute ! 🀝 Any feedback is deeply appreciated.

relativ-osvr-plugin's People

Contributors

gabriel-combe avatar penguindono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

relativ-osvr-plugin's Issues

License

I can't seem to find the license for this repository, can you tell me what it is and/or update the repository with licensing info?

class Jsoncpp is deprecated

It fails to compile with the following error:

     Json::Reader reader;
                  ^~~~~~
In file included from /usr/include/json/json.h:11,
                 from /relativ-osvr-plugin/relativ_osvr_plugin/Relativ_OSVR_Plugin.cpp:21:
/usr/include/json/reader.h:35:83: note: declared here
 class JSONCPP_DEPRECATED("Use CharReader and CharReaderBuilder instead") JSON_API Reader {
                                                                                   ^~~~~~

Relativ_Core_json.h OR Relativ_OSVR_Plugin.json

Lines 20 to 21 & 136 to 144 of Relativ_OSVR_Plugin.cpp reference a file called Relativ_Core.json (& its generated header file Relativ_Core_json.h).

#include "Relativ_Core_json.h"

<SNIP>

	class Relativ_Device {
	public:
		Relativ_Device(OSVR_PluginRegContext ctx) {
			m_ctx = ctx;
			OSVR_DeviceInitOptions opts = osvrDeviceCreateInitOptions(ctx);
			osvrDeviceTrackerConfigure(opts, &m_tracker);
			m_dev.initAsync(ctx, DEVICE_NAME, opts);
			m_dev.sendJsonDescriptor(Relativ_Core_json);
			m_dev.registerUpdateCallback(this);

but the json file that is included in the source directory (& which is referenced in CMakeLists.txt) is called Relativ_OSVR_Plugin.json. Should the references in Relativ_OSVR_Plugin.cpp be updated to Relativ_OSVR_Plugin.json - or should a different json file be used (& if so, which one)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.