MyCobot320Pi2022默认启动ROS1,如何换成ROS2

  1. Unset the ROS 1 Environment
unset ROS_DISTRO
unset ROS_ROOT
unset ROS_PACKAGE_PATH
unset ROS_MASTER_URI
unset ROS_PYTHON_VERSION
  1. Source ROS 2
source /opt/ros/galactic/setup.bash
  1. 修改.bashrc文件
    修改最后一行,将其中的neotic换成galactic
    (neotic是ROS1中的,galactic是ROS2中的)
posted @ 2024-10-25 15:10  susiezsf  阅读(0)  评论(0编辑  收藏  举报