Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

can't use set_complex_value to set struct value

Open sxwboy opened this issue 3 years ago • 1 comments

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

  1. create a dynamictype struct a;
  2. create a dynamictype struct b;
  3. add_member a into b as member id 0;
  4. 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

sxwboy avatar Jun 21 '22 01:06 sxwboy

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.

JLBuenoLopez avatar Jun 21 '22 13:06 JLBuenoLopez

According to our CONTRIBUTING.md guidelines, I am closing this issue due to inactivity. Please, feel free to reopen it if necessary.

Mario-DL avatar Mar 24 '23 08:03 Mario-DL