better defaults
This commit is contained in:
parent
a85fccd1c2
commit
a5ff644331
8
main.cpp
8
main.cpp
|
@ -309,9 +309,9 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
bool exit = false;
|
bool exit = false;
|
||||||
bool update_wf = true;
|
bool update_wf = true;
|
||||||
float freq_setpoint_local = 25.8f;
|
float freq_setpoint_local = 19.1f;
|
||||||
float tec_bias_local = 0.105f;
|
float tec_bias_local = 0.030f;
|
||||||
float tec_p_local = -0.022f;
|
float tec_p_local = -0.20f;
|
||||||
while(!exit && !glfwWindowShouldClose(window)) {
|
while(!exit && !glfwWindowShouldClose(window)) {
|
||||||
glfwPollEvents();
|
glfwPollEvents();
|
||||||
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
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);
|
ImGui::SliderFloat("TEC P", &tec_p_local, -1.0f, 0.0f);
|
||||||
freq_setpoint = freq_setpoint_local;
|
freq_setpoint = freq_setpoint_local;
|
||||||
tec_bias = tec_bias_local;
|
tec_bias = tec_bias_local;
|
||||||
tec_p = 0.01f*tec_p_local;
|
tec_p = 0.001f*tec_p_local;
|
||||||
if(ImGui::Button("Exit"))
|
if(ImGui::Button("Exit"))
|
||||||
exit = true;
|
exit = true;
|
||||||
ImGui::Text("Frames processed: %d", (int)frames_processed);
|
ImGui::Text("Frames processed: %d", (int)frames_processed);
|
||||||
|
|
Loading…
Reference in New Issue