![]() | 1 | initial version |
Add the path to rclpy in your linter import paths. For my case it was /home/khairulm/ros2_foxy/install/rclpy/lib/python3.8/site-packages
![]() | 2 | No.2 Revision |
Add the path to rclpy in your linter import paths. For my case it was /home/khairulm/ros2_foxy/install/rclpy/lib/python3.8/site-packages
Edit: For ros2 foxy, if you installed it using the Debian package (apt install ros-foxy-ros-base), the visual studio code linter already knows where to look for rclpy