better defaults

This commit is contained in:
Sebastien Bourdeauducq 2023-09-19 18:02:05 +08:00
parent a85fccd1c2
commit a5ff644331
1 changed files with 4 additions and 4 deletions

View File

@ -309,9 +309,9 @@ int main(int argc, char* argv[])
bool exit = false;
bool update_wf = true;
float freq_setpoint_local = 25.8f;
float tec_bias_local = 0.105f;
float tec_p_local = -0.022f;
float freq_setpoint_local = 19.1f;
float tec_bias_local = 0.030f;
float tec_p_local = -0.20f;
while(!exit && !glfwWindowShouldClose(window)) {
glfwPollEvents();
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
@ -356,7 +356,7 @@ int main(int argc, char* argv[])
ImGui::SliderFloat("TEC P", &tec_p_local, -1.0f, 0.0f);
freq_setpoint = freq_setpoint_local;
tec_bias = tec_bias_local;
tec_p = 0.01f*tec_p_local;
tec_p = 0.001f*tec_p_local;
if(ImGui::Button("Exit"))
exit = true;
ImGui::Text("Frames processed: %d", (int)frames_processed);