Giter Site home page Giter Site logo

shupx / udp_com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from continental/udp_com

1.0 0.0 0.0 977 KB

Generic UDP communication ROS package

Home Page: https://continental.github.io/udp_com

License: BSD 4-Clause "Original" or "Old" License

C++ 69.77% CMake 30.23%

udp_com's Introduction

UDP Communication ROS CI ROS Buildfarm

This package was designed as a generic package to assist with interfacing ROS with the UDP transport layer. It provides ROS Services for creating sockets, sending and receiving UDP data.

Supported platforms/releases:

Platform ROS Release
Ubuntu 16.04 Bionic ROS Kinetic
Ubuntu 18.04 Bionic ROS Melodic
Ubuntu 20.04 Bionic ROS Noetic

Quickstart

Make sure you have one of the above ROS distributions installed on your system.

Install like any other ROS package:

sudo apt-get install ros-<your-distro>-udp-com

Getting Started

There are two ways of utlizing this package:

  • using the provided launch file and launching from the command line
    • roslaunch udp_com udp_com.launch
  • integrating into a custom project via source code

In either case, the udp_com package provides ROS services for interfacing with the UDP transport layer:

  • create_socket_service: creates a UDP socket and creates an instance to receive/send data
  • send_service: creates a ROS service to send data to a specific socket

Please review the source code documentation for more details on how the project is structured.

From source

For anyone already familiar with ROS, please see how this package is utilized and implemented in the hfl_driver package.

First, make sure your using the targeted platform and releases listed above.

Go ahead and clone this repo into your catkin_ws:

git clone https://github.com/continental/udp_com.git

Next, from your catkin_ws directory compile the source code:

catkin_make

After successful compilation source your newly generated workspace:

source /path/to/catkin_ws/devel/setup.bash

And now you should be able to run the udp_com launch file:

roslaunch udp_com udp_com.launch

Future work

We are currently working towards open-sourcing a ROS2 version of this driver with the same functionality. Star or watch this repo to stay updated on future releases.

udp_com's People

Contributors

flynneva avatar

Stargazers

 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.