ros2 / ros2/rclcpp

Real-time safe services + clients

Open
#104 5 comments 0 reactions 1 assignee View on GitHub

@jackieokay is already working on this.

Since Nov 10, 2015.

Dominant language
C++
Stars
805
Forks
564
Avg merge
1d 17h
Merged PRs (30d)
27

Description

Make the client/service pipeline safe for real-time execution. It has not yet been vetted for allocations, STL structures which malloc automatically, and nondeterministic blocking.

This will be required for RT-safe node lifecycle, since we plan to use services to transition between states in the lifecycle.

  • abstract out "new" in Service::handle_request
  • abstract out make_shared from async_send_request
  • rt-safe alternatives to std::vector and std::map (maybe just use a custom allocator)
  • example with OS-specific threading abstraction (instead of std::future)
  • testing/profiling

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.