ArduPilot / ArduPilot/MAVProxy

Initialize joystick on plug after module loaded

Open
#319 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
595
Forks
773
Avg merge
2d 6h
Merged PRs (30d)
18

Description

When using "module joystick" plugging joystick out and in again doesn't affect it's work. But if joystick module loaded when no joysticks were available then it will not be working when plugged. Joystick module should check joystick availability or react on device changes.

If mavproxy autostarted on embedded computer in GCS then start without joystick will deny it's work after joystick plugged in.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the joystick module's initialization path and how it discovers available devices when MAVProxy starts. Reproduce the case where no joystick is present at module load, then verify that plugging one in enables joystick operation without restarting MAVProxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.