init: ROS2 learning suite
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"_comment": "pyright (Pylance) 配置。让 IDE 知道 rclpy / sensor_msgs 等在哪里,且排除构建/venv 目录。",
|
||||
|
||||
"include": [
|
||||
"src/**/*.py",
|
||||
"tools/**/*.py"
|
||||
],
|
||||
|
||||
"exclude": [
|
||||
"**/__pycache__",
|
||||
".venv",
|
||||
"build",
|
||||
"install",
|
||||
"log",
|
||||
"src/**/build",
|
||||
"src/**/install"
|
||||
],
|
||||
|
||||
"_extraPaths_comment": "Linux/WSL/Docker 容器内 ROS2 的 site-packages;Windows 上不存在,被 ignore_missing_imports 兜底。",
|
||||
"extraPaths": [
|
||||
"/opt/ros/humble/lib/python3.10/site-packages",
|
||||
"/opt/ros/humble/local/lib/python3.10/dist-packages"
|
||||
],
|
||||
|
||||
"reportMissingImports": "warning",
|
||||
"reportMissingTypeStubs": "none",
|
||||
|
||||
"pythonVersion": "3.10",
|
||||
"typeCheckingMode": "basic",
|
||||
|
||||
"venvPath": ".venv"
|
||||
}
|
||||
Reference in New Issue
Block a user