Closed rafaol closed 3 years ago
Any update on this merge request? Using this branch was the only way I could resolve issue #518.
maybe @mikeferguson @mikepurvis
maybe @mikeferguson @mikepurvis
I'm no longer active on this project.
I'm surprised this is needed, as the target for rosserial has always been a C++ compiler where the basic stdlib should be available. However, it looks like a lot of people are affected in the other thread, so it makes sense to fix it for them.
The
cstring
include andstd::memcpy
code were causing issues with rosserial_arduino #518 . Arduino by default does not have the C++ standard library available, and "ros/msg.h" is copied by rosserial_arduino's "make_libraries.py" into the generated ros_lib Arduino library. The fix was simply to replacememcpy
by its equivalent C version.