GithubHelp home page GithubHelp logo

personalrobotics / roslibjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sathak93/roslibjs

0.0 1.0 1.0 1.93 MB

PRL copy of the Standard ROS JavaScript Library to enable ROS2 actions

Home Page: http://robotwebtools.org/roslibjs

License: Other

Shell 0.56% JavaScript 99.44%

roslibjs's Introduction

NOTE (April 2023): This PRL fork of roslibjs, and the corresponding PRL fork of rosbridge_suite, is to account for the fact that the official rosbridge_suite and official roslibjs do not currently work with ROS2 actions. This is a PR to address that, and it formed the basis for these two PRL forks. If ROS2 action support is added to both rosbridge_suite and roslibjs, then these two PRL forks can be removed (and any code that uses them, like the PRL feeding_web_interface, updated).

roslibjs

CI

The Standard ROS JavaScript Library

For full documentation, see the ROS wiki or check out some working demos.

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.

roslibjs's People

Contributors

rctoris avatar dependabot[bot] avatar matthijsburgh avatar jihoonl avatar t045t avatar gyeates avatar baalexander avatar rayman avatar megawac avatar garaemon avatar haas85 avatar mvollrath avatar marcoarruda avatar sathak93 avatar dlu avatar j-rojas avatar jakobs avatar dwlee avatar eadlam avatar achim-k avatar jamestiotio avatar jbcpollak avatar dantwinkler avatar bennyre avatar otl avatar pro avatar jorgenfb avatar aisch avatar buster84 avatar janga1997 avatar

Watchers

 avatar

Forkers

hello-vinitha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.