-
Notifications
You must be signed in to change notification settings - Fork 33
Conversation
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
why is this needed? |
participant = dpf_->create_participant( | ||
static_cast<DDS::DomainId_t>(domain_id), participant_qos, NULL, | ||
static_cast<DDS::DomainId_t>( | ||
domain_id != RMW_DEFAULT_DOMAIN_ID ? domain_id : 0u), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: line wrap looks unnecessary.
No there isn't. Or there shouldn't be. The bug that ros2/rcl#689 fixed was forcing a |
It has historically been used to determine in Not addressing ros2/rcl#689 (comment) will break rmw implementations not maintained by us. |
True. In
If an implementation does not handle IMHO the issue is that both domain ID defaults are conflated. We can discuss the |
Currently, rcl never passes RMW_DEFAULT_DOMAIN_ID, so it's not already broken. |
It is if the |
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Precisely what the title says. Connected to ros2/rcl#689.