ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

UDP in rospy

asked 2012-07-25 12:40:47 -0600

borth gravatar image

updated 2014-01-28 17:13:08 -0600

ngrennan gravatar image

Hello, I've got a client that keep sending info over UDP so I've seen rospy has a class named UDPROSTransport that can receive UDP mensagens, is this class working? I'm quite confuse about how to properly use it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-07-25 15:57:10 -0600

updated 2012-07-26 06:27:35 -0600

As far as as I am aware the python implementation of UDPROS is non-existent/incomplete. See below.

[1] https://code.ros.org/trac/ros/ticket/1023

[2] http://ros-users.122217.n3.nabble.com/ROSUDP-in-ROSPY-td2756461.html

edit flag offensive delete link more

Comments

So, if its non-existent/incomplete, would there be any problems if I make the UDP connection through the socket class of python or ROS wouldn't accept well it?

borth gravatar image borth  ( 2012-07-26 08:59:36 -0600 )edit

@borth: Does your client send UDP packets outside the ROS ecosystem? i.e. is the client sending raw UDP packets directly? If so, then using the Socket class is the best solution anyway. On the other hand, if the client is a C++ ROS node sending UDP, a ton of work is required to receive messages.

piyushk gravatar image piyushk  ( 2012-07-26 14:59:18 -0600 )edit

Question Tools

Stats

Asked: 2012-07-25 12:40:47 -0600

Seen: 2,166 times

Last updated: Jul 26 '12