ROS在QT环境下编译 报错如下
ROS在QT环境下编译 报错如下
FATAL] [1578224064.647733042]: ROS_MASTER_URI is not defined in the environment. Either type the following or (preferrably) add this to your ~/.bashrc file in order set up your local machine as a ROS master:
export ROS_MASTER_URI=http://localhost:11311
then, type ‘roscore’ in another shell to actually launch the master program.
解决方案
这个属于环境搭建问题
图片: 点击“Edit”,在 变量 处输入ROS_MASTER_URI,在 值 处输入 http://localhost:11311,再次编译即可。