The Standard ROS JavaScript Library

About

roslibjs is the core JavaScript library for interacting with ROS from the browser. It uses WebSockets to connect with rosbridge and provides publishing, subscribing, service calls, actionlib, TF, URDF parsing, and other essential ROS functionality. roslibjs is developed as part of the Robot Web Tools effort.

roslibjs-code.jpg

API Documentation

JSDoc for the project is available on the Robot Web Tools website.

CDN Releases

This project is released on a CDN as part of the Robot Web Tools effort. The following is a list of the available revisions:

Source Code

Source code is available at https://github.com/RobotWebTools/roslibjs. Pull requests should be made to the devel branch. This project follows the ROS JavaScript Style Guide.

Tutorials

  1. Writing a URDF parser with roslibjs

    This tutorial shows you how to fetch a URDF model of a robot and parse it with roslibjs.

  2. Using TF with roslibjs

    This tutorial shows you how to use TF with roslibjs.

  3. Math utilities provided by roslibjs

    This tutorial shows you how to use the math utilities that are part of roslibjs.

  4. Writing an actionlib client with roslibjs

    This tutorial shows you how to create an actionlib client and pass a goal.

  5. Basic ROS functionality with roslibjs

    This tutorial shows you how to publish, subscribe, and perform service calls with roslibjs.

Support

Please send bug reports to the GitHub Issue Tracker. Feel free to contact us at any point with questions and comments.

Wiki: roslibjs (last edited 2014-06-11 13:52:44 by Russell Toris)