CLion setup ROS

1. Manage ROS Environment

Final purpose is to make sure ROS_PACKAGE_PATH environment variable includes the directory your source code in.

check it as follow 

$ echo $ROS_PACKAGE_PATH
/home/youruser/catkin_ws/src:/opt/ros/kinetic/share

In my case, the ROS_PACKAGE_PATH is still /opt/ros/kinetic after operating as described in the tutorials. It works after I lauch the ROS app with roslaunch xxx.

 

2. CLion config

It works in 2020.01.

posted @ 2020-05-26 23:20  Feng_zhulin  阅读(124)  评论(0编辑  收藏  举报