ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
From your question, it seems like you may be confused about the confusing acronym "IPC".
In general, IPC refers to "inter-process communication", communication between processes.
The link you're referring to, points to "intra-process communication", which is communication between nodes in a single process. Note that there's a mistake in your question, you should be passing use_intra_process_comms
.
ROS2 uses inter-process communication by default, but by enabling intra-process, you can use zero-copy transport for faster message transport.
If you have two separate ros2 run
or ros2 launch
, then they are running in separate processes, and you won't be able to have intra process communication between them.
To your other questions:
2 | No.2 Revision |
From your question, it seems like you may be confused about the confusing acronym "IPC".
In general, IPC refers to "inter-process communication", communication between processes.
The link you're referring to, points to "intra-process communication", which is communication between nodes in a single process. Note that there's a mistake in your question, you should be passing use_intra_process_comms
.
ROS2 communication uses inter-process communication by default, but by enabling intra-process, you can use zero-copy transport for faster
message transport.
If you have two separate ros2 run
or ros2 launch
, then they are running in separate processes, and you won't be able to have intra process communication between them.
To your other questions: