You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope this message finds you well. I am currently working with the robot system LBR MED14 and have encountered an issue related to path planning. When I issue a command for the robot's end effector to move approximately 1cm along the X-axis, I observe that the path planning is not optimized. Instead of making a slight movement, the robot tends to traverse a longer path before finally achieving the desired 1cm displacement.
I would appreciate it if you could provide some insights into this behavior and perhaps suggest any adjustments or optimizations that can be made to ensure a more precise and efficient movement of the end effector for small displacements.
Thank you for your time and assistance. I look forward to your guidance on resolving this matter.
Could you please give some details on how you executed this motion? Assuming you used moveit through rviz, you can try to select the cartesian path box, see below
Alternatively, you can find some very minimal code for executing a linear motion here: #133 (comment)
I hope this answers your question somewhat, please let me know. Maybe this specific 1cm displacement would require the robot to run through joint limits, so moveit finds another solution?
Thank you for reaching out and providing additional information on the motion execution. I used the code available at the following link to move the robot's end effector to the desired position: [Link to the provided code:move_robot.py in #133 ].
In response to your suggestion, I attempted to address the path planning issue by checking the cartesian path box in RViz while using MoveIt. However, even with this adjustment, the problem persists, and the robot continues to exhibit suboptimal path planning behavior.
If there are any specific parameters or configurations I should consider, or if there are alternative approaches to enhance path planning for small displacements, your guidance would be highly appreciated.
okay, got you. Seems moveit related. Maybe we'll have to do some digging there. I'll try to have a look. This repo really misses good moveits example, sorry about that
hi @kweonhj , here is an updated version, that computes inverse kinematics and sends a joint state next. This seems to work better. Let me know if this works for you :)
I've tested the updated version of the code, and I'm pleased to inform you that it works perfectly! The computation of inverse kinematics and subsequent sending of joint states seem to have resolved the path planning issues I encountered earlier. Thank you for your prompt attention to this matter and for providing the improved version of the code.
great! Happy to hear this worked. I do agree that this behavior is rather strange. Sometimes wonder whether there will be a replacement for Moveit at some point.
Activity
mhubii commentedon Jan 29, 2024
hi @kweonhj , and thank you for the feedback.
Could you please give some details on how you executed this motion? Assuming you used moveit through rviz, you can try to select the cartesian path box, see below
Alternatively, you can find some very minimal code for executing a linear motion here: #133 (comment)
There is also someone who turned this logic into a service: https://github.com/andreasHovaldt/pose_commander
I hope this answers your question somewhat, please let me know. Maybe this specific 1cm displacement would require the robot to run through joint limits, so moveit finds another solution?
kweonhj commentedon Jan 30, 2024
Thank you for reaching out and providing additional information on the motion execution. I used the code available at the following link to move the robot's end effector to the desired position: [Link to the provided code:move_robot.py in #133 ].
In response to your suggestion, I attempted to address the path planning issue by checking the cartesian path box in RViz while using MoveIt. However, even with this adjustment, the problem persists, and the robot continues to exhibit suboptimal path planning behavior.
If there are any specific parameters or configurations I should consider, or if there are alternative approaches to enhance path planning for small displacements, your guidance would be highly appreciated.
Thank you for your assistance.
mhubii commentedon Jan 30, 2024
okay, got you. Seems moveit related. Maybe we'll have to do some digging there. I'll try to have a look. This repo really misses good moveits example, sorry about that
mhubii commentedon Jan 30, 2024
could you give me a helping hand @kweonhj and send me your script, so I can test this in simulation. Thank you :)
kweonhj commentedon Feb 2, 2024
I appreciate your willingness to assist. Below is the script I used to execute the motion.
�Please let me know if there are any insights you can provide to optimize the robot's simple movement. Thank you!!
mhubii commentedon Feb 2, 2024
okay just had a look, can confirm this behavior. Will see what can be done
mhubii commentedon Feb 2, 2024
hi @kweonhj , here is an updated version, that computes inverse kinematics and sends a joint state next. This seems to work better. Let me know if this works for you :)
Launch
Run
In the code, there are a lot of futures. Takes some getting used to. Here a tutorial to calling actions: https://docs.ros.org/en/humble/Tutorials/Intermediate/Writing-an-Action-Server-Client/Py.html
For future reference: There seems to be a moveit python API, note: this library is not distributed in
humble, butrollingkweonhj commentedon Feb 6, 2024
I've tested the updated version of the code, and I'm pleased to inform you that it works perfectly! The computation of inverse kinematics and subsequent sending of joint states seem to have resolved the path planning issues I encountered earlier. Thank you for your prompt attention to this matter and for providing the improved version of the code.
mhubii commentedon Feb 6, 2024
great! Happy to hear this worked. I do agree that this behavior is rather strange. Sometimes wonder whether there will be a replacement for Moveit at some point.
There is curobo https://github.com/NVlabs/curobo, for which currently no good ros integration is available. This library also comes with the caveat that it requires proprietary software.