ros入门(2)—使用clion IDE进行ros开发

clion is a cross-platform IDE for C and C++,因为用pycharm和IDEA用习惯了,所以继续选择了jetbrains的clion,不过遗憾的是clion没有社区版。

ubuntu下使用clion调试ros package,

  1. Open a command line;
  2. Run catkin_make on your package;
  3. source your catkin_workspace/devel/setup.bash file;
  4. Start CLion from command, such as clion.sh.
  5. Close any open projects in CLion and select Import Project from Sources,Select ONLY the src directory in your workspace for the import.
  6. CLion will build symbols for several minutes, then you should be ready to go.

CLion should then start with knowledge about the packages in your catkin workspace, through the local environment variables set up by the setup.bash file.

猜你喜欢

转载自blog.csdn.net/lewif/article/details/79867543