ros2 / rmw_dps

Implementation of the ROS Middleware (rmw) Interface using Intel's Distributed Publish & Subscribe.
Apache License 2.0
23 stars 8 forks source link

Reduce memory usage of publish #35

Closed malsbat closed 5 years ago

malsbat commented 5 years ago

This PR does two things:

  1. Avoid copying the message payload unnecessarily.
  2. Block the caller of rmw_publish() and friends until the message has been delivered to the network. This slows down rapid publishers to prevent unbounded growth of queued publish requests.