Feature/arm code refactoring#33
Merged
bennowotny merged 18 commits intoarm-test-jsp-and-controllerfrom Mar 8, 2023
Merged
Conversation
…motor/encoder directions
…eed converters. Need equivalent for differential speed converters.
This was referenced Feb 23, 2023
Closed
Merged
Closed
* Added functionality to retrieve over current status, updated build settings * Added functionality to stop all joints when a motor is over current * Added implementation for action server to stop when an over current fault is detected * set mock arm launch to launch the mock roboclaw * Added functionality to stop the action server when a motor is over current for too long * Fixed code in compliance with PR * Address fix in Motor.cpp * Corresponding const-change in Motor.hpp * Const-correctness in ArmControlActionServer.cpp --------- Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com>
bennowotny
requested changes
Mar 8, 2023
Contributor
bennowotny
left a comment
There was a problem hiding this comment.
Tune PID to safer constants
bennowotny
approved these changes
Mar 8, 2023
bennowotny
added a commit
that referenced
this pull request
Mar 14, 2023
* Fixed some of the arm code to run the controller and the jsp at the same time. * Fixing controller logic, issue in differential joint marked * Adding documentation for new structure * Updates to the structure to be better formed and more dynamic with respect to inheritance * Starting to implement new design * Continuing implementation, doing simple parts first to remove big issues * Further implementation * Only Differential stuff and mains left * Up to mains complete * Removing old arm motor files, still in VC for reference * Fixed duplicating copies, need to resolve further * Fixed copying by allowing safer copying. Need to double check path planning * All fixed up. Added test script * Additional changes, some motion planning is possible, need to refine motor/encoder directions * Adding direction multipliers to formalize motor reversal in direct speed converters. Need equivalent for differential speed converters. * Updating constants * First autonomous actions on the arm * Adding legend * Adjusting parameters * Tuning joint limits * Re-homed default Y-position for arm * Feature/arm code refactoring (#33) * Starting to implement new design * Continuing implementation, doing simple parts first to remove big issues * Further implementation * Only Differential stuff and mains left * Up to mains complete * Removing old arm motor files, still in VC for reference * Fixed duplicating copies, need to resolve further * Fixed copying by allowing safer copying. Need to double check path planning * All fixed up. Added test script * Additional changes, some motion planning is possible, need to refine motor/encoder directions * Adding direction multipliers to formalize motor reversal in direct speed converters. Need equivalent for differential speed converters. * Updating constants * First autonomous actions on the arm * Adding legend * Adjusting parameters * Tuning joint limits * Feature/over current fault implementation (#31) * Added functionality to retrieve over current status, updated build settings * Added functionality to stop all joints when a motor is over current * Added implementation for action server to stop when an over current fault is detected * set mock arm launch to launch the mock roboclaw * Added functionality to stop the action server when a motor is over current for too long * Fixed code in compliance with PR * Address fix in Motor.cpp * Corresponding const-change in Motor.hpp * Const-correctness in ArmControlActionServer.cpp --------- Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com> * Removed I terms (need synchronization before we can do that) --------- Co-authored-by: Ben Nowotny <bennowotny65535@gmail.com> Co-authored-by: WR-BaseStation <wisconsinrobotics@cae.wisc.edu> Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com> * Re-added my deleted over current code --------- Co-authored-by: Ben Nowotny <bennowotny65535@gmail.com> Co-authored-by: WR-BaseStation <wisconsinrobotics@cae.wisc.edu> Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com>
bennowotny
added a commit
that referenced
this pull request
Mar 15, 2023
* Initial commit * fixin' things * Undid local testing changes * Undid local testing changes 2: electric boogaloo * more fixin' * Fixing PID constants * Using WROVER_HW to set encoder params * Updated moveit using new URDF * started fixing the launch files and packages for the new arm * Changed the names of the joints in the control layer * Generated new moveit package * Removing self-dependency * cleanup and fixes, works again * Separated action server and joint state publisher into separate applications for arm control system * Deleted old ArmControlSystem file * WIP on joint limits * Fixed date in header * Arm test jsp and controller (#34) * Fixed some of the arm code to run the controller and the jsp at the same time. * Fixing controller logic, issue in differential joint marked * Adding documentation for new structure * Updates to the structure to be better formed and more dynamic with respect to inheritance * Starting to implement new design * Continuing implementation, doing simple parts first to remove big issues * Further implementation * Only Differential stuff and mains left * Up to mains complete * Removing old arm motor files, still in VC for reference * Fixed duplicating copies, need to resolve further * Fixed copying by allowing safer copying. Need to double check path planning * All fixed up. Added test script * Additional changes, some motion planning is possible, need to refine motor/encoder directions * Adding direction multipliers to formalize motor reversal in direct speed converters. Need equivalent for differential speed converters. * Updating constants * First autonomous actions on the arm * Adding legend * Adjusting parameters * Tuning joint limits * Re-homed default Y-position for arm * Feature/arm code refactoring (#33) * Starting to implement new design * Continuing implementation, doing simple parts first to remove big issues * Further implementation * Only Differential stuff and mains left * Up to mains complete * Removing old arm motor files, still in VC for reference * Fixed duplicating copies, need to resolve further * Fixed copying by allowing safer copying. Need to double check path planning * All fixed up. Added test script * Additional changes, some motion planning is possible, need to refine motor/encoder directions * Adding direction multipliers to formalize motor reversal in direct speed converters. Need equivalent for differential speed converters. * Updating constants * First autonomous actions on the arm * Adding legend * Adjusting parameters * Tuning joint limits * Feature/over current fault implementation (#31) * Added functionality to retrieve over current status, updated build settings * Added functionality to stop all joints when a motor is over current * Added implementation for action server to stop when an over current fault is detected * set mock arm launch to launch the mock roboclaw * Added functionality to stop the action server when a motor is over current for too long * Fixed code in compliance with PR * Address fix in Motor.cpp * Corresponding const-change in Motor.hpp * Const-correctness in ArmControlActionServer.cpp --------- Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com> * Removed I terms (need synchronization before we can do that) --------- Co-authored-by: Ben Nowotny <bennowotny65535@gmail.com> Co-authored-by: WR-BaseStation <wisconsinrobotics@cae.wisc.edu> Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com> * Re-added my deleted over current code --------- Co-authored-by: Ben Nowotny <bennowotny65535@gmail.com> Co-authored-by: WR-BaseStation <wisconsinrobotics@cae.wisc.edu> Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com> * Updated rviz (#29) * Added launch files for testing the new arm visualization with the old arm controller * Added DisplayRobotState message for rviz * Put robot state publisher in correct place * Revising code * fix build issue * debug testing * Updated encoder params * Undo debugging changes * Removed random RobotStatePublisher * Fixed comment * created new wr_logic_joint_driver_arm package --------- Co-authored-by: WR-BaseStation <wisconsinrobotics@cae.wisc.edu> Co-authored-by: Arthur <arthur.wang200255@outlook.com> Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com> --------- Co-authored-by: Arthur <arthur.wang200255@outlook.com> Co-authored-by: Ben Nowotny <bennowotny65535@gmail.com> Co-authored-by: WRover <wisconsinrobotics@cae.wisc.edu> Co-authored-by: Ben Nowotny <44074469+bennowotny@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Do feature/over-current-fault-implementation -> feature/arm-code-refactoring PR first.