Skip to content

Comments

core: ardupilotmanager: fix support for autopilots on non-usb serial ports#1580

Draft
Williangalvani wants to merge 1 commit intobluerobotics:masterfrom
Williangalvani:serialportsfix
Draft

core: ardupilotmanager: fix support for autopilots on non-usb serial ports#1580
Williangalvani wants to merge 1 commit intobluerobotics:masterfrom
Williangalvani:serialportsfix

Conversation

@Williangalvani
Copy link
Member

This works in my head. needs testing.

@ES-Alexander
Copy link
Collaborator

The code here seems fine to me, although we may want to add some logging for which boards have been detected.

From a cleanliness standpoint, Detector.detect_serial_flight_controllers should be a classmethod not a staticmethod, but perhaps that's out of scope for this PR since it'd change the existing code?

@Williangalvani
Copy link
Member Author

so... this will not work as we don't actually try to talk mavlink to identify the boards. (we only check for usb pid/vid)
perhaps we really need an override option?

@ES-Alexander
Copy link
Collaborator

perhaps we really need an override option?

Not sure how annoying it'd be to implement, but it presumably would be quite useful for people if there was a config file of 'extras' where each line just specifies a device path or something to try to connect to?

@patrickelectric
Copy link
Member

@CLAassistant
Copy link

CLAassistant commented Aug 23, 2023

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants