-
Notifications
You must be signed in to change notification settings - Fork 68
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
Unable to use the gripper when running Moveit2 to control a simulated lite6 robotic arm #43
Comments
@GBW48 |
This is disappointing and quite unexpected! When I purchased my lit6 robotic arm I was told that there would be full support for the arm and gripper under ROS2, Moveit2 and Gazebo2. Further, the documentation seemed to indicate that there was support because of the "add_gripper:=true" parameter in sections 5.6 (xarm_moveit_config) and 5.7 (xarm_planner) in the xarm documenation (https://github.com/xArm-Developer/xarm_ros2/tree/humble). Now, unfortunately, I understand that because of the "structure of the Lite Gripper" control of the gripper cannot be simulated." Given this I have some questions:
Again, thanks in advance for any help you can provide. |
Hi @GBW48, here are the responses for your questions:
|
@GBW48
|
I appreciate that you responded so quickly to my problem. I tried your suggested commands with my lite6. Unfortunately, they did not work. Both commands seemed to execute correctly, but the gripper fingers did not open or close on the real lite6. Working from a previous build that included a basic (and fully updated) version of Ubuntu 22.04, ROS2, MoveIt2, Gazebo2, and gazebo_ros_pkgs, I followed the installation instructions as detailed in https://github.com/xArm-Developer/xarm_ros2/tree/humble:
Here are the results when I ran the commands you provided: Command 1
Command 1 observed results
Command 1 results
Command 1 log
Command 2 (run in another terminal)
Command 2 observed results
Command 2 results
Command 2 log
Please review the attached files and let me know why I am still unable to open and close the gripper on my lite6 robot. Again, thanks in advance for any help you can provide. |
@GBW48 example (xarm_api/config/xarm_user_params.yaml):
|
I tried your suggested edits to the xarm_params.yaml file in the ~/dev_ws/src/xarm_ros2/xarm_api/config directory. Please refer to the modified yaml file in the attachments. Unfortunately, these changes did not work. Again, even after restarting Ubuntu, both commands seemed to execute correctly, but the gripper fingers did not open or close on the real lite6. Here are the results when I ran the commands you provided: Command 1
Command 1 observed results
Command 1 results
Command 1 log
Command 2 (run in another terminal)
Command 2 observed results
Command 2 results
Command 2 log
Please review the attached files and let me know why I am still unable to open and close the gripper on my lite6 robot. Again, thanks in advance for any help you can provide. |
@GBW48 |
I did not do anything but edit the yaml file. I assume that by "recompiled" you want me to rebuild my lite6 ROS/Moveit1 environment by going through the following steps?
Please let me know if you want me to perform these steps and anything else. With respect to your comment about the second command. Do you still want me to run the second command? Also, how do I check that the gripper services are running? Thanks for all your help! |
You can try recompiling and testing first. If the second command is still waiting, then query all services. The services are created by the first command and have nothing to do with whether the second command is executed. |
After following step 4.5 (https://github.com/xArm-Developer/xarm_ros2/tree/humble), and performing a colcon build, I can now control the lite6 gripper as follows:
In addition, when I run So at this point, when running MoveIt2, I can control the operation of the real gripper. The only remaining problem is that the gripper fingers in Moveit do not open and close in response to ROS2 service commands. In this case, the gripper fingers work on the real robot, but do not work on the gripper displayed by Moveit. Again, thanks for all your help! |
@GBW48 |
Hi,
I cannot use the gripper when running Moveit2 to control a simulated lite6 robotic arm.
When I run ros2 "launch xarm_moveit_config lite6_moveit_fake.launch.py add_gripper:=true" the following happens:
However, my problem is that I cannot control the lite6 gripper. Please note the following:
I believe my build of ROS2, Moveit2, Gazebo, Gazebo_ros_packages with the necessary uFactory xarm_ros2 files is complete and functional. When I run "ros2 launch xarm_moveit_config xarm6_moveit_fake.launch.py add_gripper:=true":
I am running Ubuntu 22.04 and have carefully followed the installation instructions as detailed in https://github.com/xArm-Developer/xarm_ros2/tree/humble:
Can you please explain why I am unable to control the gripper when running Moveit2 to control a simulated lite6 robotic arm? Please provide the necessary steps to enable support for the lite6 gripper when running Moveit2 and Gazebo2.
Thanks in advance for any help you can provide
The text was updated successfully, but these errors were encountered: