【ROS2 Foxy】解决 connext 中间件导致的警告:NDDSHOME environment variable has not been set

文章目录

  • 问题背景
  • 解决方法
  • 参考链接

问题背景

执行安装命令:

sudo apt install ros-foxy-rmw-connext-cpp

终端出现警告:

[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[/opt/rti.com/rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Conne

解决方法

这里我不想用这个中间件了,所以选择直接卸载:

sudo apt purge ros-foxy-rmw-connext-cpp
sudo apt purge ros-foxy-connext-cmake-module

参考链接

[1] How to supress Connext warning in ROS2

你可能感兴趣的:(ROS2,ros2,linux,dds)