-------------------------------------------
ROS VERSION: ros-foxy | ROS_DOMAIN_ID: 66
-------------------------------------------
ROS_DISTRO was set to 'foxy' before. Please make sure that the environment does not mix paths from different distributions.
确认自己的ros版本的代码为
echo $ROS_DISTRO