Skip to content

Conversation

@Ikubimu
Copy link
Contributor

@Ikubimu Ikubimu commented Nov 17, 2024

Passed test Inscribe, turn_on, turn_off, get_direccion, get counter and reset.

Inscribe on Encoder.cpp has been modifiied to return a id != 0

@Ikubimu Ikubimu changed the title Test Passed Encoder, modify Encoder::Inscribe also [FW-95]TestEncoder Nov 17, 2024
@Ikubimu Ikubimu requested review from g0nz4I0 and jmaralo November 17, 2024 17:32
g0nz4I0

This comment was marked as outdated.

Copy link
Member

@g0nz4I0 g0nz4I0 left a comment

Choose a reason for hiding this comment

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

I understand the logic behind returning 0 if it fails, but there is no strict need, the ErrorHandler will trigger.

You can check it was triggered by checking a variable static double ErrorHandler::error_triggered;

@jdmarmen jdmarmen merged commit 6d2072f into development Nov 17, 2024
@jdmarmen jdmarmen deleted the FW-95/TestEncoder branch November 17, 2024 17:55
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.

4 participants