From cef639784bd93c496458836188cdda98f962ba6e Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Thu, 24 Nov 2022 10:00:05 -0500 Subject: [PATCH] control_loop_sim: modify second P value --- firmware/rtl/control_loop/control_loop_sim.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/rtl/control_loop/control_loop_sim.cpp b/firmware/rtl/control_loop/control_loop_sim.cpp index 1d117ed..6eadeb6 100644 --- a/firmware/rtl/control_loop/control_loop_sim.cpp +++ b/firmware/rtl/control_loop/control_loop_sim.cpp @@ -73,7 +73,8 @@ int main(int argc, char **argv) { if (tick == 50000) { mod->cmd = CONTROL_LOOP_WRITE_BIT | CONTROL_LOOP_P; - mod->word_into_loop = 0b010111000010100011110101110000101000111; + /* 0.60 */ + mod->word_into_loop = 0b1001100110011001100110011001100110011001100; mod->start_cmd = 1; printf("adjust P\n"); }