Giter Club home page Giter Club logo

osvr-cpi's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

osvr-cpi's Issues

Linux and Mac OS X support

Looks like a nice GUI that's "almost" cross platform already.

I started doing some changes here: https://github.com/ChristophHaag/OSVR-CPI/commits/master

Some random things:

  1. Most of the GUI and serial stuff should work on linux (I haven't really tested much besides the Check FW Version button) but I haven't done the firmware update button yet.
  2. thePort->waitForReadyRead(5000) doesn't work on linux, it always returns false. Should only matter for the firmware update though.
  3. Serial port is hardcoded to /dev/ttyACM0, with a couple of minutes on google I didn't figure out how to get a serial port by USB ID.
  4. A hand rolled file watcher using windows APIs in the usersettingsplugin... I've removed that part of the code so far but I haven't found a good cross platform alternative. Candidates are
  5. QFileSystemWatcher. I just can't get it to work. Someone with better Qt knowledge may.
  6. fswatcher looks like it has a broken CMake setup. May be worth looking further into.
  7. efsw is simple and works easily, but it looks like it only notifies on directory changes, not file changes. You could just listen to all changes in the directory where the config file is but on linux I want to put it into ~/.config/osvr_user_settings.json and so you'd get notified about any and all changes in ~/.config. Alternatively the config file could go into ~/.config/osvr/osvr_user_settings.json.

If anyone has some tips how to proceed I'd be happy to try them.

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.