ROS 发布者程序,控制小龟行走
#include <ros/ros.h>#include <geometry_msgs/Twist.h>#include <stdlib.h>int main ( int argc , char ** argv ) {ros::init (argc, argv, "publish_velocity") ;ros::NodeHandle nh ;ros::Publisher pub = nh.a