GithubHelp home page GithubHelp logo

hhy5277 / yodart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yodaos-project/yoda.js

0.0 1.0 0.0 9.08 MB

JavaScript VUI Framework ๐Ÿ‘ฝ๐Ÿš€

Home Page: https://yodaos.rokid.com

License: Apache License 2.0

CMake 1.06% JavaScript 75.59% Shell 1.94% C++ 20.75% C 0.18% Batchfile 0.48%

yodart's Introduction

YodaRT

Build Status codecov License

YODAOS runtime is the JavaScript layer in YODAOS. It provides the main functionalities includes:

  • Getting and handling NLP request
  • Playing music and TTS
  • Controling the volume
  • Controling the network state
  • Providing basic SDK for application development

And it is powered by ShadowNode, which provides the basic system API, you could visit API Documentation for details.

Test

To run the unit tests on device, just try:

$ npm test
 123 -_-_-_-_-_-_-_-_-_,------,
 0   -_-_-_-_-_-_-_-_-_|   /\_/\
 0   -_-_-_-_-_-_-_-_-^|__( ^ .^)
     -_-_-_-_-_-_-_-_-  ""  ""
  Pass!

Ensure you have a connected YodaOS device via ADB v1.0.39.

Define your test.json

test.json is the configuration in JSON for your testing jobs. An example is here:

{
  "cloudgw": {
    "deviceId": "your device id",
    "deviceTypeId": "your device type id",
    "key": "your rokid cloud key",
    "secret": "your rokid cloud secret"
  },
  "wifi": {
    "ssid": "your ssid of wifi",
    "psk": "your psk of wifi",
    "ip": "your ip of gateway"
  }
}

And put this file under the ./test directory.

Development

In development, code changes are in a very frequent fashion and it might be hard to maintain synchronization between local codes and device codes. Try following commands to cope with the situation with ease:

$ npm restart

For more useful development tools, see tools.

License

Apache-2.0

yodart's People

Contributors

13588478764 avatar algebrait avatar cglmcu avatar cheongwen avatar devgsip avatar fanchengwen avatar feelychau avatar fighterkin avatar guguangshuai avatar guoguo0416 avatar jjdodojohn avatar lamod avatar lanfly avatar lanyuqingri avatar legendecas avatar machaojoy avatar mingzc0508 avatar pixmod avatar puppiesmeat avatar qile222 avatar rokidbot avatar rokidmedeazhou avatar shiwf avatar txiaozhe avatar yangcanpiper avatar ynlisonia avatar yojoe-zhu avatar yonzkon avatar yorkie avatar zhanghuan0910 avatar

Watchers

 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.