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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.