-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gen3 Lite gripper control issue #230
Comments
Hi @PrwTsrt , Cheers |
Hello @PrwTsrt , |
Hello @rahulpatel, Thank you for your prompt response and for addressing the issue. I integrated the moveit2 package from pull request #231, and everything is working perfectly now. I appreciate your support and the quick resolution. If I encounter any further issues or have additional questions, I'll be sure to reach out. Thanks again! |
Hi @rahulpatel, After rebuilding my workspace and cloning the Git repository, I discovered that I am unable to control the arm without the gripper. Is it possible to separate the control of the arm and the gripper using MoveIt? |
Hello @PrwTsrt , Using the setup assistant, you can customize the moveit package that i have created for the Gen3 Lite to your liking. For instance, you can put the gripper's joint under a separate control group to plan and execute its motion separately from the arm. Just a quick note, my name tag is @aalmrad . I'm here to help with any other questions or solutions you might need. |
Hello @aalmrad, I apologize for the misunderstanding earlier. I attempted to separate the gripper into its own control group. However, when I set the controller type to FollowJointTrajectory, I encountered an error
I also changed the controller type to GripperCommand, which allowed me to control the arm without issues. Unfortunately, when I try to execute the gripper plan, it consistently fails. .srdf file <group name="arm">
<joint name="base_joint"/>
<joint name="joint_1"/>
<joint name="joint_2"/>
<joint name="joint_3"/>
<joint name="joint_4"/>
<joint name="joint_5"/>
<joint name="joint_6"/>
</group>
<group name="hand">
<joint name="right_finger_tip_joint"/>
<joint name="right_finger_bottom_joint"/>
<joint name="left_finger_tip_joint"/>
<joint name="left_finger_bottom_joint"/>
<joint name="gripper_base_joint"/>
</group>
<!--END EFFECTOR: Purpose: Represent information about an end effector.-->
<end_effector name="hand" parent_link="end_effector_link" group="hand"/>
<!--PASSIVE JOINT: Purpose: this element is used to mark joints that are not actuated-->
<passive_joint name="left_finger_bottom_joint"/>
<passive_joint name="left_finger_tip_joint"/>
<passive_joint name="right_finger_tip_joint"/> ros2_controllers.yaml controller_manager:
ros__parameters:
update_rate: 1000 # Hz
arm_controller:
type: joint_trajectory_controller/JointTrajectoryController
hand_controller:
type: joint_trajectory_controller/JointTrajectoryController
joint_state_broadcaster:
type: joint_state_broadcaster/JointStateBroadcaster
arm_controller:
ros__parameters:
joints:
- joint_1
- joint_2
- joint_3
- joint_4
- joint_5
- joint_6
command_interfaces:
- position
state_interfaces:
- position
- velocity
hand_controller:
ros__parameters:
joint: right_finger_bottom_joint
command_interfaces:
- position
state_interfaces:
- position
- velocity moveit_controllers.yaml moveit_controller_manager: moveit_simple_controller_manager/MoveItSimpleControllerManager
moveit_simple_controller_manager:
controller_names:
- arm_controller
- hand_controller
arm_controller:
type: FollowJointTrajectory
action_ns: follow_joint_trajectory
default: true
joints:
- joint_1
- joint_2
- joint_3
- joint_4
- joint_5
- joint_6
action_ns: follow_joint_trajectory
default: true
hand_controller:
type: FollowJointTrajectory
action_ns: follow_joint_trajectory
default: true
joints:
- right_finger_bottom_joint
action_ns: follow_joint_trajectory
default: true |
Hello @PrwTsrt, Please refer to the recently merged pull request to solve this problem. Best, |
I can't control the gripper with MoveIt when I execute the gripper plan; it always fails. However, the arm operates without any issues.
These are my configs and launch file.
robot.launch.py
moveit_controllers.yaml
ros2_controllers.yaml
The text was updated successfully, but these errors were encountered: