asmsuechan / rowma_js

JS SDK for rowma

Home Page:https://upbeat-swanson-9ce1b7.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rowma SDK js

Netlify Status

This package is a nodejs SDK for rowma.

documentation is available here

rowma repository

Check the rowma main repository for more information to utilize rowma.

Installation

$ npm install rowma_js

Example

Simple example

import Rowma from 'rowma_js';

const rowma = new Rowma();

const robotList = await rowma.currentConnectionList()
const robot = connectionList[0] // Chose a connection

const socket = await rowma.connect(robot)

const command = 'my_utility rviz.launch'
rowma.runLaunch(socket, robot, command)

Get commands

import Rowma from 'rowma_js';

const rowma = new Rowma();

const robotList = await rowma.currentConnectionList()
const robot = connectionList[0] // Choose a connection

const commands = robot.launchCommands
const command = commands[0] // Choose a command

rowma.runLaunch(socket, robot, command)

License

MIT © asmsuechan

About

JS SDK for rowma

https://upbeat-swanson-9ce1b7.netlify.com/

License:MIT License


Languages

Language:JavaScript 100.0%