Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Unable to import Custom Python service module #16

Open
kdhansen opened this issue Mar 20, 2018 · 1 comment
Open

Unable to import Custom Python service module #16

kdhansen opened this issue Mar 20, 2018 · 1 comment

Comments

@kdhansen
Copy link

Sorry, if this is obvious to seasoned users. I am just trying out VSCode with my ROS development.

I have defined a .msg and .srv in my package. I have built the workspace, which works fine in the created terminal. But running a python debugging session stops at the import of the custom service module. I have tried the "ROS: Update Python Path" command, but that does not seem to include the built module. If I create a terminal with "ROS: Create Terminal" and "> source devel/setup.bash" in that terminal, the node runs fine.

@beetleskin
Copy link

Yes, the plugin lacks to set the PYTHONPATH variable .. it only sets "python.autoComplete.extraPaths" in the settings.json.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants