Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

roslib

Package Overview
Dependencies
Maintainers
5
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roslib

The standard ROS Javascript Library

  • 1.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

roslibjs

CI

The Standard ROS JavaScript Library

For full documentation see the ROS wiki.

JSDoc can be found on the Robot Web Tools website.

This project is released as part of the Robot Web Tools effort.

Usage

Pre-built files can be found in either roslib.js or roslib.min.js.

Alternatively, you can use the current release via the JsDelivr CDN: (full) | (min)

Troubleshooting

  1. Check that connection is established. You can listen to error and connection events to report them to console. See examples/simple.html for a complete example:

    ros.on('error', function(error) { console.log( error ); });
    ros.on('connection', function() { console.log('Connection made!'); });
    
  2. Check that you have the websocket server is running on port 9090. Something like this should do:

    netstat -a | grep 9090
    

Dependencies

roslibjs has a number of dependencies. You will need to run:

npm install

Depending on your build environment.

Build

Checkout CONTRIBUTING.md for details on building.

License

roslibjs is released with a BSD license. For full terms and conditions, see the LICENSE file.

Authors

See the AUTHORS.md file for a full list of contributors.

Keywords

FAQs

Package last updated on 04 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc