ros2 / ros1_bridge

ROS 2 package that provides bidirectional communication between ROS 1 and ROS 2
Apache License 2.0
436 stars 283 forks source link

fix bug with sizeof when type of the arrays differ #298

Closed wjwwood closed 3 years ago

wjwwood commented 3 years ago

This patch fixes a bug where the sizeof calls used to compare sizes of fixed sized arrays/sequences were faulty when elements of the arrays have different memory layouts.

We've tested it against the Apex use case that was failing to compile. It's ready for review, and then I'll work on backports.

wjwwood commented 3 years ago

CI: