Skip to content

Commit

Permalink
Found a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky14683 committed Feb 5, 2024
1 parent 9b53dcf commit 343af3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/VOSS/controller/ArcPIDController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ArcPIDController : public AbstractController {
double track_width;
double exit_error;
double min_error;
double can_reverse;
bool can_reverse;
double settle_time;
double prev_t;
double slew;
Expand Down
4 changes: 3 additions & 1 deletion include/VOSS/controller/PIDController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ class PIDController : public AbstractController {
double exit_error;
double angular_exit_error;
double min_error;
double can_reverse;
bool can_reverse;
double settle_time;

double close;
double close_2;
int counter;
int shake_count;
double prev_angle;
double prev_ang_speed;

double prev_lin_err, total_lin_err, prev_ang_err, total_ang_err;

Expand Down
1 change: 1 addition & 0 deletions src/VOSS/controller/ArcPIDController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ void ArcPIDController::reset() {
this->prev_lin_err = 0.0;
this->total_lin_err = 0.0;
this->prev_lin_speed = 0.0;
this->can_reverse = false;
}

} // namespace voss::controller

0 comments on commit 343af3a

Please sign in to comment.