How can I load the types of custom interfaces without the VScode ROS extension in Rosject IDE?

I have created a simple my_robot_interfaces package, which has an interface for an action (“CountUntil.action”)

Then I have created a new package, called actions_py, where my_robot_interfaces is set as a dependency. With the following code, it seems like the IDE is unable to fetch the type of CountUntil:

from my_robot_interfaces.action import CountUntil
When I hover my mouse it says: (import) CountUntil: Any

On my local setup, with ROS vscode extension, it was able to fetch the type correctly.

Is there a solution to this? Although not critical, I believe most ROS developers using this platform would benefit from this.

True, in C++ i believe we have this feature but in python unless the module is inside the same location as the script that is invoking it , it doesn’t work.

We will set it as an upgrade for the future.

Thanks a lot for the report

1 Like

Thanks! Btw love this platform as a macbook m2 chip user

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.