Code Monkey home page Code Monkey logo

rmrc's Introduction

RMRC

Code written by The Knight Sky for Bishop's RMRC team

The Team

  • Dr. J
  • Dr. Keller
  • Audrey Lin
  • Ryan Zhu
  • Mia Gover
  • Sienna Li
  • Millan Kumar
  • Victor Joulin-Batejat
  • Charlie Fredberg
  • Grace Yao
  • Amy Yan

Setup (TODO update!)

The code is designed to just be cloned and run. The main changes are:

  • Changing LATENCY_TIMER in the library's code (Jetson and laptop)
    • grep -ir "LATENCY_TIMER" /
    • LATENCY_TIMER = 4
  • Changing listen() for the ps4 controller (laptop only)
    • sudo find / -name "controller.py"
    • Replace wait_for_interface() and read_events() with:
def wait_for_interface():
    print("Waiting for interface: {} to become available . . .".format(self.interface))
    i = 0
    while i < timeout or timeout == -1:
        if os.path.exists(self.interface):
            print("Successfully bound to: {}.".format(self.interface))
            on_connect_callback()
            return
        i += 1
        time.sleep(1)
    print("Timeout({} sec). Interface not available.".format(timeout))

def read_events():
    try:
        return _file.read(self.event_size)
    except IOError:
        print("Interface lost. Device disconnected?")
        on_disconnect_callback()
  • Changing the easyocr order of checking GPU backends (Jetson only)

rmrc's People

Contributors

cfredberg avatar lelserslasers avatar lord-lelsers avatar victor-jb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

audreylin13

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.