ROS2编译与运行测试上一篇:ROS2安装与配置 源码 首先下载ROS2测试代码: 1git clone https://github.com/ros2/examples 将其放到ros2的工作空间ros2_ws中。 然后运行编译 1colcon build 然后会在工作空间文件夹自动生成build、install、log三个文件夹。 运行 所有可执行文件都在install文件夹下, 分别在两个终端执行: 12r 2020-12-08 ROS2 #Linux #编译 #ROS2
ROS2安装与配置ROS1中由master和client组成,如果master挂掉,那么系统就会挂。而ROS2是真正的分布式,通过DDS通信。 设置源 推荐清华源 1234sudo apt updatesudo apt install curl gnupg2 lsb-releasecurl https://repo.ros2.org/repos.key | sudo apt-key add -sudo sh -c 2020-11-02 ROS2 #Linux #ROS2