Skip to content

Feature request: runtime switching of transport channel #322

@shvass

Description

@shvass

Support for runtime switching of transport (UDP / custom, etc )

Current implementation requires compile time definition for transport type. Adding support for runtime
switching will open possibility of applications to setup backup channel in case main channel fails or create more dynamic applications.

possible implementation

  • add a another transport "multimode" apart from UDP, custom, etc which defines multimode implementation. Thus only users with "multimode" bear the overhead of binary size and execution.

multimode

  • rmw_uxrce_transport_params_t contains parameters for all possible types. Nothing excluded by macros.

  • Add a static global variable "RMW_UXRCE_ACTIVE_TRANSPORT" to determine currently active transport and make transport call as per currently active transport.

  • many more

Does this sound like a good idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions