Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controllino Ros #19

Open
jellemun opened this issue Aug 8, 2022 · 1 comment
Open

Controllino Ros #19

jellemun opened this issue Aug 8, 2022 · 1 comment

Comments

@jellemun
Copy link

jellemun commented Aug 8, 2022

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.

@cyberbilly
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants