Skip to content

Commit

Permalink
fix skid ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan1522 committed Jul 26, 2024
1 parent 94caf3a commit 13da0e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public boolean isSkidding() {
boolean collisionDetected = isCollisionDetected();
boolean isStatorGood = getStatorCurrents();
// boolean
if (skidRatio > 10 || collisionDetected || isStatorGood) {
if (skidRatio > 1 || collisionDetected || isStatorGood) {
return true;
}
return false;
Expand Down

0 comments on commit 13da0e2

Please sign in to comment.