rowma_js
v1.1.16
Published
Rowma SDK for JavaScript/Typescript
Downloads
7
Readme
Rowma SDK js
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_jsExample
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
