Giter Club home page Giter Club logo

ros_zeromq_tutorial's Introduction

ROS ZeroMQ Tutorial

This tutorial shows how to use ZeroMQ with ROS for publishing and subscribing to messages. The following two languages are supported:

  • CPP
  • Python (see thanks section)

Dependencies

  1. ZeroMQ: 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 to inform the changes to authors.

Compilation

  1. Make sure to download complete repository. Use git clone or download zip as per convenience.
  2. Invoke catkin tool inside ros workspace i.e., catkin_make

Steps to run

  1. Start ROS Core by using the following command:
    roscore
    
  2. 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
    
  3. 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 and create issues accordingly.

Thanks

The following authors are sincerely acknowledged for the improvements of this package:

ros_zeromq_tutorial's People

Contributors

ravijo avatar tunchunairarko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ros_zeromq_tutorial's Issues

Problems with library libzmq3-dev

Hi,

I encountered the same problems when running CATKIN_MAKE: /usr/include/zmq.hpp:550:47: error: 'zmq_event_t' does not name a type. I tried reinstalling libzmq3-dev library by purging previous versions: sudo apt-get purge libzmq*. How do you get pass this error?

Thanks!

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.