@cognite/robotics-sdk-ts
TypeScript icon, indicating that this package has built-in type declarations

0.1.21 • Public • Published

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 --lts

Second, install Yarn package manager

$ curl -o- -L https://yarnpkg.com/install.sh | bash

restart terminal or source ~/.bashrc (on mac: source ~/.zshrc)

In case you need the ts protobufs locally

Check whether you have the protobuf packages installed (e.g., run protoc --version). To install for Mac, run brew install protobuf@3.

Then, build the stubs from the project root folder:

./protos/build-proto-browser.sh 

Run in Dev

First, compile the project:

$ yarn compile

Package and Push library to NPM

To package the library, run:

$ yarn package

Package Sidebar

Install

npm i @cognite/robotics-sdk-ts

Weekly Downloads

228

Version

0.1.21

License

Apache-2.0

Unpacked Size

1.82 MB

Total Files

99

Last publish

Collaborators

  • npmwatchtower
  • cognitecicd