Skip to content

Commit

Permalink
Update the power limit test to pass with current firmware
Browse files Browse the repository at this point in the history
For some reason the current test hardware needs these values, even
when run agains the original commit that introduced this test.
  • Loading branch information
jpieper committed Jun 9, 2021
1 parent 78d4b05 commit b447686
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions utils/dynamometer_drive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1857,9 +1857,9 @@ class Application {
double expected_speed_Hz;
} tests[] = {
{ 100.0, 4.04 },
{ 20.0, 2.34 },
{ 10.0, 1.61 },
{ 5.0, 1.11 },
{ 20.0, 3.0 },
{ 10.0, 2.09 },
{ 5.0, 1.45 },
};

for (const auto test : tests) {
Expand Down Expand Up @@ -1966,6 +1966,10 @@ class Application {
co_await DoRezeroTest(0.0);
co_await DoRezeroTest(4.2);
co_await DoRezeroTest(-7.9);
co_await DoRezeroTest(-32764.0);
co_await DoRezeroTest(-32767.0);
co_await DoRezeroTest(32763.0);
co_await DoRezeroTest(32767.0);

co_return;
}
Expand Down

0 comments on commit b447686

Please sign in to comment.