Skip to content

Conversation

sethome2
Copy link

Although pymavlink supports the use of serial connections with a flight control board and utilizes a serial connection package, this information is not reflected in the requirements.txt file.

Simply running "pip install -r pymavlink/requirements.txt" and attempting to use the mavutil module over serial will not work as expected.

@amilcarlucas
Copy link
Contributor

Can you please rebase and force push this?

Although pymavlink supports the use of serial connections with a flight control board and utilizes a serial connection package, this information is not reflected in the requirements.txt file.

Simply running "pip install -r pymavlink/requirements.txt" and attempting to use the mavutil module over serial will not work as expected.
@sethome2
Copy link
Author

Already rebased and force-pushed. Could you please approve and run the workflows? Thanks! :)

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As silly as this sounds, we don't actually require pyserial because it's not technically required to use pymavlink. You can create other sorts of backends that don't involve serial. This is also why the import for serial happens when you try to create a mavserial object.

If you can find somewhere to put this in as a "recommends" that would be better.

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.

3 participants