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

UDPROS Protocol and Lost Packet/Sequencing Algorithms

asked 2013-04-22 17:00:04 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Dear ROS Community,

My recent adventure into development of a Java based UDPROS protocol left me with some unanswered questions that will be beneficial for the ROS Community to discuss, and create a specification of some sort.

Single Packet Message issues:

  • Issue 1: Out of Order message handling.
  • Issue 2: Dropped message handling.

Multi-Packet Message issues:

  • Issue 1: Dropped Datagram Packets in a single message.
  • Issue 2: Out of sequence datagram packet handling.
  • Issue 3: Timeout before dropping message entirely, or passing on received data with missing packets.

  • Option 1: Drop entire message immediately if a received datagram contains a new message id, and the preceding multi-packet message is incomplete.

  • Option 2: Wait for messages to complete in any/every order until a timeout is reached regardless of order until the entire message is received, and pass message into a topic queue. Drop message if message times out.

Both options have advantages depending on the topic type, and robot requirements. Option 2 requires more processing power and energy usage to maintain timeouts, and Option 2 handles out of sequence/out of order messages/packets. Option 1 performs more quicker/efficiently, at the cost of more lost messages. Both options seem like they could be valuable if they are implemented in the UDPROS API.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-04-22 19:53:07 -0600

tfoote gravatar image

In the current UDPROS I believe Option 1 is implemented as it is the simplest and provides the low latency performance for which most people select UDP. If you want to start a discussion I suggest you restart this on ros-users@code.ros.org

edit flag offensive delete link more

Comments

Thanks, I emailed ros-users@code.ros.org.

unknown_entity1 gravatar image unknown_entity1  ( 2013-04-23 04:20:53 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2013-04-22 17:00:04 -0600

Seen: 396 times

Last updated: Apr 22 '13