This will make bash source ~/.bashrc, in which ROS has to be sourced and parameterized, and start that IDE. E.g., replace its command eclipse with bash -i -c 'eclipse'. Likewise, you can enhance your IDE's launcher icon to load your shells environment. Differently, CLion has a plugin allowing to automatically setup it, avoid the trouble to run CLion from a ROS-sourced shell. All IDEs might have a config for that and, for most IDEs, the easiest way is to run it from a ROS-sources shell. On ROS Answers there is a thread about Which IDE(s) do ROS developers use? that might have further hints not yet entered here.įor building and running ROS programs from inside IDEs, the ROS enviroment has to be set up. Getting ROS environment variables in NetBeans.Running and debugging your executables within Eclipse.