ArduPilot / ArduPilot/MAVProxy

Joystick USB disconnect is non-recoverable.

Open
#538 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

To reproduce:
while using USB joystick, pull the USB plug.
on reconnect, it won't work.
module unload joystick
Note: even now, MANUAL_CONTROL packets are produced, prohibiting pilot from using RC.
module load joystick
won't help
- user needs to terminate and restart MAVProxy to regain joystick / MANUAL_CONTROL

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in MAVProxy by disconnecting and reconnecting a USB joystick, then try unloading and loading the joystick module as described. Trace the joystick handling and MANUAL_CONTROL behavior around disconnect and reconnect; done means the joystick recovers without restarting MAVProxy and stale MANUAL_CONTROL packets no longer prevent RC use.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.