https://github.com/ravijo/ros_zeromq_tutorial
ZeroMQ tutorial for ROS
https://github.com/ravijo/ros_zeromq_tutorial
ros ros-package ros-zeromq-tutorial tutorial zeromq zeromq-tutorial zmq
Last synced: 3 months ago
JSON representation
ZeroMQ tutorial for ROS
- Host: GitHub
- URL: https://github.com/ravijo/ros_zeromq_tutorial
- Owner: ravijo
- License: mit
- Created: 2018-01-17T09:46:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T09:38:37.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T04:42:17.345Z (4 months ago)
- Topics: ros, ros-package, ros-zeromq-tutorial, tutorial, zeromq, zeromq-tutorial, zmq
- Language: CMake
- Size: 18.6 KB
- Stars: 30
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ROS ZeroMQ Tutorial
This tutorial shows how to use [ZeroMQ](http://zeromq.org) with ROS for publishing and subscribing to messages. The following two languages are supported:
* CPP
* Python (see [thanks](#thanks) section)## Dependencies
1. [ZeroMQ](http://zeromq.org/): Install ZeroMQ using following command:
```
sudo apt-get install libzmq3-dev
```
_It should be easy to install newer versions of ZeroMQ, and this repository should be compatible with them. However, please note that this repository is only for demonstration purposes. Therefore, we have not tested it thoroughly. In such cases, please feel free to open a new [issue](#issue) to inform the changes to authors._## Compilation
1. Make sure to download complete repository. Use `git clone` or download zip as per convenience.
1. Invoke catkin tool inside ros workspace i.e., `catkin_make`## Steps to run
1. Start ROS Core by using the following command:
```
roscore
```
1. Invoke the publisher by using the following command:
```
rosrun ros_zeromq_tutorial talker_zmq
```
Alternatively, the python version of talker can be started by using the following command:
```
rosrun ros_zeromq_tutorial talker_zmq.py
```
1. The published data can be seen by using the following command:
```
rosrun ros_zeromq_tutorial listener_zmq
```
Alternatively, the python version of listener can be started by using the following command:
```
rosrun ros_zeromq_tutorial listener_zmq.py
```## Issue
Please check [here](https://github.com/ravijo/ros_zeromq_tutorial/issues) and create issues accordingly.## Thanks
The following authors are sincerely acknowledged for the improvements of this package:
* [Md Rakin Sarder](https://github.com/tunchunairarko): For providing python nodes