ROS學習之Arduino篇——Arduino發佈(Publisher)節點

#include <ros.h> #include <std_msgs/String.h> ros::NodeHandle nh; std_msgs::String str_msg; ros::Publisher chatter("chatter", &str_msg); char hello[13] = "hello world!"; void setup(){ nh.initNod
相關文章
相關標籤/搜索