-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add acceleration limits to DriveOnHeading and BackUp behaviors (#4810)
* Add acceleration constraints Signed-off-by: RBT22 <[email protected]> * Cleanup code Signed-off-by: RBT22 <[email protected]> * Format code Signed-off-by: RBT22 <[email protected]> * Add <limits> header to drive_on_heading.hpp Signed-off-by: RBT22 <[email protected]> * Remove vel pointer Signed-off-by: RBT22 <[email protected]> * Use the limits only if both of them is set Signed-off-by: RBT22 <[email protected]> * Fix onActionCompletion params Signed-off-by: RBT22 <[email protected]> * Add default acc params and change decel sign Signed-off-by: RBT22 <[email protected]> * Add minimum speed parameter Signed-off-by: RBT22 <[email protected]> * Update minimum speed parameter to 0.10 Signed-off-by: RBT22 <[email protected]> * Log warning when acceleration or deceleration limits are not set Signed-off-by: RBT22 <[email protected]> * Add param sign assert Signed-off-by: RBT22 <[email protected]> * Remove unnecessary param checking Signed-off-by: RBT22 <[email protected]> * Refactor acceleration limits to handle forward and backward movement separately Signed-off-by: RBT22 <[email protected]> * Fix sign checking condition Signed-off-by: RBT22 <[email protected]> * Replace throwing with silent sign correction Signed-off-by: RBT22 <[email protected]> --------- Signed-off-by: RBT22 <[email protected]> (cherry picked from commit 2ee3cef)
- Loading branch information
1 parent
9a5689e
commit 72ed627
Showing
2 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters