rosserial_arduino_lib icon indicating copy to clipboard operation
rosserial_arduino_lib copied to clipboard

Controllino Ros

Open jellemun opened this issue 3 years ago • 1 comments

We are using a Controllino, seems we have to modify the Rosserial arduino library/src/ros/msg.h file with the following modifications:

Line 40 #include <string.h> Line 68 memcpy(&val, &f, sizeof(val)); Line 182 memcpy(f, &val, sizeof(val));

The library Cstring is not recognised.

jellemun avatar Aug 08 '22 13:08 jellemun

Today I installed this library and attempted to verify the Blink example code in the Rosserial Arduino Library of the Arduino IDE. It failed for the reasons above. Next is the following error.

Arduino\libraries\Rosserial_Arduino_Library\src/ros/node_handle.h:122:47: error: 'nullptr' was not declared in this scope Subscriber_ * subscribers[MAX_SUBSCRIBERS] {nullptr}; ^ Error compiling.

cyberbilly avatar Aug 24 '22 16:08 cyberbilly