Skip to content

rowma/rowma_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7307d62 · Mar 19, 2022

History

94 Commits
Mar 19, 2022
Mar 19, 2022
Mar 19, 2022
May 12, 2020
Oct 22, 2019
May 7, 2020
May 7, 2020
Oct 22, 2019
Mar 19, 2022
Mar 19, 2022
Mar 19, 2022
Mar 19, 2022
Mar 18, 2022

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