GithubHelp home page GithubHelp logo

muckthebuck / gazebaes_wheelchair_simulator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mbsi-inc/gazebaes_wheelchair_simulator

0.0 0.0 0.0 39.96 MB

Unity 3d simulator for gaze tracking for Brain hackathon

C# 10.19% HLSL 13.30% ShaderLab 76.51%

gazebaes_wheelchair_simulator's Introduction

WheelchairSimulator

This is a lightweight unity game. The player continuously moves forward, a variable direction is modified to steer the player left or right. This simulator is intended to test out how steering with gaze would feel like in a first-person view.

There are currently 2 ways that control the player's steering (changes the player's direction).

  1. KeyboardInputController (move with left and right key). This is attached to the GameManager obj, it is currently disabled. For debug/fun use only.
  2. ConnectionsHandler and PlayerController (a UDP Listener class attached to the GameManager obj) listens to UDP messages. There is an obj called UDPSenderTesterObj with a UDPSenderTester.cs script attached, which continuously broadcasts a float direction variable through UDP. You can change the direction variable in runtime to test out how it changes the direction of the movement.

These 3 component

For the direction variable, -45 means turning 45 degrees left, 0 goes straight, +45 turns 45 degrees towards right per second. If you can get your own gazetracking code to send a float value that represents direction over via UDP to port 8051, you should be able to control the player's steering via gaze.

Credit: Josh, Lam

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.