这是我在Mac上安装ROS2时遇到的一些问题及解决办法,寻找问题的思路就是多去github上耐心看issue
环境
- 操作系统:macOS “High Sierra” 10.13.6
- 安装方式:二进制包安装
- ROS2版本:Bouncy
- 安装参考教程:https://index.ros.org/doc/ros2/OSX-Install-Binary/
问题1
问题描述:
安装完成后,运行sudo ros2 run demo_nodes_cpp talker
后提示:
pkg_resources.DistributionNotFound: The ‘ros2cli==0.5.4’ distribution was not found and is required by the application
运行. ~/ros2_install/ros2-osx/setup.zsh
或. ~/ros2_install/ros2-osx/local_setup.zsh
后提示:
[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[/Applications/rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment