Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: make PARACHUTE_ACTION enum consistent #1633

Closed
wants to merge 1 commit into from

Conversation

julianoes
Copy link
Collaborator

I think that's more consistent and easier to grep this way.

I think that's more consistent and easier to grep this way.
@LorenzMeier
Copy link
Member

@auturgy @peterbarker This would be good cleanup, but could be a breaking change - is it worth the risk from your perspective?

@hamishwillee
Copy link
Collaborator

hamishwillee commented May 12, 2021

FWIW

@julianoes
Copy link
Collaborator Author

In my opinion it should be ok to break this because it's caught at compile time which is easy to fix. Plus, the data stays the same on the wire.

Unless people disagree, then I'll close this.

@auturgy
Copy link
Collaborator

auturgy commented May 12, 2021

I don't disagree the intent, but don't think a cosmetic tidy up warrants breaking safety critical systems.

@hamishwillee
Copy link
Collaborator

hamishwillee commented May 12, 2021

I don't disagree the intent, but don't think a cosmetic tidy up warrants breaking safety critical systems.

Both the change and the risk are trivial. Personally I think it is worth making the change. I would object to the same change in MAV_COMPONENT, because there are so many instances of these things that the risk and effort are increased.

@auturgy
Copy link
Collaborator

auturgy commented May 12, 2021

I don't see the risk as trivial: this is implemented in a number of ways external to the flight controller and gcs. I agree the intent but introducing risk into a safety critical system for what is a cosmetic tidy up does not make sense to me. The benefit is trivial compared to the consequence.

@julianoes
Copy link
Collaborator Author

Just to understand: @auturgy what is your safety concern? This does not change the meaning or values on the wire.

@auturgy
Copy link
Collaborator

auturgy commented May 12, 2021 via email

@LorenzMeier
Copy link
Member

LorenzMeier commented May 12, 2021

I think those concerns are fair and the risk / reward is not in favor of this change. I think we need to solve versioning in order to be able to make changes like this.

@LorenzMeier LorenzMeier deleted the pr-parachute-enum branch May 12, 2021 08:59
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.

None yet

4 participants