View your robot’s camera using any SteamVR supported virtual reality headsets (Google Cardboard, Oculus Rift, Windows Mixed Reality, HTC Vive, etc)
How to add the Virtual Reality Robot robot skill
- Load the most recent release of ARC (Get ARC).
- Press the Project tab from the top menu bar in ARC.
- Press Add Robot Skill from the button ribbon bar in ARC.
- Choose the Virtual Reality category tab.
- Press the Virtual Reality Robot icon to add the robot skill to your project.
Don't have a robot yet?
Follow the Getting Started Guide to build a robot and use the Virtual Reality Robot robot skill.
How to use the Virtual Reality Robot robot skill
Use Virtual Reality with your robot to see what the robot sees, and control servos by moving your head. This plugin supports all virtual reality headsets through Steam VR (OpenVR), Google Play, and iOS, including Google Cardboard, Oculus, Windows Mixed Reality, and HTC Vive. The plugin does two things; it allows you to see what the robot sees and control the servos with the Pitch and Yaw of the headset. This means when you move your head, the robot head can also move, mimicking your movement.
This video was a test of the plugin on a Synthiam JD Humanoid. Sadly, he had no arms during the trial, so it's funny to see. Professor E from The Robot Program controlled the robot's head and viewed the robot's camera through the VR headset. In this example, we used OpenVR in STEAM with a Samsung Odyssey headset.
In this video below, we controlled a Synthiam Six Hexapod with a joystick and a VR headset. When we move the head from left to right, the legs of the hexapod will rotate the body so we can look around. This also applied to looking up and down; the legs would tilt the body so we could look up and down. In this example, we used an Android phone with Google Cardboard Glasses.
Here is another exciting example where we combined this VR Headset plugin with 2 Wiimotes to create custom animations. Each time a button was pressed on the WiiMote, a new FRAME was created with the current position of all servos and appended to an ACTION. DJ keeps pressing the button, and the FRAMES append to the ACTION until he stops. Once he squeezes the trigger on the WiiMote, the code instructs the ACTION to be played back. And thus, all FRAMES are played back because they are part of the action.
Here is a screenshot of the plugin running on an ARC workspace with a camera.
What Hardware Does It Support? Two methods connect to the plugin, which opens a wide variety of hardware.
1. SteamVR (OpenVR) On PC, the supported headsets use Steam VR (OpenVR). This means any headset supporting Steam VR will work with this plugin, given the headset is directly connected to the PC. The most popular SteamVR headsets are Oculus, HTC Vive, and Windows Mixed Reality.
2. Google Cardboard (iOS and Android) The Google Cardboard is a product and standard that turns your mobile device into a virtual reality headset. This means you can either purchase the cardboard version from Google or shop online and purchase a more robust plastic/foam padded version from amazon.
Download the Android App here: https://play.google.com/store/apps/details?id=com.ezrobot.virtualrealityrobot
Allow Firewall Access
When the plugin is loaded, you may receive a message to allow firewall access. Be sure to check Private and Public networks. If you do not check both, you may end up in a situation in the future where you're connected to a public network and the plugin isn't working. In this case, it's because ARC doesn't have firewall permission. Also, if you do not see this message when the plugin loads, it could be because you've already answered this in the past. In which case, you should visit the firewall rules to see if ARC has correct access.Press the Windows button and type FIREWALL to search for Windows Defender Firewall
Select "Allow an app or feature through windows defender firewall."
Press CHANGE SETTINGS
Ensure both PRIVATE and PUBLIC are checked for ARC and press OK
Attach/Detach Camera Button
This plugin requires a camera, whether on your robot or a USB device. Add the camera device to your project and connect to the camera. Once you have a successful camera operational, press the Attach to Camera button on the plugin. This will connect the plugin to the camera device, sending the video stream to the VR headset.
Start/Close VR Client Button (SteamVR only)
If you have a Steam VR-compatible headset connected to your PC, this button will allow you to use that headset. This button will start the VR client, connecting to the VR Headset. The client can be launched either full screen or in a window. By default, the setting is to launch in the plugin window. This setting can be altered for your project in the configuration dialog.
Google Cardboard Users Your device needs to be on the same network as the ARC PC for those using google cardboard (iOS or Android) compatible device and headset. This is because your mobile device will connect to the ARC plugin by typing in the PC's IP address. The IP Address for your ARC PC is displayed in the plugin. Load the Virtual Reality Robot mobile app on your device and enter the IP address of the ARC PC.
4K Display Issues There is an issue with 4K displays and running the local client in the robot skill window. This is a known issue with Windows & Unity with 4k displays. If you have a 4k display and press the "Start Local Client" button, you will notice two things...
- The client is minimal
- The client is offset from the display window
There are two solutions...
Change your screen resolution to 1080
Set the client to run in full screen, configurable in this skill's configuration window.
Virtual Reality Caution
Read the warnings on your device before using a virtual reality (VR) viewer with this plugin to reduce the risk of personal injury, discomfort, or property damage. Ensure you use this plugin with adequate space to avoid hurting yourself or others by walking into something. Nausea and motion sickness may be experienced and worse for some users. Do not use this plugin for extended periods to avoid experiencing nausea.
Related Tutorials

Control Robot With Virtual Reality Headset

Create Auto Position Actions From EZ-Script
Related Hack Events
Related Questions

Unable To Locate The Vr Client App.This Is Installed With...

Using Vive Controllers For Arms?

How To Extract VR Goggle Data That Is Used To Move JD...
Upgrade to ARC Pro
ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.
You can do the kinematics. Learn more about configuring multiple servos and adding ratios for joints, such as elbow and shoulder etc. It's easy to do with the servo control editor that's universal across ALL ARC skill controls. It doesn't make sense for me to create a plugin specific to my application, so instead there's features for you to customize it yourself. My effort is to make very universal controls that you can all expand and build with.
In the meantime, if you want to connect to other controllers for your application, take a look at creating your own plugin with this tutorial: https://synthiam.com/Community/Tutorials/146/1
And, here's instructions on how to configure servos for ALL ARC skill controls that accept servo commands. The UI is universal across the entire software application: https://synthiam.com/Community/Tutorials/49
Once you familiarize yourself with how to add more than one servo to features, you'll unlock a whole new power. Best example is how the Six Hexapod can rotate and follow objects with the camera. Take a look at that project for examples of how the servos are configured.
I do have on my list to add onto the plugin for hand controllers - for the present i'm using wiimote controllers.
Can someone tell me how Steam is used in using this VR App? Do I load the Steam app and select something?
I am very excited in using this app. I have a Samsung Mixed Reality Headset and have loaded its software and the Mixed Reality Headset software.
Ellis
You must be specific with names of things, specially in technology because things are similarly named but entirely different. Steam and SteamVR are different
Yes you need steam for steamvr. But steamvr is the dependency. Install steam, then install steamvr inside of steam.
Because you have windows mixed reality, you also have to install the windows mixed reality in steam.
And when you load the plugin, the rest just happens automatically. You just need steamvr installed, that’s all
My question is, if you have windows mixed reality, what have you been using it for if you don’t have steamvr?!? That’s where ALL the vr titles worth mentioning exist.
without steamvr, having a virtual reality headset is a paperweight. You’ll thank me lol!
So. I haven't even tried the pmugin/android app yet and I already have a feature request. Likely to only be something a small number of users care about, so feel free to say no....
I would like to define the left and right cameras seperatly so that I could have true stereo vision with depth perception by using 2 cameras set at eye distance apart. Probably way more complicated than I am thinking (like need to be able to adjust centerpoint, etc....) but would be cool.
Alan
Thanks for the clarification. I already have installed steam to windows and windows to steam. As I understand all I need to do now is install tha ARC skill plugin.
I sometimes do not understand what is being said so I ask for some clarifications. The community is very helpfull and I thank the people on it and ARC for providing it. Thanks
You need steamvr that installs into steam. You also need to install windows mixed reality that installs in stream.
download and install stream
inside of steam, search their store and install SteamVR
inside of steam, search their store and install Windows Mixed reality
install Virtuak reality robot plugin into ARC
Thanks DJ, I will get right to it.
I already have stream and mixed reality installed but I don't think I have SteamVR installed unless I have and don't know it.
Look at your installed list...