安装ros2后由于ros与ros2共存导致source install/setup.bash失败的问题
-
@小鱼 啊这,怎么字又大又小,井号注释符也消失了
-
@小鱼
jin@jin-virtual-machine:~/桌面/towm_ws$ source install/setup.bash
ROS_DISTRO was set to 'foxy' before. Please make sure that the environment does not mix paths from different distributions.
ROS_DISTRO was set to 'noetic' before. Please make sure that the environment does not mix paths from different distributions. -
@2418760838 建议学一下markdown语法
-
@2418760838 打开心终端会提示
ros:foxy(1) noetic(2) ?
吗?这个符号看起来很奇怪
1) source /opt/ros/foxytup.bash;; 2) source /opt/ros^etictup.bash;;
-
@小鱼 会的,然后我输入foxy或者noetic就可以继续了
-
@小鱼 好的,我去了解一下
-
@2418760838 你应该输入1或者2,而不是版本的名称
-
@小鱼 输了1还是一样
-
@2418760838 将你的工作空间除src外删除后再次编译
-
@小鱼 !不会报错了!谢谢小鱼老师
-