Open
Conversation
Contributor
IshanDutta11
commented
Mar 11, 2026
- Adds a 3DOF joint by joint controller
- Adds the ability to switch between 2DOF and 3DOF using the use_3dof launch argument
- Allows the user to deactivate the physical talon hardware without interfering with ros2 logic (uses mock hardware for talon joints specifically) using the deactivate_talon launch argument
…lacement for just those joints
2e770be to
1f59145
Compare
… the individuality and interchangeability of each subsection. This commit has a separate joint by joint controller for arm (composed of base_yaw, shoulder_pitch, and elbow_pitch), 3 wrist controllers (joint by joint for 3dof, 2dof, and an orientation controller for 3DOF), and gripper claw. If we ever decide to add more joints to arm, use a different kind of wrist control scheme, or have a different kind of end effector entirely, the components as well as the code can now be swapped in and out for it.
mdurrani808
approved these changes
Mar 17, 2026
Collaborator
mdurrani808
left a comment
There was a problem hiding this comment.
Didn't seem to break when I launched it but didn't do any testing past that.
| if (!std::isnan((*current_ref)->axes[0])) | ||
| { | ||
| // Wrist Pitch: U/D on Left Joystick AND O button | ||
| joint_velocities_[0] = -(*current_ref)->axes[1] * static_cast<float>((*current_ref)->buttons[1]) * max_velocities_[0]; |
Collaborator
There was a problem hiding this comment.
are these axes something we want to be configurable? i imagine we would.
| { | ||
| if (*(control_mode_.readFromRT()) == control_mode_type::SLOW) | ||
| { | ||
| joint_velocities_[i] /= 2; |
Collaborator
There was a problem hiding this comment.
make slow a configurable multiplier rather than hardcoded via parameters
Collaborator
There was a problem hiding this comment.
See note on other HWI
Collaborator
There was a problem hiding this comment.
See note on other HWI
…d, so it now functions with this arm setup (will require considerations of drive and always active controllers in yaml file). Also made a 2dof and 3dof trajectory controller config.
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.