Enum ros2_client::ServiceMappings
source · [−]pub enum ServiceMappings {
Basic,
Enhanced,
Cyclone,
}
Expand description
Enumerate supported service mappings
There are different and incompatible ways to map Services onto DDS Topics. For details, see OMG Specification RPC over DDS Section “7.2.4 Basic and Enhanced Service Mapping for RPC over DDS”
Variants
Basic
Supposed to work with RTI Connext with
RMW_CONNEXT_REQUEST_REPLY_MAPPING=extended
, but untested.
Enhanced
- ROS2 Foxy with eProsima DDS,
- ROS2 Galactic with RTI Connext (rmw_connextdds, not rmw_connext_cpp) -
set environment variable
RMW_CONNEXT_REQUEST_REPLY_MAPPING=extended
before running ROS2 executable.
Cyclone
ROS2 Galactic with CycloneDDS - Seems to work on the same host only, not over actual network.
Auto Trait Implementations
impl RefUnwindSafe for ServiceMappings
impl Send for ServiceMappings
impl Sync for ServiceMappings
impl Unpin for ServiceMappings
impl UnwindSafe for ServiceMappings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more