ArduPilot / ArduPilot/MAVProxy

SITL USB Port Access Denied

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

Description

I am attempting to use SITL on Windows 11 to send simulated ArduCopter telemetry data to a live ArduTracker via a Telemetry Radio, using this command:

$ ../Tools/autotest/sim_vehicle.py -A "--uartC=uart:/dev/ttyS14" --console --map , where the radio is connected to COM15.

sim_vehicle.py appears to start ok, creating the expected Command, Console and Map screens. However, some tty-related errors are logged in ArduCopter.log.

I get an Access Denied error when I try to add COM15 using the Console Link drop-down.

The ArduCopter.log file shows "Failed to open (/dev/ttyS14): No such device or address".

Is the required tty code missing from sim_vehicle.py ? Any assistance will be appreciated.

Please bear in mind that I am working in Windows here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Tools/autotest/sim_vehicle.py and reproduce the Windows 11 command using the reported COM15 connection and /dev/ttyS14 setting. Review the tty-related errors in ArduCopter.log and the Console Link behavior; done means the intended serial port can be added without Access Denied or No such device errors.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.