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
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.
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.
The text was updated successfully, but these errors were encountered: