ArduPilot / ArduPilot/MAVProxy
–default-modules cannot override .mavinit.scr to disable console module
- Dominant language
- Python
- Stars
- 595
- Forks
- 773
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 18
Description
console module is not useful in command-line environment and many integrated system. However, so far the only way to reliably disable it is to remove 'module load console' from .mavinit.scr.
If not removed the console module will always be loaded regardless of any mavproxy.py command-line option, even with the new –default-modules it is not possible:
```
mavproxy.py --default-modules='link' --daemon
```
This will still pop up the console Window on my linux + Gnome. Haven't test on Windows yet.
Is this a deliberate design or should be enabled?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with mavproxy.py --default-modules='link' --daemon while .mavinit.scr still contains module load console. Trace the startup module-loading behavior and determine how the command-line option interacts with that file; done means the console module does not load when it is excluded by --default-modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100