clion is a cross-platform IDE for C and C++,因为用pycharm和IDEA用习惯了,所以继续选择了jetbrains的clion,不过遗憾的是clion没有社区版。
ubuntu下使用clion调试ros package,
- Open a command line;
- Run catkin_make on your package;
- source your catkin_workspace/devel/setup.bash file;
- Start CLion from command, such as clion.sh.
- Close any open projects in CLion and select Import Project from Sources,Select ONLY the src directory in your workspace for the import.
- 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.