mros2 on MBed example reported at ROS Japan UG #44 LT. [Event] https://rosjp.connpass.com/event/222141/ [Slide] https://www.slideshare.net/smorita1/mros2-on-mbed

Dependencies:   mbed-mros2

Please refer to the getting started.

https://github.com/mROS-base/mros2-mbed

Files at this revision

API Documentation at this revision

Comitter:
smoritaemb
Date:
Mon Mar 14 14:22:46 2022 +0000
Parent:
6:26a6d8246981
Commit message:
Modified the string echo back sample to use the templates.hpp which includes all message types existing in the mros2 repository.

Changed in this revision

mbed-mros2.lib Show annotated file Show diff for this revision Revisions of this file
templates.hpp Show diff for this revision Revisions of this file
--- a/mbed-mros2.lib	Sun Mar 13 22:31:35 2022 +0900
+++ b/mbed-mros2.lib	Mon Mar 14 14:22:46 2022 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/smoritaemb/code/mbed-mros2/#159877d749c2
+https://os.mbed.com/users/smoritaemb/code/mbed-mros2/#de187e431bef
--- a/templates.hpp	Sun Mar 13 22:31:35 2022 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-
-#include "std_msgs/msg/string.hpp"
-
-
-template mros2::Publisher mros2::Node::create_publisher<std_msgs::msg::String>(std::string topic_name, int qos);
-template void mros2::Publisher::publish(std_msgs::msg::String &msg);
-
-
-
-template mros2::Subscriber mros2::Node::create_subscription(std::string topic_name, int qos, void (*fp)(std_msgs::msg::String*));
-template void mros2::Subscriber::callback_handler<std_msgs::msg::String>(void *callee, const rtps::ReaderCacheChange &cacheChange);