Giter Site home page Giter Site logo

codiny-webble-example's Introduction

Marty Robot Connection Manager

This project is an interface to connect with and control a Marty robot. The application consists of three steps:

  1. Scan for Marty
  2. Verify your Marty
  3. Marty Commands

Application Structure

The project is divided into a few key parts:

MartyConnector

This class is responsible for managing the connection to a Marty robot. It is also a bridge between the RICJS library and the rest of the application. It includes methods to:

  • Connect to a robot
  • Verify the robot
  • Disconnect from the robot
  • Send messages to the robot
  • Stream audio to the robot

Steps

These are the main steps user goes through to connect with and control a Marty:

  • Step1Scan: This component initiates a scan for Marty robots using Web Bluetooth API and establishes a connection with the selected device.

  • Step2Verification: This component sends random LED color signals to the Marty robot and asks the user to verify if the colors match. This ensures the user is connecting to the correct Marty robot in case there are multiple Martys in the room.

  • Step3Commands: This is where the user would send commands to the robot.

App

This is the main component of the application, which manages the current step and transitions between steps.

Installation

  1. Clone the repository: git clone https://github.com/robotical/codiny-webble-example.git
  2. Navigate to the project directory: cd codiny-webble-example
  3. Install the dependencies: npm install
  4. Start the application: npm start

codiny-webble-example's People

Contributors

nikthegeek1 avatar

Watchers

Rob Dobson avatar  avatar

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.