<> == About == There's two parts to rosbridge: the protocol and the implementation. === Rosbridge Protocol === The [[https://github.com/RobotWebTools/rosbridge_suite/blob/ros1/ROSBRIDGE_PROTOCOL.md|rosbridge protocol]] is a specification for sending JSON based commands to ROS (and in theory, any other robot middleware). An example of the protocol for subscribing to a topic: {{{ { "op": "subscribe", "topic": "/cmd_vel", "type": "geometry_msgs/Twist" } }}} The specification is programming language and transport agnostic. The idea is that any language or transport that can send JSON can talk the rosbridge protocol and interact with ROS. The protocol covers subscribing and publishing topics, service calls, getting and setting params, and even compressing messages and more. === Rosbridge Implementation === The rosbridge_suite package is a collection of packages that implement the rosbridge protocol and provides a WebSocket transport layer. The packages include: * [[rosbridge_library]] - The core rosbridge package. The rosbridge_library is responsible for taking the JSON string and sending the commands to ROS and vice versa. * [[rosapi]] - Makes certain ROS actions accessible via service calls that are normally reserved for [[Client Libraries|ROS client libraries]]. This includes getting and setting params, getting topics list, and more. * [[rosbridge_server]] - While rosbridge_library provides the JSON<->ROS conversion, it leaves the transport layer to others. Rosbridge_server provides a WebSocket connection so browsers can "talk rosbridge." [[roslibjs|Roslibjs]] is a JavaScript library for the browser that can talk to ROS via rosbridge_server. == Source Code == Source code is available at [[https://github.com/RobotWebTools/rosbridge_suite]]. Please file issues and pull requests there. == Installation == Rosbridge is available as a debian. To install: {{{ sudo apt-get install ros--rosbridge-server }}} == Tutorials == === Beginner Tutorials === <> === Intermediate Tutorials === <> == Community == Rosbridge is a community project and involvement is encouraged! In addition to the [[https://github.com/RobotWebTools/rosbridge_suite|GitHub]] repository, check out the [[https://groups.google.com/forum/?fromgroups=#!forum/rosbridge-users|Google Group]] and [[http://answers.ros.org|ROS Answers]]. ## AUTOGENERATED DON'T DELETE ## CategoryStack