Skip to content

Commit

Permalink
fix bug in clip function
Browse files Browse the repository at this point in the history
The VescDriver::CommandLimit::clip function now returns the original
value if it is not clipped.
  • Loading branch information
Dana Sorensen committed Aug 17, 2016
1 parent d7358d9 commit cd1241e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vesc_driver/src/vesc_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ double VescDriver::CommandLimit::clip(double value)
name.c_str(), value, *upper);
return *upper;
}
return value;
}


Expand Down

0 comments on commit cd1241e

Please sign in to comment.