frankjoshua / rosserial_arduino_lib

58 stars 46 forks source link

#include<cstring> and std::memcpy in ros/msg.h are causing Arduino IDE compiler errors #18

Closed TCIII closed 2 years ago

TCIII commented 2 years ago

@frankjoshua,

Why haven't the following corrections to ros/msg.h been made in the latest version of rosserial_arduino_lib:

Summary: (Changes) File - ros/msg.h

Change -> #include to #include in line 40 Change -> std::memcpy() to memcpy() in lines 68 and 182

Making these changes prevents Arduino IDE complier errors in Arduino ino programs that incorporate commands from the rosserial_arduino_lib.

Regards, TCIII

Mubashir-alam commented 2 years ago

it works

frankjoshua commented 2 years ago

OK. It's merged now. Sorry for the delay.