Giter Club home page Giter Club logo

ros_comm_tools's Introduction

ros_comm_tools

This ROS stack provides a collection of communication tools that allow for advanced topic interactions and other functionalities within the ROS ecosystem.

Current Structure

The ros_comm_tools stack currently comprises the following package(s):

  • add_topic_tools:
    • Nodes:
      • Triggered Publisher: Subscribe to a topic and republish its content to another topic upon a user-defined trigger, such as pressing a button.

More packages and nodes will be added to this stack in the future to further enhance its capabilities.

Features

  • Triggered Republishing: As part of the add_topic_tools package, you can use the Triggered Publisher node to subscribe to a sensor_msgs/Image topic and republish its content based on manual keyboard triggers.

Prerequisites

  • ROS Noetic (though it might work with other ROS versions, it's only been tested on Noetic)

Installation

  1. Clone this package into your catkin workspace's src directory.

    cd ~/your_catkin_workspace/src
    git clone https://github.com/SMRazaRizvi96/ros_comm_tools.git
  2. Compile your catkin workspace.

     cd ~/your_catkin_workspace
     catkin_make
  3. Source your workspace's setup.bash:

    source devel/setup.bash

Usage

  1. Start the ROS core:

    roscore
  2. Run the Triggered Publisher node from the add_topic_tools package:

    rosrun add_topic_tools triggered_publisher.py
  3. Follow the prompts to trigger republishing of messages.

Parameters

The Triggered Publisher node from the add_topic_tools package supports the following ROS parameters:

  • ~input_topic : Name of the topic to subscribe to. Default: /camera/image_raw
  • ~output_topic : Name of the topic to publish messages to. Default: /camera/image_raw

Parameters can be set via the command line using rosparam, through a ROS launch file, or as command line parameters when running the node through rosrun.

Contributing

Feel free to open issues or pull requests if you want to improve the package or add new functionalities.

ros_comm_tools's People

Contributors

smrazarizvi96 avatar

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.