摘要:
1.首先创建msg文件 在cd ~//catkin_workspace/src/learning_topic/msg/新建person.msg string name uint8 age uint8 sex uint8 unknown = 0 uint8 male = 1 uint8 female 阅读全文
摘要:
cd ~/catkin_workspace/src/topic_publisher/src 创建代码pose_subscribes.cpp /** * 该例程将订阅/turtle1/pose话题,消息类型turtlesim::Pose */ #include <ros/ros.h> #include 阅读全文
摘要:
1.创建功能包cd ~/catkin_workspace/srccatkin_create_pkg learning_topic std_msgs rospy roscpp geometry_msgs turtlesimcd ~/catkin_workspace/src/topic_publishe 阅读全文
摘要:
1.创建空间 mkdir -p ~/catkin_workspace/src cd ~/atkin_workspace/src catkin_init_workspace //初始化工作空间 2.编译工作空间 cd ~/catkin_workspace catkin_make catkin_make 阅读全文
摘要:
1、在linux系统或者虚拟机上安装linux系统,并成功安装ros。 2、测试安装ros是否安装成功 1、ros安装目录默认在/opt/ros/版本/目录下 2、在桌面或者任意位置 ,按下键盘“ctrl+alt+T”,打开终端1, 终端一:roscore(ros的管理中心) 终端二: rosrun 阅读全文