ArduPilot / ArduPilot/MissionPlanner
TAKEOFF.py Script Error
- Dominant language
- C#
- Stars
- 2.4k
- Forks
- 2.9k
- Avg merge
- 19h 16m
- Merged PRs (30d)
- 4
Description
I'm trying to run the TAKEOFF.py script in VsCode (found in MissionPlanner/Scripts/TAKEOFF.py). There's an error for "import System" (line 15) that say's "Import "System" could not be resolved Pylance [reportMissingImports]". I have tried researching this import error but I have not found anything yet.
`import sys`
`import math`
`import clr`
`import time`
`import System`
`from System import Byte`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with MissionPlanner/Scripts/TAKEOFF.py, especially the import System line reported by Pylance. Reproduce the warning in VS Code and inspect how this script's clr and System dependencies are provided; done means the import warning is resolved or the supported setup is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, python
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100