can't use set_complex_value to set struct value
Is there an already existing issue for this?
- [X] I have searched the existing issues
Expected behavior
can use set_complex_value to set struct value
Current behavior
if we use set_complex_value to set struct value, below error log can be seen: 2022-06-20 16:27:24.194 [DYN_TYPES Error] Error setting complex Value. id out of bounds. -> Function set_complex_value
I check the source code of set_complex_value, TK_STRUCTURE is not supported.
Steps to reproduce
- create a dynamictype struct a;
- create a dynamictype struct b;
- add_member a into b as member id 0;
- call b->set_complex_value(a, 0);
Fast DDS version/commit
latest
Platform/Architecture
Ubuntu Focal 20.04 amd64
Transport layer
UDPv4
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
Hi @sxwboy,
Fast DDS roadmap includes the support for DDS-XTYPES 1.3 which will also include Fast DDS dynamic types, adding coverage tests to ensure the correct implementation and behavior. This work is expected to start in the following months. In case that you are in a hurry, you may contact our support team for a commercial evaluation.
According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity. Please, feel free to reopen it if necessary.