Skip to content

Conversation

pablogs9
Copy link
Member

This PR allows the advance configuration of used XRCE-DDS Streams in the micro-ROS entities (pub/sub). By using this, along with the proper XRCE-DDS Client configuration, priorities in data streams can be controlled.

Client & Service are not implemented due to the lack of options at RMW interface layer.

Depends on: eProsima/Micro-XRCE-DDS-Client#285

TODO:

  • Wait set that iterates only in required streams

@pablogs9 pablogs9 requested a review from Acuadros95 November 15, 2021 15:28
git clone -b foxy https://github.com/eProsima/Micro-CDR src/Micro-CDR
git clone -b foxy https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client
git clone -b ros2 https://github.com/eProsima/Micro-CDR src/Micro-CDR
git clone -b feature/run_session_until_one_stream https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
git clone -b feature/run_session_until_one_stream https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client
git clone -b ros2 https://github.com/eProsima/Micro-XRCE-DDS-Client src/Micro-XRCE-DDS-Client

@github-actions
Copy link

Static memory analysis

Default configuration

MTU: 512 B
Input buffer size: 2048 B
Input history: 4
Output buffer size: 2048 B
Output history: 4

Entity Qty Size per unit
Context 2 5616 B
Topic 8 56 B
Service 4 248 B
Client 4 248 B
Subscription 4 272 B
Publisher 4 288 B
Node 4 208 B
Static input buffer 8 2136 B
Init options 6 64 B
Wait sets 4 56 B
Guard Condition 4 64 B
Ent. Init. Opt 8 40 B

TOTAL: 34632 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant