You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking into how data is aligned by CDR, I found this issue which points out that long double types are 16 bytes in length but aligned on 8 byte boundaries. As such, I believe the following changes are required in order to properly compute the max serialized size for a type:
Bug report
Required Info:
Steps to reproduce issue
While looking into how data is aligned by CDR, I found this issue which points out that
long double
types are 16 bytes in length but aligned on 8 byte boundaries. As such, I believe the following changes are required in order to properly compute the max serialized size for a type:https://github.com/ros2/rosidl_typesupport_fastrtps/blob/rolling/rosidl_typesupport_fastrtps_cpp/resource/msg__type_support.cpp.em#L465-L468
https://github.com/ros2/rosidl_typesupport_fastrtps/blob/rolling/rosidl_typesupport_fastrtps_c/resource/msg__type_support_c.cpp.em#L621-L624
The text was updated successfully, but these errors were encountered: