From b4476866568e0b0f198b5e7615312a9985774b58 Mon Sep 17 00:00:00 2001 From: Josh Pieper Date: Tue, 8 Jun 2021 22:50:54 -0400 Subject: [PATCH] Update the power limit test to pass with current firmware For some reason the current test hardware needs these values, even when run agains the original commit that introduced this test. --- utils/dynamometer_drive.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/utils/dynamometer_drive.cc b/utils/dynamometer_drive.cc index 0c7c310f..4c9661e0 100644 --- a/utils/dynamometer_drive.cc +++ b/utils/dynamometer_drive.cc @@ -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) { @@ -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; }