Skip to content

Failure testing for 4.0 flight certification#15965

Closed
amilcarlucas wants to merge 12 commits intoArduPilot:Copter-4.0from
amilcarlucas:pr-failure-testing-for-4.0-certification
Closed

Failure testing for 4.0 flight certification#15965
amilcarlucas wants to merge 12 commits intoArduPilot:Copter-4.0from
amilcarlucas:pr-failure-testing-for-4.0-certification

Conversation

@amilcarlucas
Copy link
Contributor

@amilcarlucas amilcarlucas commented Dec 3, 2020

This is a forward port of matternet/ardupilot#136 from Copter-3.5.7 to to the Copter-4.0 branch.
I also improved the commit messages a bit.

This is meant for testing purposes only. This enables some flight certification tests.

DO NOT use in production

Copy link
Contributor Author

@amilcarlucas amilcarlucas left a comment

Choose a reason for hiding this comment

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

I could not forward port the very last hunk on:
https://github.com/matternet/ardupilot/pull/136/files#diff-5982efe4f3484c5853d9713d7608b7b6d050325d4c204b92952f63031b14066aL66

That hole void AP_RangeFinder_Backend::update_pre_arm_check() function is missing in Copter-4.0 :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why aren't the other kill functions also listed here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

get_primary() is no longer available in Copter-4.0. Any ideas how to fix this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should I expand this to 8 motors? Anybody interested in that?

Copy link
Member

Choose a reason for hiding this comment

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

Strictly it should yo up to 12, maybe better to have a bitmask param and single switch. For motors you can do it all with scripting, then we don't have the case where people set this up by mistake.

Copy link
Contributor

@Hwurzburg Hwurzburg Dec 3, 2020

Choose a reason for hiding this comment

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

perhaps you could reuse one of the plane only rc options so as to avoid burning one up just for testing/certification in Copter only....like 87,88, or 89? but I guess we have a lot in the 100 range

@WickedShell
Copy link
Contributor

WickedShell commented Dec 3, 2020 via email

@amilcarlucas
Copy link
Contributor Author

amilcarlucas commented Dec 4, 2020

@WickedShell This is not meant to be merged. This is meant to be a PR for developers only.

@WickedShell
Copy link
Contributor

WickedShell commented Dec 4, 2020 via email

@amilcarlucas amilcarlucas force-pushed the pr-failure-testing-for-4.0-certification branch from 7d20829 to e527e91 Compare December 14, 2020 10:54
@amilcarlucas
Copy link
Contributor Author

@WickedShell
it is targeted at 4.0 because the production vehicles that we sell use that code.
it is a PR because other people, dealing with the same issue, might find it interesting, and because I need some help to make sure I got it right.

@amilcarlucas amilcarlucas force-pushed the pr-failure-testing-for-4.0-certification branch from e527e91 to 1faa138 Compare December 16, 2020 09:55
tridge and others added 12 commits January 5, 2021 12:51
…ting.

DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
…e testing.

DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
Does only work for Ublox GNSS.
DO NOT use this in production code.
Meant for flight certification tests and code development purposes only
@amilcarlucas amilcarlucas force-pushed the pr-failure-testing-for-4.0-certification branch from 1faa138 to 517d10a Compare January 5, 2021 11:52
@IamPete1
Copy link
Member

Added to 4.0 back-port projects and closing. Otherwise this will it open for ever.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants