Skip to content

failsafe: battery unhealthy unit test#25985

Open
Claudio-Chies wants to merge 3 commits intomainfrom
pr-battery_unhealthy
Open

failsafe: battery unhealthy unit test#25985
Claudio-Chies wants to merge 3 commits intomainfrom
pr-battery_unhealthy

Conversation

@Claudio-Chies
Copy link
Copy Markdown
Member

Solution

Adds unit test to thest the failsafe for unhealty batteries during the spoolup phase

Test coverage

  • Tested localy

MaEtUgR
MaEtUgR previously approved these changes Dec 9, 2025
Copy link
Copy Markdown
Member

@MaEtUgR MaEtUgR left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for adding the test 👍

Comment thread src/modules/commander/failsafe/failsafe_test.cpp Outdated
Comment thread src/modules/commander/failsafe/failsafe_test.cpp Outdated
@Claudio-Chies Claudio-Chies force-pushed the pr-battery_unhealthy branch 2 times, most recently from 6c48055 to 24a3fa9 Compare December 19, 2025 15:17
@Claudio-Chies Claudio-Chies requested a review from MaEtUgR January 6, 2026 09:58
@MaEtUgR MaEtUgR force-pushed the pr-battery_unhealthy branch from c0f2846 to 5d0faf4 Compare February 23, 2026 19:21
public:
Failsafe(ModuleParams *parent) : FailsafeBase(parent) {}

void updateArmingState(const hrt_abstime &time_us, bool armed, const failsafe_flags_s &status_flags);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should stay protected right? 👀

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.

2 participants