Skip to main content

DOMAIN_ID_MAX

Constant DOMAIN_ID_MAX 

Source
pub const DOMAIN_ID_MAX: u32 = 232;
Expand description

Maximum valid ROS 2 domain ID. The ROS 2 / DDS convention (RTPS port arithmetic) caps usable domains at 232; values above it are a configuration error in EVERY language front-end (never a silent clamp or silent 0). Mirrored into the generated C header — keep the mirror in sync (a drifted copy is a real bug class).