Skip to content

rowma/rowma_js

Repository files navigation

Rowma SDK js

Netlify Status

This package is the Node.js 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.data[0] // Chose a connection

const socket = await rowma.connect()

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.data[0] // Choose a connection

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

rowma.runLaunch(socket, robot, command)

License

MIT © asmsuechan