Virtual Reality Research

Work revolving around Unity, Microsoft Hololens, and communication between devices.

Throughout my time with Professor Bin Li and his graduate students, I was tasked to join in their research development in Virtual Reality and using the Unity engine to run simulated applications.

One of the projects I worked on is adding on an Xbox controller, an option to virtual reality class, where users can interact with objects and options menus to easily select or view features. By doing so I had to research the properties of the controller and its functionalities on performance. Setting each button and analog stick to do a specific task when it is enabled. Using Unity, I was able to develop a C# code that triggers the controller and do the tasks it's programmed to do. Videos and documentation can be found below.

But now coming with the idea of communication between devices whereas the clients can connect to host to a server. I tested a mock server for different devices to connect to one device and see the movements that the host makes. A post request to the Microsoft Hololens


using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
namespace ConsoleApp1
{
	class Program
	{
		static void Main(string[] args)
		{
			PostRequest("http://posttestserver.com/post.php");

			Console.ReadKey();
		}

		async static void PostRequest(string url)
		{
			//Getting files is 
			IEnumerable> queries = new List>()
			{
				new KeyValuePair("1", "test_1")
			};
			HttpContent formcontent = new FormUrlEncodedContent(queries);
			using (HttpClient client = new HttpClient())
			{
				using (HttpResponseMessage response = await client.PostAsync(url,formcontent))
				{
					using (HttpContent content = response.Content)
					{
						string mycontent = await content.ReadAsStringAsync();
						HttpContentHeaders headers = content.Headers;

						Console.WriteLine(headers);
					}
				}
			}
		}
	}
}
																		
							
>

With some reworks on algortythmsm the applications were successfully made. With the guidance of Profressor Bin Li and graduate students Xiangqi Kong and Turi Latella to make my idea possible to further better this projects.