ros-drivers / rosserial

A ROS client library for small, embedded devices, such as Arduino. See: http://wiki.ros.org/rosserial
508 stars 527 forks source link

ros_lib_molidic (build fail ) in platform io #574

Closed niboon39 closed 2 years ago

niboon39 commented 2 years ago

image

romainreignier commented 2 years ago

I do not use mbed anymore but from what I understand from this document, the BufferedSerial class is now part of the official mbed API, defined in drivers/include/drivers/BufferedSerial.h. The rosserial_mbed should be refactor to use these new interfaces and remove the dependency of the third-party library.

niboon39 commented 2 years ago

Thank you . I can use it

romainreignier commented 2 years ago

Hi @niboon39 I am glad that you could fix your issue. Could you provide some explanations on how you have managed to fix it. This might help others. Maybe a change should be made to the rosserial_mbed package?

niboon39 commented 2 years ago

When you genarate project in platformio. Add platform_packages = framework-mbed @ ~6.51504.0 in "platformio.ini"

Tutorial_ROS_MBED

https://github.com/niboon39/Tutorial_ROS_MBED.git