Skip to content

Commit

Permalink
setting initial PID params to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
VSangtani committed Jun 13, 2024
1 parent 6ed7ece commit df2cab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp32/lib/PidController/PidController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ double PidController::filtered_value = 0;
double PidController::rotation_correction = 0;

// Initialise PID parameters using known values
PidParams PidController::params(1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00);
PidParams PidController::params(0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00);
PidDirection PidController::direction(0, KeyDirection::STOP);

bool PidController::setup(IWifi &wifi, unsigned long timeout)
Expand Down

0 comments on commit df2cab0

Please sign in to comment.