ROS
点解质
这个作者很懒,什么都没留下…
展开
-
ROS
0. 启动ROS节点管理器、ROS参数服务器和rosout日志节点 roscore 1. 查找ROS软件包集/软件包的路径: rosstack find [软件包集] rospack find [软件包] 2. 获取ROS软件包集/软件包中的文件列表: rosls [软件包集/软件包] 3. 进入ROS软件包集/软件包目录下: roscd [软件包集/软件包] ...原创 2019-06-20 15:42:57 · 182 阅读 · 0 评论 -
如何订阅并保存rosbag中的点云消息?(C++)
#include "pcl/io/pcd_io.h" #include "pcl/point_cloud.h" #include "pcl/point_types.h" #include "pcl_conversions/pcl_conversions.h" #include "ros/ros.h" #include "sensor_msgs/PointCloud2.h" static siz...原创 2019-06-26 17:42:26 · 1944 阅读 · 1 评论 -
如何读取rosbag中的标准消息?(C++)
#include <rosbag/bag.h> #include <rosbag/view.h> #include <std_msgs/Int32.h> #include <std_msgs/String.h> #include <boost/foreach.hpp> #define foreach BOOST_FOREACH ro...原创 2019-07-03 15:57:23 · 3737 阅读 · 0 评论