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

Nav2 and Intra Process Communication (IPC)

asked 2022-09-29 08:28:06 -0500

Myzhar gravatar image

Hi, I would like to know if it is possible to take advantage of the IPC with ROS2 Composition with the Nav2 stack.

In particular, I would like to put a node that publishes a point cloud and the STVL node in the same container to use zero-copy and so reduce the communication overhead.

Is this feasible? Are there existing examples?

Thank you, Walter

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-29 10:27:33 -0500

ruffsl gravatar image

Have you viewed Nav2's docs on node composition? Seems like dynamic-composition section and the composition_demo.launch.py example linked there in would be of interest here:

https://navigation.ros.org/setup_guid...

edit flag offensive delete link more

Comments

1

That doesn't provide IPC unfortunately because the IPC APIs are not complete as of yet for the full range of QoS settings (which are used in various places in the stack). But composition largely bridges that gap very well, even without IPC specifically enabled!

stevemacenski gravatar image stevemacenski  ( 2022-09-29 12:07:11 -0500 )edit

But composition largely bridges that gap very well, even without IPC specifically enabled!

Can you provide more information on this statement?

Myzhar gravatar image Myzhar  ( 2022-09-30 03:08:56 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-09-29 08:28:06 -0500

Seen: 127 times

Last updated: Sep 29 '22