0.0.4 • Published 3 years ago
@cognite/robotics-ts-sdk v0.0.4
Cognite Robotics Services Typescript SDK
This SDK serves three purposes:
- Provide a streaming interface between cloud and frontend using grpc-web
- Provide a client integration with robotics services REST API
- Manage video streaming through Janus WebRTC server
Install (useful guide)
First, install Node Version Manager (nvm)
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
$ nvm install --ltsSecond, install Yarn package manager
$ curl -o- -L https://yarnpkg.com/install.sh | bashrestart terminal or source ~/.bashrc (on mac: source ~/.zshrc)
Run in Dev
First, compile the project:
$ yarn compileRun executable as compiled Javascript:
$ yarn startOr, run executable as TypeScript in dev mode:
$ yarn debPackage and Push library to NPM
To package the library, run:
$ yarn package