Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:tutorials:pycharm [2019/11/18 11:53]
simon created
wiki:tutorials:pycharm [2019/11/18 11:55] (current)
simon
Line 5: Line 5:
   - Start PyCharm from a terminal, where your workspace is sourced.   - Start PyCharm from a terminal, where your workspace is sourced.
   - When you first start PyCharm, open your whole ROS workspace. ​   - When you first start PyCharm, open your whole ROS workspace. ​
-  - Once the IDE has started you have to mark your ''​src''​ folder as source root{{:​wiki:​tutorials:​mark_source_root.png?​600|}} 
   - in settings -> project: <folder you selected earlier> -> project interpreter,​ you have to select the python version that is used by ROS. That should be Python 2.7.3 (/​usr/​bin/​python2.7).   - in settings -> project: <folder you selected earlier> -> project interpreter,​ you have to select the python version that is used by ROS. That should be Python 2.7.3 (/​usr/​bin/​python2.7).
   - If everything went right, you should be able to import rospy in a console   - If everything went right, you should be able to import rospy in a console
 +  - Mark your ''​src''​ folder as source root{{:​wiki:​tutorials:​mark_source_root.png?​600|}},​ otherwise the files inside can not be found. You have to do this for all of the python packages in your workspace.