Skip to content

Cannot find reference in __init__.py, pycharm #2736

@ar-mine

Description

@ar-mine

Description

After I catkin build the workspace with Moveit! and use some components of them. But I find some reference cannot be found with pycharm editor although it works when I run the codes. But could anyone provides me some suggestions to solve it?

Thank you very much!

Your environment

  • ROS Distro: Noetic
  • OS Version: Ubuntu 20.04
  • Source build
  • Release version: 1.1.5
  • Master branch

After build the source of moveit, I found there is an index of needed modules in the devel/ directory, but I don't know why pycharm cannot find it and throw errors.

Attachment:
Image 1: Some errors when importing movit module.
Image 2: The init.py in the devel/.

Screenshot from 2021-06-24 11-36-30

Screenshot from 2021-06-24 11-47-18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions