Update deprecated MAV_TYPE enum for tailsitter #889
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This fixes #571.
With latest Pymavlink (master), the mavgen step works, but on trying to import mavutil, I get this error.
![Screenshot 2023-12-15 at 1 46 44 PM](https://private-user-images.githubusercontent.com/23355179/290765467-18198763-edeb-4181-8d31-a4b79447e721.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTk3NjYsIm5iZiI6MTczOTAxOTQ2NiwicGF0aCI6Ii8yMzM1NTE3OS8yOTA3NjU0NjctMTgxOTg3NjMtZWRlYi00MTgxLThkMzEtYTRiNzk0NDdlNzIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEyNTc0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyOTI5OWZkOWNiZTZjMmIzODJjMTA0NTM1M2VmNzA3Nzk4YTk5YzZmYjFkMjhkMzMyMjA3NjkyNzBjNTc3YzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Fk6-mSYUxIpuJpdyyLH4xwQd6q8oBPfGzT9AX9AtR2w)
It seems that these two enums were changed, but weren't reflected in mavutil.py
I believe there is still a reference to the old enum name in Swift generator tests
pymavlink/generator/swift/Tests/MAVLinkTests/Testdata/common.xml
, but I haven't run that locally.