From 42cec4308da82db3288f42fe27530f54c9f688d2 Mon Sep 17 00:00:00 2001 From: pjlao307 Date: Tue, 30 Oct 2018 16:57:32 -0700 Subject: [PATCH] Update tuning.h Update default delta_step. --- selfdrive/ui/tuning.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/tuning.h b/selfdrive/ui/tuning.h index 38db23a95f73f6..cd9ef8faa70ea3 100644 --- a/selfdrive/ui/tuning.h +++ b/selfdrive/ui/tuning.h @@ -91,7 +91,7 @@ char properties[50][MAX_NUM_PARAMS]; // List of property names int current_property = -1; // Which property value to adjust when clicking the increase/decrease buttons ui_element *property_buttons[MAX_NUM_PARAMS]; // Store the buttons that can be selected double step = 0.000001; // Steps to adjust on each click -float delta_step = 0.001; // Change step by this amount +float delta_step = 0.000001; // Change step by this amount int step_toggle = 0; // Change to preset toggle step int param_index = 0; // Index to track which param label we're working with