You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case where the wrapped feedback is set to true, the code should output the command that provides the shortest distance between the two points, even if it crosses the wrap point. The library currently returns the absolute value of the command. The error, at least in the CPP version, is on lines 185 and 189 of PID.cpp. It currently is:
The error is also present in the C version, with nearly identical code on lines 156-161. I'll put together an updated version and make a pull request with the fix in the next couple of days.
The text was updated successfully, but these errors were encountered:
In the case where the wrapped feedback is set to true, the code should output the command that provides the shortest distance between the two points, even if it crosses the wrap point. The library currently returns the absolute value of the command. The error, at least in the CPP version, is on lines 185 and 189 of PID.cpp. It currently is:
It should be:
The error is also present in the C version, with nearly identical code on lines 156-161. I'll put together an updated version and make a pull request with the fix in the next couple of days.
The text was updated successfully, but these errors were encountered: