Giter VIP home page Giter VIP logo

anki.vector.webvizsdk's Introduction

Anki.Vector.WebVizSDK

Anki Vector .NET SDK (unofficial) to the developer-unit WebViz API.

WARNING This API is unlikely to work or be useful to you.

The Vector SDK gives you direct access to Anki Vector's internal modules within the developer builds. This will work only with a developer build, and only a handful of such units have been found.

The name is patterned after Anki.Vector.SDK. Be glad I didn't call it "Toad (The Websocket)".

Getting started

Credits: this section lifted from the Anki.Vector.SDK Readme

Download Microsoft development tools

If you working on Windows, download Visual Studio 2019 Community Edition to get started. This version is free for personal use.

To get started on Mac and Linux, you can download .NET Core 3.0.

Example

    using Anki.Vector.WebVizSDK;
    Session session;

...

    session = new Session("192.168.1.179");
    session.Connected += (sender, args) =>
    {
        session.OnModuleChange("AudioEvents", Listener);
        session.OnModuleChange("MicData", Listener);
        session.OnModuleChange("SoundReactions", Listener);
        session.OnModuleChange("SpeechRecognizerSys", Listener);
    };
    // Begin the Connection with the Vector unit
    session.ConnectBegin();

...
    void Listener(object sender, ModuleEventArgs args)
    {
        var s = JsonSerializer.Serialize(args.data);
        Console.WriteLine($"{args.moduleName}-> {s}");
    }

Contributions

  1. Fork the project
  2. Make your proposed changes
  3. Create a pull request

Authors

  • Randall Maas

License

This project is licensed under the BSD 2-Clause License - see the LICENSE file for details. Nothing particular about it; I just needed a license.

The code can be integrated into other SDKs, such as Wayne Venables's Anki.Vector.SDK, I'll relicense the code for that.

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.